Jump to content

Addon Domain Question regarding SEO....


jos.

Recommended Posts

Didn,t want to put this with conversations about cats and dogs in the Misc... section...  :D

 

I have a number of addon domains and need to know If I place a robots.txt file in my main directory to not associate my site with the addon sites, will that prevent a spider from visiting those sites because the spider would be heading to the main dir of that IP first? Or does it know to hit the IP but start at the sub dir?

 

 

Thanks for any help in advance.

 

Jos.

Link to comment
https://forums.phpfreaks.com/topic/81694-addon-domain-question-regarding-seo/
Share on other sites

They are defined as separate sites but I googled my domain name the other day and got some results containing my subdirectories and their content. So, simple fix right? Robots.txt in my main directory and block those. But my concerns are as stated above.

 

Thanks for your help.

 

Jos.

Because that is how my host employs addon domains. the hierarchy is as such:

 

public_html/
---public_html/addonDirectory
---public_html/addonDirectory/subDirectories

 

so if you type:

 

http://www.mysite.com/

 

you land on public_html/index.php    ('A')

 

and if you were to type:

 

http://www.myaddonDomainName.com/

 

you land on public_html/addonDomainName/index.php    ('B')

 

so I want to know if a spider is deployed to http://www.myaddonDomainName.com if he will start at  ('A') or ('B')

 

Because they both have the same IP address.

 

Thank you for your patience!

 

Jos.

  • 11 months later...

Yes the Spider will crawl all the links related to the directories and sub directories. What you want is that the spider must not follow the sub sites from you main website. The simple solution for this is robots.txt file which you have already implemented. I think robots.txt file can help you in resolving this issue very easily

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.