How to redirect a directory to it's subdomain?

Status
Not open for further replies.

crafted2

New Member
Messages
10
Reaction score
0
Points
1
I have forums software installed under mysite.domain.com/forums. The forums are accessed through forums.mysite.domain.com. Accessing the forums through the subdomain works fine, but when they are viewed through the main forums directory, 404 errors occur. I would like to have it so that when someone goes to mysite.domain.com/forums, they get redirected to forums.mysite.domain.com. I tried doing this through cPanel but got redirection loop errors.

Any ideas?
Thanks!
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi crafted2,

I've placed a line in your .htaccess file to redirect /forums to your forums' subdomain. Please let me know whether this is working as intended. :)

Thank you,
 
Status
Not open for further replies.
Top