Fixing Broken Links of a WordPress Installation

If you have migrated your WordPress website, switched to a new domain or created a local copy for testing, chances are you will need to update links to point to your new location. You can easily change this with the Search & Replace plugin.

  1. Go to the admin area of your WordPress installation by entering the respective URL in your browser.
  2. Install the Search & Replace plugin.
  3. Under the name of the plugin you have just installed, click Settings.
  4. Enter the URL of your “previous WordPress installation” in the Search for field.
  5. Activate the All – search and replace! option.
  6. Enter the URL of your new WordPress installation in the Replace with field.
    For a local copy it could look something like this: http://localhost/wp-testenvironment/
  7. Click Go.
    Replacing URL
    The changes are being applied.
  8. Click Settings > Permalinks.
  9. Select Post name and click Save Changes.
Please rate this post :

One thought on “Fixing Broken Links of a WordPress Installation

  1. Joan Mayo says:

    This may have been my problem. I installed wp 4.2, a theme, all was going well, as I am learning. I clicked save and publish. Could not see my site online when I input the address. Then a friend tried and got an error code. I sent a msg to support. I finally got to look online today at it. NOT at all what I was building. Now I am not able to get in to edit. Not happy.

Leave a Reply

Your email address will not be published. Required fields are marked *