Creating a staging link for developing with wordpress

Hi guys,

if we were to install wordpress on a webhost say on a url like so “domain.com

So the login URL to this wordpress site is http://domain.com/wp-login.php

The link to the website itself is http://domain.com

How do we set up a staging link like http://domain.staging.com and not make it indexable by search engines and also create a username and password to even access the link http://domain.staging.com

Kind regards

Are you just trying to set up a development area for Wordpress? What you are asking for could be achieved in a number of ways for a couple of different reasons.

One way:
edit wp-config.php and these lines
define(‘WP_HOME’,‘http://example.com’);
define(‘WP_SITEURL’,‘http://example.com’);
replace example.com

Another way:
install wordpress on the new domain. after you finish, export your mysql databse, open it, replace the temporary domain with your permanent domain, create a new db, run the sql script for it, change web-config mysql info accordingly.