How to stop Google indexing your site when it is under construction or maintenance

When you are creating a new website with Joomla or with any other method on a live server, Google might index the half-done pages and give you crappy search results for some time.  Best thing is to block google from visiting the site using the good old robots.txt 

change the content of the robots.txt in the root folder to 

User-agent: *
Dissalow: /


thats it , google will never look at your site untill you remove these lines. So dont forget to replace these codes with original Joomla robots.txt file contents later.

User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /xmlrpc/
Comments (3)
  • Raynard  - ......
    Just wanted to give you a shout from the valley of the sun, great information. Much appreciated. =-=
  • Damian  - Typo??
    You article say 'dissalow' but should it be 'disallow'?
  • Perry  - Thank You!
    I really appreciate it. I wanted a fresh start with Google, and now I got it :)
Write comment
Your Contact Details:
Comment:
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.
 

Bookmark Us


Sponsored Links

Sponsored Messages

Find us on Facebook

 

page_rank_4

You are here: Home Blog How to stop Google indexing your site when it is under construction or maintenance