A SHARE OF $50,000 CASH! A SHARE OF $50,000 CASH!
We are aware of some customers receiving a fraudulent email claiming to be VentraIP Australia. Please do not open the link in this email, and mark it as spam immediately. If you have clicked the link in the email and entered your details, please update your VIPControl password immediately
View all Products Close Menu Menu
Fix image links in your WordPress website
Updated Friday February 5th 2021 / Category Web Hosting

Warning: If you’re uncomfortable completing these steps, please have a professional web developer complete them for you. If these steps are completed incorrectly, it may cause significant issues that may be difficult to resolve.

Before Proceeding

Before completing these steps, please consider exporting a copy of your website’s database.

When might you want to do this?

  • After completing a migration of a WordPress website, you might find that the image links are broken
  • You have changed a WordPress website’s domain name, and need to update the image links

How to fix the image links

  1. Log in to cPanel.
  2. Click on PHPMyAdmin under Databases.
  3. To the left of the interface, click on the WordPress database you want to fix the image links for.
  4. Click the SQL tab.
  5. Input the following SQL code into the box under Run SQL query/queries on database, ensuring that you replace with your domain(s) accordingly.
    UPDATE wp_posts SET post_content=(REPLACE (post_content, '',''));
  6. Click Go.

Didn’t work for your site?

If the process didn’t work for you or has caused problems, you may consider trying any of the following:

Can’t find the answers you're looking for? Check out these other methods of support!