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 made a change of my existing domain to new domain.

I took the backup of the database from old site and imported it into new database Used the search and replace widget to replace the old url with new url

But i cant seem to see the sidebar widgets. I can see them on the admin panel but they are not visible on site.

Any pointers on what could be the cause. I changed the theme to twentyten and the sidebar is visible

share|improve this question

1 Answer 1

Don't replace old url to new url in database file. wp-login.php can be used to (re-)set the URIs. Find this line:

require( dirname(__FILE__) . '/wp-load.php' );

and insert the following lines below:

Do comment/remove these lines. (once the database is updated)

update_option('siteurl', 'http://your.domain.name/' );
update_option('home', 'http://your.domain.name/' );

for more information http://codex.wordpress.org/Moving_WordPress

share|improve this answer

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.