Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I wanted to clone one wordpress blog I own into another domain .. I simply downloaded the root folder with all the files from Site1 and uploaded to Site2.. and created a complete MySQL script of Site1 and executed in Site2 DB.. Everything in the user side is working fine but if I got to Site2/wp-admin, its automatically redirecting to Site1/wp-admin..

Any info on where to change this admin URL settings?

Thanks and Best Regards, Ansar

share|improve this question
    
in admin-panel I think you have the site1 as domain, change it to site2. Not completely sure, but try it –  ntechi Mar 31 '11 at 6:10

2 Answers 2

The Codex page - Changing The Site URL gives you a number of different ways of changing the URL of your site.

share|improve this answer

Here's 1 way to fix this. Add below inside Site2 wp-config.php:

define('WP_SITEURL', 'http://Site2');
define('WP_HOME', 'http://Site2'); 

Once logged in, go to Settings > General and change WordPress address (URL), Site address (URL) to Site2. Then delete those 2 lines that you add inside wp-config.php.

share|improve this answer
    
if you define WP_SITEURL and WP_HOME in wp-config.php you can't change them in admin. –  anu Mar 31 '11 at 7:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.