aurora
06-26-2006, 10:27 PM
HELP!!
Please tell me what am doing wrong.
pointing an add-on domain to the main site.
Ok so I thought this was fixed but tonight I had a surprise. The redirect took me to a site with a SIMILAR name.
What is up with that?
This is what I have in my - .htaccess in the add-on domain to point to my main domain. This site is being eliminated in August.
I am pasting it as is becasue it goes to ytown.com sometimes.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^ytownpc.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ytownpc.com$
RewriteRule ^(.*)$ http://mahoningvalley.info [R=301,L]
This is what I have in my - .htaccess in the main domain.
RewriteEngine on
rewritecond %{http_host} ^www\.mahoningvalley\.info [nc]
rewriterule ^(.*)$ http://mahoningvalley.info/$1 [r=301,nc]
RedirectMatch permanent ^/ytownpc/$ http://mahoningvalley.info
aurora
Please tell me what am doing wrong.
pointing an add-on domain to the main site.
Ok so I thought this was fixed but tonight I had a surprise. The redirect took me to a site with a SIMILAR name.
What is up with that?
This is what I have in my - .htaccess in the add-on domain to point to my main domain. This site is being eliminated in August.
I am pasting it as is becasue it goes to ytown.com sometimes.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^ytownpc.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ytownpc.com$
RewriteRule ^(.*)$ http://mahoningvalley.info [R=301,L]
This is what I have in my - .htaccess in the main domain.
RewriteEngine on
rewritecond %{http_host} ^www\.mahoningvalley\.info [nc]
rewriterule ^(.*)$ http://mahoningvalley.info/$1 [r=301,nc]
RedirectMatch permanent ^/ytownpc/$ http://mahoningvalley.info
aurora