Posted By

ginoplusio on 05/03/10


Tagged

modrewrite htaccess


Versions (?)

Redirect every url to a page as querystring with .htaccess


 / Published in: Other
 

URL: http://www.barattalo.it/2010/05/02/10-htaccess-usefull-tips/

  1. # every call to a page that is not an existing file
  2. # is redirected to another file as querystring
  3. Options +FollowSymlinks
  4. RewriteEngine on
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteRule ^(.*)$ /proxy.php?from=$1 [QSA]

Report this snippet  

You need to login to post a comment.