NEW location, sub domain

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

Moderator: Moderators


NEW location, sub domain

Postby Katie » Fri Mar 21, 2008 6:24 pm

i just setup my boards http://eastcoasters.setbb.com/ and was wondering if it was possible to change my other forum to this location so i'm not dealing with 2 forums www.setbb.com/eastcoasters
Katie
 
Posts: 1
Joined: Fri Mar 21, 2008 6:13 pm

Advertisement

Postby HB » Sat Mar 22, 2008 1:48 am

The thread http://www.phpbb-seo.com/boards/seo-tec ... -vt30.html covers close the same problem (mapping blahblahblah.com to -www.blahblahblah.com):

Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} !^eastcoasters\.setbb\.com$ [NC]
RewriteRule ^(.*) http://eastcoasters.setbb.com/$1 [QSA,L,R=301]

(This is untested, please try it locally before uploading to a live board.)
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1019
Joined: Mon Oct 16, 2006 2:25 am


Return to Apache mod Rewrite




Who is online

Users browsing this forum: No registered users and 4 guests