1

For example, I want:

http://site.com/cool.php?page=woohoo

http://site.com/cool.php?page=yoyoyo

To show this in the browser:

http://site.com/woohoo/

http://site.com/yoyoyo/

How do I do this?

2
  • Google for htaccess tutorial can give you nice examples: corz.org/serv/tricks/htaccess2.php Commented Dec 27, 2011 at 9:39
  • I'm afraid it's not what supercoolville is asking. He is not asking for the "standard" basic URL rewriting, but for the reverse bahaviour, I think. Commented Dec 27, 2011 at 9:43

1 Answer 1

2

Check this answer: https://stackoverflow.com/a/8446690/995958

It gives a nice way to do exactly what you want to do.
Other answers are useful too if you have problems with the confirmed one.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.