I need all links on my domain to redirect to my maintenance page at http://jagf.net/maintenance/maintenance.html (obviosly, that page shouldn't redirect to itself).
I guess this is done in .htaccess , how?
Edit:
ok now I tried this:
How do I make it ignore images and .css?Code:RewriteEngine On # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/maintenance/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /maintenance/maintenance.html [L]


LinkBack URL
About LinkBacks



Reply With Quote

