thenrich
asked on
Default page from google
I'm designing an ASP.net site and notice when I google it all the pages of the site are found. How can I redirect the link to point to the default page no matter what link is clicked from a search engine?
Thank you
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
[celazkon] has a good point. If you're just interested in forcing everyone to see your home page first, you could do that in code.
Robots.txt will work just fine with ASP/ASP.Net. Allow your home page. Disallow everything else.
http://www.robotstxt.org/robotstxt.html
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449
Robots.txt will work just fine with ASP/ASP.Net. Allow your home page. Disallow everything else.
http://www.robotstxt.org/robotstxt.html
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449
ASKER
Actaully I kinda like both ideas. I just created the robots.txt file but I won't see the results of that until next time there is a crawl. If there is some example code to valaidate seesion state and redirect that would be great.
Sorry, I didn't see the follow-up post.
You should be able to see if the Session persists or not using the sample from this page:
http://devnet.asna.com/KB/Pages/397.aspx
You should be able to see if the Session persists or not using the sample from this page:
http://devnet.asna.com/KB/Pages/397.aspx
ASKER