Forum Moderators: coopster

Message Too Old, No Replies

Cant Find useful removal of queries in PHP post

Lost Useful thread I thought I flagged

         

outrun

2:55 am on Jul 4, 2003 (gmt 0)

10+ Year Member



I cant find a post, I thought I flagged a useful post but when I wanted to use I looked under flagged threads and it wasnt flagged so I lost it, It was a really good step by step of how to get rid of php url queries by adding a line to the top of the PHP file, so if the links in your php file had this

[yourdomain.com...]

it would change it to this

[yourdomain.com...]

or something along those lines, then it showed how to change .htaccess to make the queries work using mod_rewrite. Thanks if anyone knows what im talking about.

regards,
Mark

bonanza

3:13 am on Jul 4, 2003 (gmt 0)



Is this the one? Seems to match your description:
[webmasterworld.com...]

(I searched for "explode path_info" if you want to check out the other post that matched.)

bonanza

3:15 am on Jul 4, 2003 (gmt 0)



By the way, having used both methods, I find the mod_rewrite technique much easier to manage (but much more difficult to get your head around).

outrun

3:50 am on Jul 4, 2003 (gmt 0)

10+ Year Member



I am so annoyed that I cant find the post, no its not the one, I have no difficulty in using mod_rewrite, its just I want it to change current urls in the php file to display without the queries, it changed all the urls in the php file on the fly if you know what i mean, say if you have 100 urls in a php file it changes them all to look dynamic, I am starting to think i was daydreaming.

regards,
Mark

bonanza

11:14 am on Jul 4, 2003 (gmt 0)



That post may not be "the one" but irock's message contains what you're looking for if I understand you correctly.

I think, though, that there's a problem with the example.

Entering the URL [domain.com...] will return:
xxxx
yyyy

I think should have read this:

Entering the URL [domain.com...]

Which is what you're trying to do, correct?

outrun

11:25 am on Jul 4, 2003 (gmt 0)

10+ Year Member



Thanks bonanza I should read things properly I can work with that.

regards,
Mark