Jump to content

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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

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.