After hours of search on Google, I found your forum, and I hope you will be able to help me!
I am getting a headache over this situation:
Here are my domains and what I'd like to do wth them:
- website.com - redirect to blog.website.com
- www.website.com - redirect to blog.website.com
- blog.website.com
- movies.website.com
All subdomains have been created properly, I can reach the domain, and here is the situation so far:
My root folder (reachable with www.website.com and website.com) is composed of two things :
- a .htaccess file,
- The folder /movies/ containing all files for movies.website.com
All files for blog.website.com are on another server, and I started by adding a simple line to my .htaccess file:
- Code: Select all
redirect 301 / http://blog.website.com/
Then the problem comes: even if I add another line such as
- Code: Select all
redirect 301 /movies http://movies.website.com/
I am not able to reach movies.website.com
Whatever I do, I am redirected to blog.website.com. If I delete the .htaccess, everything runs properly and I have access to all domains.
So how can I do to have this redirection working properly?
Thanks for your help!