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,