Tuesday 10 May 2016

Wordpress - yet more 'everything done in live' horror.

I've just restored a copy of a wordpress DB from a colleagues dev machine. When I run it up locally none of the resources (CSS etc) are accessible because the base URL is wrong.

It turns out that all URLs are absolute, and written into the database. Tools apparently exist to traverse the database changing all these entries.

This really is appallingly noddy and unprofessional. It's no wonder web development as a discipline has such a dreadful reputation.

No comments:

Post a Comment