Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I just migrated my site from localhost to live server. But it seems like a new installation, my custom post types, taxonomies are not there.

The pages and posts i had are still present.

Javascript's also not working in theme, so i guess the problem is in function.php file.

Has anyone faced this?

it doesn't even show anything in the error log

share|improve this question
gonna need to hit us with some extra info. You say js isn't working? Are there errors in the console? Are the enqueue scripts not working? What have you tried? – Zach L Sep 11 '12 at 15:50
exception...javascript component doesn't have a method named :onStatusChange when calling method: nsIWebProgressListener, -this is shown around 100 times – NestedWeb Sep 11 '12 at 16:02

1 Answer

How did you migrate your site? Push from local files to FTP or did you tarball everything beforehand? Things may have got corrupted in the upload - so I'd start off by reinstalling WordPress (in the Updates area of your dashboard). I use the following MySQL snippets to help update old URLs (if you haven't already done so):

UPDATE wp_posts SET guid = replace(guid, 'http://www.olddomain.com','http://www.newdomain.com');

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.olddomain.com', 'http://www.newdomain.com');

UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://www.olddomain.com', 'http://www.newdomain.com');

UPDATE wp_options SET option_value = replace(option_value, 'http://www.olddomain.com', 'http://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
share|improve this answer
i've been searching the web and done that, i transfered with FTP. A few custom post types and custom fields -which i coded on function.php are showing on the home page, but they take me to 404.----thank you forr your help – NestedWeb Sep 11 '12 at 16:20
1  
Have you tried re-saving your permalink structure? – Zach Sep 11 '12 at 18:00

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.