How can I move a WordPress install?
WordPress saves the URL to use to access it in its configuration. If you move the directory you installed WordPress into or start using a short URL without first updating that URL, you may accidentally lock yourself out of the WordPress admin interface.
To update the stored URL:- Wait until you’re ready to start using the new URL. In particular, if you’re requesting a new hostname (like MY_GROUP.mit.edu), wait until the Scripts team contacts you to tell you that the new hostname is working, and confirm that http://MY_GROUP.mit.edu/ works. If you don’t wait, you will lock yourself out of the WordPress admin interface.
- Log into the WordPress admin interface using the old URL
- Select the “Settings” link in the sidebar
- Change both the “WordPress Address (URL)” and the “Site Address (URL)” to the address you want to be able to access it at.
- You may get a “404 Not Found” message when you save the changes. This is likely not a problem, and you should see if finishing the move fixes it.
- Once you move the PHP scripts in AFS or your new hostname gets activated, you should be able to use the new URL
Previous: | How do I enable math support in my MediaWiki wiki? |
Next: | How can I restrict my Trac instance to only certain users? |
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.
You are currently connected to shining-armor.mit.edu.