Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...robots.txt for multiple portalsrobots.txt for multiple portals
Previous
 
Next
New Post
1/21/2013 5:28 PM
 

Hello,

I have multiple parent portals with different domains.

My strategy is to add only Allow statements into the robots.txt so that only useful URLs will be crawled. But due to the fact that the robots.txt has relative URLs, it might by confusing for Google Bot. Here is an example:

  • Portal0 - www.domain0.com            (here I have this url: www.domain0.com/Product000.aspx)
  • Portal1 - www.domain1.com (here I have this url: www.domain1.com/Product111.aspx)

My robots txt will look like this:

Allow: /Product000.aspx
Allow: /Product111.aspx

The problem is that the second line will cause an error  when the Google bot crawls the Portal0 as that line belongs to the Portal1 and does not exist under www.domain0.com.

Is this a problem at all? Can I do like this or do you have any experiences on similar situations?

Thanks


 
New Post
1/21/2013 6:10 PM
 

One suggestion from wikipedia:

Sitemap

Some crawlers support a Sitemap directive, allowing multiple Sitemaps in the same robots.txt in the form:[17]

Sitemap: http://www.gstatic.com/s2/sitemaps/profiles-sitemap.xml 
Sitemap: http://www.google.com/hostednews/sitemap_index.xml

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...robots.txt for multiple portalsrobots.txt for multiple portals


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out