
Originally Posted by
louis_gregre
Hi Christian,
I added the code in a new .htaccess within the www folder but the same error appears: when I go to mydomain.com it redirects to www.mydomain.com/www/?
I really don't know why this keeps happening?
Thanks in advance for your help.
Louis
If you delete the .htaccess file you just created and browse to domain.com what happens?
I assume you only have 1 .htaccess file? And are using the one I gave you? - This definitely works, I tried it myself.
You need to check to see if you have any other .htaccess files in the upper levels of the folder structures in the public webroot
What are you using to host your website? - A panel? (cPanel/Plesk/etc)
What is your domain name?
What is your website location on the server?
If you don't want to give the details on the forum, then PM them to me.
Christian