After migrating subdomain to new domain, not sure if the subdomain got left over in any of the settings.

Where in PHPmyAdmin / SQL database should I find those subdomain urls and update them to the new one?

(not even sure if my question makes sense).

Any help will appreciated


i think you mean updating permalinks and its in wp_options table

go to your host control panel (cpanel/directadmin) and phpmyadmin from there find your database and update site url and website address from wp_options table

  • Hi sorrow poetry thank you for the answer. Will try your suggested way. – alanw Jul 29 '17 at 2:41

Go to your database and open the wp_options table. There should be 2 settings siteurl and home that need to be updated with your new domain. You will also have to update all the permalinks in your database from your old domain to your new domain.


You can set this in wp-config.php if you are facing redirect issues after migration.

define( 'WP_SITEURL', 'http://example.com' );
define( 'WP_HOME', 'http://example.com' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.