I have a website abc.com were i have kept all my files and folders. Now I have created a folder called "newsite" and moved all the files over to there. Now i want if my user type abc.com in browser it will automatically redirect them to abc.com/newsite
I am using a linux server with godaddy hosting. I know this can be done through htaccess file. Can anyone help me on this?
I am using this in htaccess file but this does not work
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.abc.com$
RewriteRule (.*)$ /newsite$1 [R,L]
</IfModule>
Thank you so much in advance