OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In

Go Live Update Urls PRO – Usage

To use this plugin you must first install the Go Live Update Urls plugin which may be downloaded for free:

Go Live Update Urls

Once you purchase the PRO version, you will receive a download link for the PRO plugin within the order email. You may also download the PRO plugin anytime by going to the My Account section of this site. Upload the PRO plugin using the standard WordPress plugin installer and activate both the PRO and free plugins.

Here are some step by step instructions.


URL Counting

Once you have entered both the New and Old URL, the plugin will begin to search your database for matching urls and provide a total count of the number of urls which will be updated. A banner will display above the Update Urls button which will look similar to this:

Banner displaying total count of urls which will be updated.

Each section or table will also be counted individually and a total for each will be displayed in the list. Once counting is completed the Status column will look similar to this:

List of sections showing count of urls which will be updated.

Once you have submitted the changes by clicking the Update Urls button, the plugin will provide a total count of the number of urls which were updated. A banner will display above the Update Urls button which will look similar to this:

Banner displaying total count of urls which were updated.

Each section or table will also be counted individually and a total for each will be displayed in the list. Once updating is complete the Status column will look similar to this:

List of sections showing count of urls which were updated.

All counting is done automatically and will always be reported. Counting is handled one section at time. Real-time counting is indicated by loading icons and status changes in the Status column.


URL Testing

You will find an icon to the right of the New URL field which has a tool-tip to let you know it is for testing. Clicking this icon will run tests against the entered Old URL and New URL. Once the tests are complete, you will be shown a report similar to the image below. If any issues are found, you will be given a button to click to automatically fix the issue. There is no configuration required for this feature to work.

The following conditions prevent the “Verify this site is accessible from the New URL” from being able to reliably verify the site is accessible from the new URL and therefore will always show “Unable to verify whether or not this site is accessible from the new URL”:

  • The entered Old URL and New URL are not the same as the current site URL and are not the domain of the current site.
  • The site is a multi-site using sub-directories and the entered URLs are specific to a site on the network instead of simply entering the old and new domains.

If the new domain is not yet pointed to the site, the “Verify this site is accessible from the New URL” will always show “This site is not accessible when the Old URL is replaced with the New URL” (which makes sense because the site is not accessible on the new domain if it is pointed elsewhere).

Hover tool-tip shown on the URL Testing icon
Hover tool-tip shown on the URL Testing icon
URL Testing results report
URL Testing results report
 

Site Address History

You will find an icon to the right of the Old URL field which has a tool-tip to let you know it is for viewing your Site Address History. Clicking this icon will open a history report similar to the image below. This list will contain any changes made to the Site Address (URL) via your General Settings in the WordPress admin since this plugin has been activate on the site. The results will be limited to the last 10 changes in order of newest to oldest. Clicking the “Use” button at the right of any item will automatically fill out the Old URL and New URL with the values from that row.

Hover tool-tip shown on the Site Address History icon
Hover tool-tip shown on the Site Address History icon
Site Address (URL) History report
Site Address (URL) History report
 

Predictive URLs

This feature is fully automatic. If you have changed the Site Address (URL) via your General Settings in the WordPress admin during the past 24 hours, the Old URL and New URL will automatically be filled out for you with the values of the last change. This will only work if the plugin was active at the time of changing the Site Address, otherwise no configuration is necessary.

 

Suggested Procedure For Switching A Site’s Domain

  1. Setup both old and new domains on the server to point to the site.
  2. Point your host file to the server so you may see the change before the rest of the world.
    1. You can skip this step if you prefer to point the new domain to the server prior to testing.
    2. If you DO NOT point the domain to the server prior to testing, the URL testing results will always show the site is not accessible or unable to verify whether or not the domain is accessible (which makes sense because the site is not accessible on the new domain if it is pointed elsewhere).
  3. Change the WordPress Address (URL) and Site Address (URL) in the WordPress General Settings.
  4. Run this plugin to change the domain in WordPress.
  5. Verify everything is working.
  6. Point to the new domain to the server to make the site live on the new domain (if not done already).

WP-CLI Command

When this plugin is activated, a new WP-CLI command will be available called go-live. You may use this command using standard practices such as:

Command usage may be found using the normal wp help go-live and wp help go-live update commands. Otherwise, basic usage is as follows.

To update the entire database simply run wp go-live update <old url> <new url> replacing <old url> and <new url> with your site’s specific URLs such as:

You may specify particular tables or sections using the --tables or --sections flag. If you specify either tables or sections, the command will let you know which tables were updated once complete.

Tables match what you would normally see on the Go Live setting page. For example, if you want to just update the wp_posts and wp_users tables you could run the command like so:

Sections use slugs to represent what you see in the Go Live settings page. Available sections include comments, custom, network, options, posts, terms, user. For example, if you want to just update the options and posts you would run the command like so:


Translations

This plugin includes the following languages:

  • English (en_US)
  • French (fr_FR)
  • German (de_DE)
  • Spanish (es_ES)

Related Content

  • Go Live Update Urls
    • Developer Docs
    • Troubleshooting
    • PRO - Usage
    • Changelog
Go PRO

© 2021 OnPoint Plugins · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact