So I want to sell an e-book and only have my home page show up in search engines...

Discussion in 'Affiliate Programs' started by howtocell, Jun 9, 2011.

  1. #1
    I don't want any of the back-end parts of my site, etc, to show up in search engines... only the important page, my sales page. The rest is password protected. How can I using Wordpress most effectively shoo search engines away from everything else except my static home page?
     
    howtocell, Jun 9, 2011 IP
  2. hello2

    hello2 Greenhorn

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Use something like this in your robots.txt file:


    User-agent: *
    Allow: /
    Disallow: /dcma-notice/
    Disallow: /terms/
    Disallow: /privacy/
    Disallow: /links/

    Disallow any paths that you don't want search engines to index.
    Place the robots.txt file in the root of your web server (public_html/robots.txt for example)
     
    hello2, Jun 11, 2011 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,889
    Likes Received:
    4,553
    Best Answers:
    123
    Trophy Points:
    665
    #3
    Although Google can only index what it can crawl and if the pages are password protected it can't crawl...
     
    sarahk, Jun 12, 2011 IP