Hope I can describe this right. We will be switching to our new Word Press website tomorrow. We host he site within the child domain of a much larger university domain.
Our new website is on a different server than the old one, the university will do a redirect to the new server. My concern is our users uploded a lot of media using the absolute path rather than a relative path. Will those links break when we switch over?
Hope that makes sense?
As an update, we did a quick test by doing a redirect in apache to www2.sitename and the site works, but we can't login.
Changed back so we could log in, changed the SITE url to match the new www2 url but that didn't fix it. Should we have changed the WordPress URL instead??
I'm home now so I can't test it live. If we screw up that wordpress url when we need to go into the database and change it back, right?
If we screw up that wordpress url when we need to go into the database and change it back, right?
That's one way. Another is to use update_option() in your theme's functions.php file.
http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php
Are our absolute links going to break
If you're also moving content as well then the absolute URLs in that content will break. So you need to (safely) search and replace the old references from http://www.sitename to http://www2.sitename within the database.
See this article for more info.
http://codex.wordpress.org/Moving_WordPress
Turns out we got lucky on this one. The reason we couldn't get logged in was because we changed the site url to the redirect rather than the Word Press url to the redirect. Everything is working fine, and thank God we are finally off that Plone system. What a nightmare that was.