.HTACCESS redirect
Posted: Fri Oct 22, 2010 10:29 am
Hi there,
I have a code in my .htacces file to redirect all pages of my website to my homepage for a short amount of time. The code is as follow:
When I add this piece of code, my website wont load at all.
Is there anything wrong with my syntax or any php things I should setup?
Thanks guys,
I have a code in my .htacces file to redirect all pages of my website to my homepage for a short amount of time. The code is as follow:
Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^(.+)\.php$ / [R=302,L]Is there anything wrong with my syntax or any php things I should setup?
Thanks guys,