Forum


HomeHomePremiumPremiumAdministrationAdministrationDev website proceduresDev website procedures
Previous
 
Next
New Post
5/18/2018 12:55 PM
 

Hi Aderson, 

Please can you recommend the best way to prevent a DNN9 development website from being indexed? 

I've made a copy of the website so I can upgrade DNN and modules, once everything is updated I will point the domain to the new website, but until that happens I would like to prevent Google seeing the website.

Any advise here would be appreciated about preventing the site being indexed and if the above procedure is recommended for upgrading the website. i.e making a copy then upgrading and re pointing the domain to the new website?

Thanks for your help

Kind regards

Phil 

 
New Post
5/19/2018 3:26 AM
 

Hi Phil,

The upgrade process is correct and the one I recommend.

There are a few ways to prevent indexing:

1 - If you have access to the site's server or IIS you can actually block all other ips from coming to the site except your and someone else's you may want to share with. You can find info on how to do it at:

https://docs.microsoft.com/en-us/iis/...

2 - If that is not the case, then you can use the robots.txt file to instruct Google to NOT index the site. For that just put this on the file:

User-agent: *
Disallow: /

But remember to remove it and restore to what it was before once you go live, otherwise Google will stop index the live site!

Cheers,

Aderson

 
New Post
5/27/2018 11:04 PM
 

Thank you so much for that, I went for the robots.txt options.

Cheers 

Phil 

 

 
New Post
5/28/2018 4:26 AM
 

Glad to help Phil!

Aderson

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationDev website proceduresDev website procedures



Try FREE
30 days money back guaranteed