Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...