1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need idea - I want to publish blog on my website but don't want to cache until i complet

Discussion in 'Blogging' started by seoexpertss, Jan 30, 2013.

  1. seoexpertss

    seoexpertss Newbie

    Joined:
    Jan 8, 2013
    Messages:
    2
    Likes Received:
    0
    Occupation:
    SEO
    Location:
    Delhi, India
    Home Page:
    Hi Everyone,

    I want to publish blog on my website but don't want to cache until i complete that one.

    Until i complete i need users can read that post. Only the main thing i don't want cached by Google.

    Any code is their to do this ?
    Will robot.txt can use here ? If yes, how ?
    Any other way ?
     
  2. phpbuilt

    phpbuilt Jr. VIP Jr. VIP

    Joined:
    May 16, 2011
    Messages:
    1,650
    Likes Received:
    5,208
    Occupation:
    $ from websites I own.
    Location:
    putting monkeys in paypal
    Two ways you can do this.

    When you're installing wordpress, one of the questions it asks you is if you want search engines to access your site. You select no. It then inserts noindex and nofollows on everything, and when you post it doesn't ping your posts. Later on you can turn it back on in the admin panel.

    Second way of doing it (what I usually like to do), I'll trick my computer into thinking my website is right on my computer. I do this by editing c:\windows\system32\drivers\etc\hosts file and adding 127.0.0.1 website.com, next line 127.0.0.1 www.website.com ... that tells my computer that this website is actually located on my own computer. I proceed to develop it there (and do it using the actual domain). Later on when its finished, I'll upload the website, forward the DNS ... delete the 2 lines from my hosts file, and its live.