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

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...multi-portals, multi - robots.txt?multi-portals, multi - robots.txt?


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.