Reputation: 1991
I have a WordPress blog that I run, but I want to copy the entire blog to another "dummy" domain so I can make big changes on that domain, but have it not effect my main domain.
My main domain is http://www.startingtofeelit.com and my dummy domain is http://www.stfeelit.com
As you can see, they look almost identical, but I can't log in to the dummy domain as an admin to make some of the changes that I want to make. When I go to the login page on stfeelit.com, it automatically redirects me to startingtofeelit.com. I copied/pasted all the files from startingtofeelit.com to stfeelit.com, so there is probably a simple declaration of the "root folder" or something that points to startingtofeelit.com that I can change to stfeelit.com, but I don't know where this would be located.
As an example, try going to http://www.stfeelit.com/wp-admin
Upvotes: 0
Views: 85
Reputation: 693
On your dummy page, you need to change the address to go to after logging in to be your dummy page and not your main page. You can do this by updating siteurl.
Upvotes: 0
Reputation: 62638
You need to update your siteurl
value in the wp_options
table. See this answer for a more complete explanation.
Upvotes: 1