hosed URL, now hardwired in wp-config but wish to move blog
-
I tried to move my blog, and updated the URL in the admin interface, but I did something wrong, and could not access the admin interface at either the new or old URL.
I had copied the entire dir containing the blog to another dir on the same server, updated the URL i the admin interface of the FIRST installation, then everything was bad…So, I deleted the new directory…I’ll deal with moving again after I resolve this.
I went into wp-config.php in the original directory and hardwired the URL by adding define(‘WP_HOME’,’https://mydomain.com/blog’);
define(‘WP_SITEURL’,’https://mydomain.com/blog’);
and the original installation is now functioning as before, but, of course, the URL is hardwired and can not be altered from the admin interface, which I think I need to move it (and hardwiring this is a temp solution from what I’ve read, and not a good practice).So, apparently I need to update the DB, but the only instructions I can find for that are using phpmyadmin, which I do not have on this server (godaddy.com).
I DO have ssh (but not root) access, so assume this can be done with mysql over ssh, but do not know how.Please assist.
Any and all assistance appreciated.WP v. 3.2, updated today (prior to my hosing).
thanks
- The topic ‘hosed URL, now hardwired in wp-config but wish to move blog’ is closed to new replies.