Author Topic: Cleaning up PHP $_GET URLs  (Read 36042 times)

0 Members and 1 Guest are viewing this topic.

Miluette

  • Sr. Member
  • ****
  • Posts: 332
  • C:
    • View Profile
    • Miluette dot com
Re: Cleaning up PHP $_GET URLs
« Reply #15 on: May 19, 2009, 10:17:39 pm »
I hope you know I have no idea what you just said. :V

(Also, this part of my site isn't running on a real formal CMS - just CuteNews. The actual Wordpress install is in my archives, and if I were using WP to power my entire site(s) I wouldn't even be using CN.)

I'm getting a real "leave ugly URLs as is" vibe here. If I wanted to change it I'd have to get into how CN is written, and, well, I don't want to, lol.
And wasn't it you who told me,
"The sun would always chase the day"?

Miluette

  • Sr. Member
  • ****
  • Posts: 332
  • C:
    • View Profile
    • Miluette dot com
Re: Cleaning up PHP $_GET URLs
« Reply #16 on: May 27, 2009, 10:58:52 pm »
Ah! For the record, I found out there's a hack for this already. Didn't think there would be, but there you go.

By rights I shouldn't be using CuteNews at all, but it's just so dang convenient. I mean, you command so much control over it... (when you've nabbed a few people who can hack code)

Interestingly, however, as nice as those cleaned-up URLs are, I just realized that this hack causes all my CSS'd images and links to be horribly broken, since all the links are relative paths and the news listings are set to paths like /postpage/. Whoopsie.

I hadn't thought of that before. I wonder what I can do about that?

Well, there are too many things wrong with that hack that I hadn't considered, so until I can fix it myself I'm not using it lol...
« Last Edit: May 27, 2009, 11:55:24 pm by Senshuu »
And wasn't it you who told me,
"The sun would always chase the day"?

Databits

  • Global Moderator
  • *****
  • Posts: 1,607
  • Programming's not just a science, it's an art.
    • View Profile
Re: Cleaning up PHP $_GET URLs
« Reply #17 on: May 28, 2009, 03:41:53 am »
Sorry about that. I do this stuff for a living so writing CMS's and stuff is like second nature to me. I sometimes forget that when trying to explain it to other people who may not have the experience I've got.

A fatal flaw, I'm afraid, that many programmers share.
(\_/)    ~Relakuyae D'Selemae
(o.O)    
(")_(")  [Libre Office] [Chrome]