I have been messing around for 3 hours with XAMPP and WAMP and I can't seem to get it to fully work with my website. So my alternative is to buy a cheap host just for testing but I have one concern. I was thinking of creating a subdirectory such as www.example.com/testsite/ and upload it there but I don't want it to get indexed by Google before I make all the changes/fixes. And after I'm done, move it to public_html. How long does it take for Google to index pages?
            Asked
            
        
        
            Active
            
        
            Viewed 912 times
        
    -1
            
            
        - 
                    1this might help https://support.google.com/webmasters/answer/156449?hl=en – eyettea Oct 16 '13 at 07:11
 - 
                    As I wrote in my answer, I suggest you to take a look at vagrant. – Daniele Vrut Oct 16 '13 at 07:29
 - 
                    A google bot won't index your site if it can't even find it. Make sure not to leave any public links to it and you'll be fine. – Nils Kaspersson Oct 16 '13 at 07:31
 
2 Answers
2
            You can simply use a robot text file with contents
User-agent: *
Disallow: /
The "User-agent: *" means this section applies to all robots. The "Disallow: /" tells the robot that it should not visit any pages on the site.
Check the Robots
Info regarding where to put the file
On a Shared host
On a Virtual host
        Vinay Pratap Singh Bhadauria
        
- 9,829
 - 3
 - 28
 - 49
 
- 
                    So it's as easy as creating a text file called robot and putting those texts in it? And then just put it in the same directory where index.html is? – John Oct 16 '13 at 07:18
 - 
                    you just need to put this in the root directory of your website – Vinay Pratap Singh Bhadauria Oct 16 '13 at 07:23
 
1
            
            
        You may use a robot.txt file.
Here you can find the very same question: Stop Google from indexing
EDIT: I don't know you knowledge, but in my very humble opinion, I suggest you to create a virtual machine (virtualbox + a simple linx distro). A more easier solution I can suggest, is vagrant. This will open your mind to a new dev/test approach. Hope this helps.
        Community
        
- 1
 - 1
 
        Daniele Vrut
        
- 2,835
 - 2
 - 22
 - 32