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...robots.txt file and DNN?robots.txt file and DNN?
Previous
 
Next
New Post
11/24/2007 8:27 PM
 

I have a few questions about using a robots.txt file in DNN.

1. If you put a robots.txt file containing "Disallow: /" into the root directory of your DNN installation (the highest-level portal), does that prevent spiders from accessing all child portals also?

2. How would you create/place a robots.txt file to operate only in the top-level portal (not in child portals)?

3. How would you create/place a robots.txt file to operate only in a particular child portal?

4. I notice this statement in all DNN pages: meta name="ROBOTS" content="INDEX, FOLLOW"
    Would a robots.txt file override that meta tag?

5. Anything else I should know about this subject?

 
New Post
3/2/2008 11:01 AM
 

I posted the original message a while ago and didn't get any replies, so I'll try again. The issue is how to keep search engines from indexing DNN portals that you want to remain as private as possible. I'd like to keep search engine spiders away from even the site title or home page title. I assume it's with some use of a robots.txt file, but would like to hear form those who know about this.

Also, is it true that search engine spiders can't access content that's available only to certain use roles?

 
New Post
3/2/2008 12:09 PM
 

Considering that DNN is desgned to promote your site with SEO by default; and and the fact that any content can be hidden or made available to any user role, nearly any configuration is possible from site to page to module with standard DNN security.

For your private portal, you have to have at least one page open to the public to allow users to login. If you hide your home page using security, DNN automaticaly takes to you a default login page.  To hide portal menu and content you will need to setup at least one page for public access. Add a new page with name Public Login, uncheck include in menu and check all users to view page. Then add an account login module. Assuming all your modules have inherit view permissions from page, set permissions for every page (except Public Login) by checking registered users to view page and copy to children (descendants). Now use site settings, and change the login page to Public Login.

That's it.

To clean up left over artifacts, a blank page title displays the url so change it to   (note explorer titlebar), then add a space to the page description and keywords. The best way to change the footer is to use a copy of the portal skin, rename it and remove the appropriate tokens. (Warning: you can break your site by playing with a skin so make sure you understand what you are doing.) Use site settings to set the portal skin to the limited edition.

This is the best technique to hide a single portal from search engines yet allow SEO for other portals on the same DNN installation.


Dwayne J. Baldwin
 
New Post
3/2/2008 1:24 PM
 

Thanks so much for the very complete explanation!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...robots.txt file and DNN?robots.txt file and DNN?


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