Monthly Archives: December 2015

ReWrite all pages apart from /admin/ ones

Using Apache’s .htaccess you can rewrite many things… SetEnv HTTP_MOD_REWRITE On RewriteEngine On RewriteBase ‘/’ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]

Posted in Uncategorized