| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
treatmekindly
Joined: 14 Jul 2007 Posts: 15
|
Posted: Tue Jun 10, 2008 3:18 pm Post subject: Re: Moved the forum to another domain: URL rewrite disappeared! |
|
|
Thanks for replying, Dcz.
Yes, perhaps it's harder for the forum, but it's easier for my other web sites and my pocket. I just leave the two separate domains on two web hosts for now because of limited time (too busy with studies) and resources (money, web space, bandwidth, etc).
I added the code into my .htaccess at the root of my old domain treatwidevision.us at the old web host. So now the top of that .htaccess at the root of the old domain treatwidevision.us looks like this:
| Code: | # You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.treatwidevision\.us/forum [NC] [OR]
RewriteCond %{HTTP_HOST} ^treatwidevision\.us/forum [NC]
RewriteRule ^(.*) http://www.tvseriesmusic.com/forums/$1 [QSA,L,R=301] |
Question 1a:
Do I delete
# You could need to un-comment the following line
# Options +FollowSymlinks
at the top of that .htaccess file in the old host?
Question 1b:
Do I delete all of the code lines including and below
RewriteBase /
in my .htaccess at the old domain treatwidevision.us at the old web host? What to do with them?
Thanks.
| dcz wrote: | You're really choosing the hard way, so you really need to deal with one problem at a time, and I'm not sure it will be doable to keep your old domain accessible and to redirect it to the new one, unless you can at least redirect all the old forum/ dir.
| Code: | RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.treatwidevision\.us/forum [NC] [OR]
RewriteCond %{HTTP_HOST} ^treatwidevision\.us/forum [NC]
RewriteRule ^(.*) http://www.tvseriesmusic.com/forums/$1 [QSA,L,R=301] |
Could do it in the old web space. |
|
|
|
| Back to top |
|
 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |