On Thu, Nov 24, 2011 at 11:24:24AM +0000, Barry Samuels wrote:
On 24/11/11 10:35:01, Chris Green wrote:
I've been developing a simple web site for someone using WordPress (along with zillions of others I believe).
I've now discovered that it is horrendously awful to move it to another domain! Not only are links in WordPress absolute but there are also loads of database entries which have the absolute URL in them.
-- Chris Green
I have a web site that uses a Wordpress installation and when I want to change the path in the database I do a database dump which produces a mysql file in text form. It's easy then to do a search and replace within that text file and then clear the database and import the result.
I've actually used the WordPress "Search and Replace" plugin to do the required changes. It's still a horrible bodge though and doing a Google search indicates that it's an issue that many people find difficult. WordPress is so user friendly and easy to use in nearly every way that not being able to migrate it easily from one domain to another seems to be a major omission.
All the other site development tools I've played with have better (if not totally transparent) ways of handling this. It never even occurred to me that when someone tried to view my WordPress site from outside it wouldn't work (because internally I see it as localhost, or chris and from the outside it's zbmc.eu). Every other thing I have running here works as well from outside as from inside once permissions etc. are set.