SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2007
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to not allow search engines index your pages

    If i was developing a test site live but i didn't want google or any other search to index those pages, how do i do that?

    Thanks everyone
    Jaysone

  2. #2
    SitePoint Addict fattyjules's Avatar
    Join Date
    Dec 2005
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A robots.txt file will do what you want, at least for search engines that play nicely.

    http://en.wikipedia.org/wiki/Robots_exclusion_standard

    You would have something like

    Code:
    User-agent: *
    Disallow: /test-site/
    in the file.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •