meta tags and forms authentication

  • Thread starter Thread starter psb
  • Start date Start date
P

psb

this may seem like a gimme... If all of my pages are locked behind
username/password -forms authentication, then search engines cannot index
my site, right? could a http handler be made to listen for robots?

-psb
 
Why don`t you include a robots.txt file in your webfolder ( just an
idea ) you could exclude this file from forms authentication

see this http://www.robotstxt.ca/ ( verry clear examples)


regards


Michel Posseth [MCP]
 
how could access to robots.txt file let robot have access to the rest of the
site? forms authentication will force everything back to login.aspx page
right?

Michel Posseth said:
Why don`t you include a robots.txt file in your webfolder ( just an
idea ) you could exclude this file from forms authentication

see this http://www.robotstxt.ca/ ( verry clear examples)


regards


Michel Posseth [MCP]

psb said:
this may seem like a gimme... If all of my pages are locked behind
username/password -forms authentication, then search engines cannot index
my site, right? could a http handler be made to listen for robots?

-psb
 
Hi,

You can set the access rights in web.config using a location tag:

<!-- SET UP AUTHORIZATION USING LOCATION TAG -->
<location path="Robot.txt">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

Regards
Warren

psb said:
how could access to robots.txt file let robot have access to the rest of the
site? forms authentication will force everything back to login.aspx page
right?

Michel Posseth said:
Why don`t you include a robots.txt file in your webfolder ( just an
idea ) you could exclude this file from forms authentication

see this http://www.robotstxt.ca/ ( verry clear examples)


regards


Michel Posseth [MCP]

psb said:
this may seem like a gimme... If all of my pages are locked behind
username/password -forms authentication, then search engines cannot index
my site, right? could a http handler be made to listen for robots?

-psb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top