Question : redirect all to /

hi all

I need a quick and easy why to redirect all traffic to my site to the index page (ie /). how can a best do this with the  .htaccess.

Ww

Answer : redirect all to /

Yes:

RewriteEngine on
RewriteCond %{REQUEST_URI}  ! ^/index.php$   [NC]
RewriteCond %{REQUEST_URI}  \.(html?|php)$  [NC]
RewriteRule .* /index.php
Random Solutions  
 
programming4us programming4us