Changing Hostname
-
I am slightly confused by the following information because no emphasis on which is the best method to change the site URL/hostname.
When I go live, I will be changing the hostname(domain name) on the server, but not moving the files. So the box will be changed from example2.edu (development) to example.edu (production).
I am trying to figure out the following page which presents several options, but does not really suggest relevance and differences and or best method:
http://codex.wordpress.org/Changing_The_Site_URLDo I need to change in wp-cofig:
WP_SITURL
WP_HOME
More info:
http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29and then follow Relocate Method:
http://codex.wordpress.org/Changing_The_Site_URL#Relocate_methodDo I need to edit functions.php:
http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.phpDo i need to change the URL directly in the database:
http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database
and or:
http://codex.wordpress.org/Changing_The_Site_URL#Domain_Name_ChangeMaybe we should not have a hostname for the website, while in development so when we turn IP address live (production) and apply http://example.edu to server, wordpress will not need updating. However, I do not want to develop links with IPs because these will not be usable to our users.
Any insight would be helpful.
Here are some additional potentially helpful info links:
http://www.velvetblues.com/web-development-blog/how-to-move-a-wordpress-blog-or-website/
http://www.seoblogr.com/social/how-to-move-wordpress-blog-from-old-domain-to-new-domain-with-301-permanent-redirection/
http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
http://codex.wordpress.org/Moving_WordPress
http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29
http://wordpress.org/extend/plugins/domain-change/
http://silentbits.com/wordpress/howto-change-domain-blog/
http://yoast.com/move-wordpress-blog-domain-10-steps/
http://www.tamba2.org.uk/wordpress/site-url/
http://wordpress.org/extend/plugins/search-and-replace/Thank you.
The topic ‘Changing Hostname’ is closed to new replies.