A simple question I've searched and tried all sorts of rewrite rules... no success... can anyone kindly show me how to hide the url parameters
for example i got the following url
http://localhost/legalHQ/public/agent/index.php?id=myid&id2=myId2
but i only want to show the following in the address bar but still want to get those parameters without showing it to user.
http://localhost/legalHQ/public/agent/index.php
I've seen so many similar questions but I cant get that working
i even tried
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ $1.php [L,QSA]
no success and please dont ask any thing about rewrite rules no idea about them..
thanks
Sorry can't comment, not enough reputation, so adding this as an answer.
If sending the data as POST is not an option you can write an intermediate page say
that will store the GET parameters into the global session array and then just redirect to the
page where you can retrieve them from the session.