Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   Perfect Money   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 12-22-2005, 06:11 PM   #1 (permalink)
Inactive
 
theChronic's Avatar
 
Join Date: 12-19-05
Location: Berkeley, California
Posts: 515
iTrader: 0 / 0%
Latest Blog:
None

theChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nice
Blocking spiders from indexing certain page using .htaccess

Hello,
I want to block google from indexing one of my files. I can't remember what the exact code is and if I put it in robots.txt or .htaccess

I know its something like

Disallow: googlebot, slurp, etc

But dont remember exactly

Thanks
John
theChronic is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 12-22-2005, 06:20 PM   #2 (permalink)
DOS
Senior Member
 
DOS's Avatar
 
Join Date: 08-03-04
Posts: 1,077
iTrader: 0 / 0%
Latest Blog:
None

DOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to beholdDOS is a splendid one to behold
You want the robots.txt file for that.

http://www.searchengineworld.com/rob...s_tutorial.htm
DOS is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-22-2005, 08:20 PM   #3 (permalink)
v7n Mentor
 
noob_0001's Avatar
 
Join Date: 02-17-05
Posts: 904
iTrader: 0 / 0%
Latest Blog:
None

noob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to behold
For just one file

<META NAME="ROBOTS" CONTENT="NONE">

Place the above in the header of the file.

Or in your .htaccess file you can create a condiction and rule.
go to apache.org for all he information about mod rewrite for your version.

Or in your robots.txt file

User-agent: *
Disallow: file name here
noob_0001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-22-2005, 11:09 PM   #4 (permalink)
Contributing Member
 
minstrel's Avatar
 
Join Date: 06-28-04
Location: Ottawa, Canada
Posts: 459
iTrader: 0 / 0%
minstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to beholdminstrel is a splendid one to behold
The robots.txt solution is best - one of mine (phpBB forum) looks like this:

Code:
User-agent: * Disallow: /xenu.htm Disallow: /cgi-bin/ Disallow: /images/ Disallow: /media/ Disallow: /misc/ Disallow: /stats/ Disallow: /phpbb/admin/ Disallow: /phpbb/db/ Disallow: /phpbb/images/ Disallow: /phpbb/includes/ Disallow: /phpbb/language/ Disallow: /phpbb/profile.php Disallow: /phpbb/groupcp.php Disallow: /phpbb/memberlist.php Disallow: /phpbb/login.php Disallow: /phpbb/modcp.php Disallow: /phpbb/posting.php Disallow: /phpbb/privmsg.php Disallow: /phpbb/search.php
minstrel is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess blocking ONE file and Redirecting it? homebrewpcgaming Coding Forum 2 07-11-2008 05:53 PM
Sitemap & Goolgle page indexing kushty SEO Forum 2 08-08-2007 02:49 AM
Indexing short URL page and long url page theChronic SEO Forum 3 12-25-2005 10:30 PM
Will adding a .htaccess file stop Google from indexing? seonewbee Google Forum 5 08-21-2004 07:33 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:22 PM.
© Copyright 2008 V7 Inc