Search code examples
wordpresshostinglivemamp

Wordpress move from MAMP to hosting


I've done these things:

  1. Export import base
  2. Update wp-config
  3. Zip and send to hosting via FTP
  4. Unzip and run
  5. Test admin and posts. Ok!
  6. Try go to www.itpodcasts.com.ua get redirected to www.itpodcasts.com.ua:8888 that couldn't be resolved.

.htaccess

# BEGIN WordPress

# END WordPress

Somebody know how fix it?


Solution

  • Please try to run those queries into your database

    UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com', 'http://www.new-domain.com');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');