Reputation: 95
So, say that my URL would be this:
http://example.com/index.php?action=about
How would I get this shown like this:
http://example.com/index.php
The GET value must be kept, is there a way of doing this? I have tried multiple ways but can't really figure it out.
Upvotes: 1
Views: 91
Reputation: 943578
No. You can't pass data in the URL without having the data in the URL.
You could hide the data in a POST body, a cookie, etc … but you shouldn't. Linking is the lifeblood of the WWW and you need proper URLs to your pages that can be linked to.
Upvotes: 1