• Skip to primary navigation
  • Skip to main content

Magda Sicknick

  • About me
  • Portfolio
  • Articles

Update WordPress URL through phpMyAdmin

A quick and simple way to update your WordPress URL is through phpMyAdmin, and if you are somewhat code-savvy this should be a breeze.

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');

Published on May 2, 2024

Reader Interactions

Leave a Reply Cancel reply

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


The reCAPTCHA verification period has expired. Please reload the page.

Let’s Talk

Looking to get your business a website or update your current online presence?

Please send me information about you project so that I can determine how to best fulfill your needs.

    Service Required *

    Copyright© 2025 · Magda Sicknick · All Rights Reserved · Powered by Wordpress and the Genesis Framework.