Return to Snippet

Revision: 26581
at May 3, 2010 03:05 by ginoplusio


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

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

Initial Description


Initial Title
Redirect every url to a page as querystring with .htaccess

Initial Tags
htaccess

Initial Language
Other