Skip to main content

3 Problems After Moving WordPress Host and Their Solutions

Many WordPress users think a million times before shifting to a new web host, server or a new domain because of the fear of loosing their data, visitors or search rank. To some extent, their fear is genuine because a lot of problems may be caused after WordPress server migration which may eventually result into data loss, page load errors and even site rendering. In this post are three common problems which comes up after host migration and some effective ways to solve them.




Homepage opening but clicking any link gives a blank/404/error page


Problem?


Once you shift your blog, you can see your homepage and site admin area but when you click on any link on the homepage including posts, categories, tags etc, you get a blank page or a 404 not found error, or you get redirected to your hosting provider's page or any other similar problem occurs. This problem occurs when you are using pretty permalinks in your blog instead of WordPress' default (ugly) permalink structure.

Solution.



  1. Open your web server via FTP or any other file manager.

  2. Locate .htaccess file in the WordPress home directory. (If you don't have any such file you can skip step 2, 3 and 7).

  3. Download the file and delete it from your server.

  4. Now go to your WordPress dashboard and then go to "Permalinks" under the settings module.

  5. Set the permalinks structure to "default" (don't worry, this is temporary) and see your posts and other pages should start appearing again.

  6. Set the permalinks structure to whatever fits your blog.

  7. Upload the .htaccess file again to the same directory in the web server.

This should solve your problem and the links should start opening again.

Some of the links target your old URLs when you have changed the domain


Problem?


This generally happens when you shift your WordPress blog to a new domain. Your posts will open the URLs with the old domain but the homepage opens fine with the new domain. This problem occurs if you do not change your domain in your database's  options table.

Solution.



  1. Login to your WordPress database in phpMyAdmin or similar.

  2. Open the wp_options (the prefix may vary) table.

  3.  Click on "browse" from the menu.

  4.  Edit the option_value of the option_name "siteurl" to the URL of your new site.

  5. Go to page 2 of your options table and add the new URL similarly in the option_name "home".

  6. Close phpMyAdmin.

This should fix the problem.

Content does not upload


Problem?


Uploading media does not work. Various files such as images and videos do not upload in your database. This problem occurs when your database's default upload location does not change while shifting the database. You can solve this problem easily.

Solution.



  1. Go to Settings>>Media in your WordPress admin panel.

  2. Fill in your upload folder and full URL path.. They should look like
     wp-content/uploads

     /home/yourusername/wp-content/uploads

  3. Save the changes.

This can also be done by editing upload value in the wp_options table in your database if you don't have access to your dashboard due to some other migration problem. This should fix the issue.

This is all we have for you in this post. I hope this guide will help you a bit. Thanks for reading.

Comments

  1. Nice article. However, the first problem "Homepage opening but clicking any link gives a blank/404/error page" can also be fixed by changing the homepage and site URL from the settings page.

    ReplyDelete
  2. Piyush Shrivastava21 May 2012 at 01:36

    True, but in some cases the users could not open the dashboard even. This can be helpful.

    ReplyDelete
  3. Great tutorial. Here is great guide about how to migrate your WordPress website from one host to another without getting errors.

    ReplyDelete

Post a Comment

Popular posts from this blog

Three Sources to get paid "likes" for your Facebook page

Almost every blogger and webmaster uses social media to get visitors on their websites and blogs. Facebook is one of the largest social media traffic resource. While many webmasters believe in making quality content and attract visitors to their site, many try to get a strong start up base for their websites. There are many services on the internet which provide fans and followers to your social media pages in exchange of some amount of money. Here are three of them you can use to get Facebook likes.


10 most common logo design mistakes

Designing a logo or getting a logo designed nowadays is quite multifaceted and difficult. As the technology is progressing and advancing each day. So is the logo designing business, the competition is getting more complex by each passing day and so is the designing. Although there are numerous tools and techniques which can be utilised to design auspicious and pertinent logo designs for the companies and brands.While designing a logo most of the designers make some very stupid and careless mistakes. And these mistakes lead them to devastation, there are numerous mistakes done by the designers although they are quite small but highly affects the whole look of the design. In logo designing very minuet details are noticed and thus one has to be very careful while designing a logo. 1. Using the wrong typography There are heaps of websites to download fonts at no cost however be responsive of the latent consequences in terms of authorisation as well as rights, which might leave you having…