Move Forum from sub folder to subdomain

Discussions about Apache mod Rewrite, .htaccess, Use, experiences ... URL Rewriting.

Moderator: Moderators

Move Forum from sub folder to subdomain

Postby MrGroove » Thu Mar 28, 2013 5:55 pm

I'm running my forum today at http://www.groovypost.com/forum/ and for specific security, performance and hosting reasons, I looking to move the site to http://forum.groovypost.com

I understand the SEO impacts this might cause and I'm OK with that at this point....

So with that in mind, any suggestions for what the .htaccess 301 redirects would look like while I make the leap and move the site?

Thanks!

-S
User avatar
MrGroove
PR0
PR0
 
Posts: 92
Joined: Fri Oct 17, 2008 6:12 pm
Location: groovyPost.com

Advertisement

Re: Move Forum from sub folder to subdomain

Postby MrGroove » Mon Apr 01, 2013 4:22 pm

Went ahead and used the following for the re-write rule after reading this thread - How to 301 redirect forum to subdomain

Code: Select all
RewriteRule ^forums/(.*) http://forums.example.com/$1 [QSA,R=301]


Everything seems to be working great.
User avatar
MrGroove
PR0
PR0
 
Posts: 92
Joined: Fri Oct 17, 2008 6:12 pm
Location: groovyPost.com


Return to Apache mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 8 guests