robots

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 09, 2008
  • Posts: 273
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post June 25th, 2009, 10:00 am

I have just upload my site to the web, yay, im so proud, I know ive not done much but never mind!
Anyhow ive just thorght that there a few pages that realy dont need to be indexed now i know about the
Code: [ Download ] [ Select ]
<meta name="robots" content="noindex" />
but my site is run through php to get the pagers so and the robots code has to be in the head of the site so how do I get the code to show when I want it to and not when I don't Its probley very simple and im probley missing something fundamental here but just cope with me, thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 25th, 2009, 10:00 am

Post June 26th, 2009, 6:52 am

Make a file and name it as http://www.yoursite.com/robots.txt and upload it on the server. In the Robots.txt file write the pages which you don't want search engines to crawl. Use these text-

User-agent: *
Disallow: /pagename
Disallow: /pagename
  • ramone_johnny
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 18, 2004
  • Posts: 106
  • Loc: Brisbane, Australia
  • Status: Offline

Post June 29th, 2009, 12:24 am

Yep, what he said. Setting robot no follows within individual pages makes for nothing more than an un-manageable mess.
  • thomas_09
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 10, 2009
  • Posts: 19
  • Status: Offline

Post July 29th, 2009, 11:38 am

dhanjit wrote:
User-agent: *
Disallow: /pagename
Disallow: /pagename


yep... This is the best way to prevent specific pages to get crawled by search engiens.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Mastermind
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2491
  • Loc: Nashville, TN
  • Status: Offline

Post July 29th, 2009, 11:59 am

Are you two the yes-men or what? Solution! Concur! Yep!
I'd love to change the world, but they won't give me the source code.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 18 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.