Jump to content

hiding variables in url??


mattm1712

Recommended Posts

That's not possible, if you use GET variables they will be displayed in the URL, you could make it neater using mod_rewrite:

 

 

.htaccess

<IfModule mod_rewrite.c>
   Options +FollowSymLinks
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^(.+[^/])$ index.php?page=$1 [NC,L,QSA]
</IfModule>

 

 

Untested.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.