rksprst Posted October 5, 2006 Posted October 5, 2006 Hi, I have several domains (B-G) parked on domain A. Domain A has SSL and so if any of the B-G domains land on A and use the SSL, the user will get a warning that the SSL is not for the website that is requesting it. Is there something I can put in my .htaccess to fix this? Assuming I want to keep domains B-G parked on A. Maybe something that will change the www.***.com to domain A (while keeping the rest of the link the same)? Also, if I do this... what effect will this have on SEO? As in search engines some of the results are coming up on my parked domains (B-G) instead of domain A (which is the one that has the SSL.. and the one where everything is hosted). Thanks Guys! Quote
TCH-Andy Posted October 5, 2006 Posted October 5, 2006 You should be able to add commands to the .htaccess such as; >RewriteEngine On RewriteCond %{HTTP_HOST} !^www.mytchdomain.com$ [NC] RewriteRule ^(.*)$ http://www.mytchdomain.com/$1 [R,L] Which basically says that if it is not using mytchdomain.comthen change it to use mytchdomain.com with the rest of the URL intact. This would start to affect the SEO, yes, but it should force it all to use the single domain name. Quote
rksprst Posted October 5, 2006 Author Posted October 5, 2006 You should be able to add commands to the .htaccess such as; >RewriteEngine On RewriteCond %{HTTP_HOST} !^www.mytchdomain.com$ [NC] RewriteRule ^(.*)$ http://www.mytchdomain.com/$1 [R,L] Which basically says that if it is not using mytchdomain.comthen change it to use mytchdomain.com with the rest of the URL intact. This would start to affect the SEO, yes, but it should force it all to use the single domain name. Hm, I did that... but when I go to one of my parked domains I get an internal server error. Any ideas why? I can post my .htaccess if needed. Quote
TCH-Andy Posted October 5, 2006 Posted October 5, 2006 It could be conflicting with something else you have, so yes please post the complete .htaccess (or PM it to me if you prefer). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.