Jump to content

robots.txt question


vozzek

Recommended Posts

Hi all,

 

Okay, I have a domain, let's call it domain1.com with another Add-on domain linked to a folder within the main url (let's call it domain2.com).

 

If I look at domain2 in google's webmaster tools, everything looks fine.

If I look at domain1 in google's websmaster tools, it sees the entire domain2 folder as part of domain1.  Therefore, it sees all kinds of "broken" links.

 

My question is this:  if I disallow that folder in the robots.txt file for domain1, will it disable google (and other web spiders) from crawling domain2 entirely? 

 

For example, if my robots.txt file looks like this:

 

User-agent: *

Disallow: /style.css

Disallow: /domain2.com

 

will it create problems with google being able to see my add-on domain?

 

Thanks in advance for the help.

 

Link to comment
Share on other sites

Hi all,

 

Okay, I have a domain, let's call it domain1.com with another Add-on domain linked to a folder within the main url (let's call it domain2.com).

 

If I look at domain2 in google's webmaster tools, everything looks fine.

If I look at domain1 in google's websmaster tools, it sees the entire domain2 folder as part of domain1.  Therefore, it sees all kinds of "broken" links.

 

My question is this:  if I disallow that folder in the robots.txt file for domain1, will it disable google (and other web spiders) from crawling domain2 entirely? 

 

For example, if my robots.txt file looks like this:

 

User-agent: *

Disallow: /style.css

Disallow: /domain2.com

 

will it create problems with google being able to see my add-on domain?

 

Thanks in advance for the help.

 

Yes, if you disable domail2.com in robots.txt as you mentioned above, no crawler will crawl domain2.com while visiting domain1.com

Link to comment
Share on other sites

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.