I have looked all over the Internet trying to find an answer to this question but none of them seem to work or be what I want. What I want is to make my website understand http://example.com/asd
means http://example.com/?q=asd
, while not changing the link. So the user will see http://example.com/asd
, but it will be a GET
with ?q=asd
in the background.
Basically, I want the user to be redirected to http://example.com/?q=asd
, without redirecting their address bar to that.
For example, http://example.com/asd
-> means -> http://example.com/?q=asd
, but the address bar looks like http://example.com/asd
.
Please comment if you have any questions.