Category: WordPress

WordPress: How to change site URL and disallow robots

Martin 20/10/2016

When testing WordPress sites for development, it is often common, to restore the whole site to a testsite ex. test.domin.com, but we do not want to allow search engines to read data and index things on the test site after restore, we will have to change the site url, else we will be redirected to the normal url. Hardcoding site url: Edit wp-config.php and add theese lines:  

  This is a quick and… WordPress: How to change site URL and disallow robots

Read More WordPress: How to change site URL and disallow robots