Move arbitrary path to a specific T3 page

Hello All,

Today i have face one problem to redirect site when is goes to root page.
so for that i do changes into the .htaccess file

put this code into this to check after the '/' nothing there, then redirect to the 'index.html' page

I think this will help to anyone.

# Move arbitrary path to a specific T3 page 
# E.g., /mytest to /index.php?johnson 
RewriteRule ^johnson/?$ johnson.html [L]
          or
RewriteRule ^/?$    index.html [L]


Thanks,
Pradeep

Leave a Reply