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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...multi-portals, multi - robots.txt?multi-portals, multi - robots.txt?
Previous
 
Next
New Post
9/26/2011 4:08 PM
 
I have a portal for our corporate website, works great.  Recently I created a new parent level portal to display our business continuity information.  The corporate website should be indexed by search engines, but the business continuity site should not.

I tried placing appropriate robots.txt in portals\0\ and portals\1\ folders but it seems that the search engines only see the robots.txt in the httpdocs\ folder.  If true, then it seems impossible to have a two different robots.txt for two portals on the same installation.

Yes, I searched around a bit.  I found one vague answer on dnncreative that basically said it is possible, and I found another answer, a blog post, where the author said it is not possible.  I asked my host provider, who pointed me to the dnncreative thread, which I had already found, thanks.  I searched this site and failed to find the answer.

Does anyone know where I can find the difinitive answer on this?
 
New Post
9/26/2011 7:42 PM
 
i dont believe this is possible (at least it wasnt last time I looked) - i recall seeing an option to have a handler that redirected google to a particular page based on the request but ive never had a chance to dive in and see if that worked.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/14/2011 10:12 AM
 
cathal is correct, you can only have a single robots.txt file and it has to be in the root of the site.
 
New Post
2/2/2012 3:29 PM
 
Related to this issue, does anyone know if there is any way to handle this?

I have a site with two portals, one portal is now in production while the other is still in test. I don't want the portal in test to be indexed, but I would really like the one in production to be included.
 
New Post
2/2/2012 3:52 PM
 

Actually in response to the earlier question, there is a way to do portal specific sitemaps - you use the sitemap provider -this does require you to submit a URL to the relevant search engines (google/yahoo/bing) but this URL detects the request and provides a sitemap specific for that portal - see more about this at http://www.dotnetnuke.com/Resources/W... and how to configure it via http://www.dotnetnuke.com/Resources/V...

As to Erik's question, there is no way with the default sitemap provider to disable at a portal level - though you can of course make your own and apply your own business logic - whilst this blog is more about a module specific sitemap than a portal specific one it offers some good background - http://www.dotnetnuke.com/Resources/B... .

Please note, the easiest current solution for your issue is to simply remove the "all users" view permissions from your page - the sitemap will still generate but have no entries.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...multi-portals, multi - robots.txt?multi-portals, multi - robots.txt?


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