Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 21st, 2007, 03:36 PM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to hide admin pages from search?

Hi.
I have created some interfaces for administration. But i don't want these pages to be apeared in search results.
Please help me.

 
Old April 21st, 2007, 09:18 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What is searching them? It's hard for us to provide help if we don't have any idea of the specifics of your question.

-Peter
 
Old April 22nd, 2007, 07:47 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

As peter pointed out, what is searching them? An interal search feature or an outside search engine?? In the event of the latter use a robots.txt file to prevent those pages from being crawled.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old April 23rd, 2007, 01:01 PM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi dudes,
I want to hide my administration pages from search engines like google.
I don't want my admin pages to be apeared in search result.
Can you help me?

 
Old April 23rd, 2007, 01:27 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Can you answer the question we've asked above?

Have you tried what dparsons suggested?

-Peter
 
Old April 23rd, 2007, 03:02 PM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How can i use the file robots.txt? May you descibe more?

 
Old April 23rd, 2007, 03:27 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

http://www.google.com/search?q=robots.txt

First hit: http://www.robotstxt.org/

-Peter
 
Old April 23rd, 2007, 03:37 PM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thnaks Peter, but i still don't understand how i should use it. See, i have some aspx pages in a folder that is special for admin visit. when i write in google http://www.google.com/q=anything&sit...=mywebsite.com i can see my administration pages in the search result. Now what should i do?
Thanks for your attention Peter and dparsons.

 
Old April 23rd, 2007, 03:53 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Your pages may be in Googles cache, to prevent Google or any other website from storing your pages in its cache, use the no-cache tag in your files.

Generally I would just use this on the pages that you don't want google to cache, however, it will not hurt your rankings if you use no-cache on every page (but really, why would you?)

About the robots.txt file:
Read this:
http://www.outfront.net/tutorials_02...ech/robots.htm

and this:
http://www.pageresource.com/zine/robotstxt.htm

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old April 24th, 2007, 12:45 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Since the Robot file abd cache options are only recommendations for search engines, and they don't have to stick to them, you may also want to protect your Admin folders by some other means, like password protecting them.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Images from Master pages not displaying in Admin sstuber BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 11th, 2008 06:06 PM
how to hide the search pane with the keyboard crmpicco Dreamweaver (all versions) 0 March 23rd, 2006 09:09 AM
How do I search TEXT in web folders and pages aatayyab PHP How-To 7 January 15th, 2006 01:08 PM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM
Search Pages Ben Horne Javascript How-To 4 December 3rd, 2003 08:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.