• Home
  • Features
    • Membership Software
    • Member Directory
    • Event Calendar & Registration
    • Member Billing & Online Payments
    • Donations, Shopping Carts & Forms
    • Job Board
    • Announcement Board
    • Classified Ads
    • Members Only Website
    • Website Integration
      • WordPress
      • Squarespace
      • Weebly
      • Without Code
      • Duda
      • Wix
      • HTML5
    • Integrations
    • International
  • Sign Up
    • Pricing & Sign Up
  • Customers
    • Customer Sign In
    • Getting Started
      • MembershipWorks Hosted Website
      • WordPress Plugin
      • Squarespace
      • Weebly
      • Without Code
      • Wix
      • HTML5
    • Customer Websites
  • Developers
    • Find a Developer
    • Create a Developer Listing
    • Manage Developer Listing
  • Demo
    • WordPress Demo
    • Squarespace Demo
    • Weebly Demo
    • Without Code Demo
    • Duda Demo
    • Wix Demo
    • Video Demo of Admin
    • Schedule a Personal Demo
  • About
    • Contact Us
    • Cancel/Suspend Account
    • Schedule a Personal Demo
    • Schedule a Personal Training Session
    • Our Blogs
      • Guides
      • Best Practices
      • Secret Confessions of an ED
      • WordPress with the Light On
    • New Features
    • Careers
    • System Status
Schedule Demo

Discover our membership software with a one-on-one personalized demo:

Schedule a Demo
CMS Integrations

Integrate with WordPress, SquareSpace, Weebly and more.

Learn More!
MembershipWorkslogo

WordPress Site Address Migrator – a Free Plugin

Posted on Apr 25, 2013 by Aikmeng KuahMar 18, 2020

Have you worked on a WordPress site that is not yet live, and need to move that site to a new permanent domain name? Or need to migrate your site’s domain name? It should be straightfoward to just change the Site Address in your WordPress settings, but take a closer look and you will notice all the img urls and links in all your content and options still point to the old Site Address.

This plugin helps migrate those urls when you change the Site Address, it will:

  • Update matching links in the content of all posts and pages (including custom types)
  • Update matching links in post and page option fields  (supports serialized data)
  • Update matching links in the content of all comments
  • Update matching links in post category and tag descriptions
  • Update matching links in user descriptions
  • Update matching links in user website fields
  • Update matching links in WordPress and widget option fields  (supports serialized data)

To bypass any of the above, simply comment out the appropriate line in the PHP file that calls the sf_mgr_update_table function.

This plugin will work even if the protocol of the link doesn’t match the old Site Address (eg. the link uses “https://” instead of “http://”, or if it is protocol-relative “//”). When the protocol doesn’t match the old Site Address, the protocol for the link will be kept (ie. it will not update to the protocol of the new Site Address).

Its always a good idea to backup your MySQL database before making major changes like your Site Address. This plugin has not been tested for Multi-Site installs, use at your own risk!

Get this plugin at the WordPress plugin repository:

http://wordpress.org/extend/plugins/site-address-migrator/

GoToOlder PostNewer PostAll PostsWordPress with the Light On

About Aikmeng Kuah

I'm co-founder and CTO of MembershipWorks. I've been writing code since the Apple II, in a variety of languages including x86 assembly, 68000 assembly, Pascal, Prolog, dBase, C, LISP, SQL, PHP and Javascript. I work on the full stack, from the web site design, front-end web app, back-end servers, database and API. I am a graduate of Carnegie Mellon University (BS) and University of Texas at Austin (PhD).View all posts by Aikmeng Kuah

1 comment

  1. Pingback: WordPress Site Address Migrator – a free plugin | MemberFindMe | CBPress WordPress Plugin Information

Comments are closed.

  • Home
  • Features
  • Sign Up
  • Customer Sign-In
  • Terms of Service / Privacy
  • Developers
  • Contact