David
David

Reputation: 2007

Hide URL in my website

Need to hide this URL

http://localhost:8080/Gamesite/details.php?id=1

To this URL

http://localhost:8080/Gamesite/details.php

already have a 404 redirect in .htaccess that looks like this:

ErrorDocument 404 http://localhost:8080/Gamesite/core/404.html

but it will only redirect if I change anything that is before the (?) in the url

I GOT IT TO WORK

Upvotes: 1

Views: 92

Answers (1)

Manikanta Reddy
Manikanta Reddy

Reputation: 857

To hide the parameters We basically use POST method to hide, It ll send the data to your servlet using requestHeader, If you are using form to submit the data use attribute method = "POST"

Upvotes: 1

Related Questions