2 ms·
> [ ..in the database ..] Similar comments for Moodle, another popular PHP app. You cannot even change the url for your site without rewriting content in the d
by emmelaich 14y ago
> [ ..in the database ..]
Similar comments for Moodle, another popular PHP app.
You cannot even change the url for your site without rewriting content in the database.
- smacktoward 14y agoWordPress too. In fact in WordPress the site root URL is stored in two separate configuration fields, so woe betide you if you rewrite one field and not the other. Thankfully the WP core devs seem to have been slowly cleaning stuff like this up over the last couple years. So even though this wart persists, I have hope it'll eventually get zapped.
- jasey 14y agoIn my wp-config.php file I have the following logic https://gist.github.com/3831423 https://gist.github.com/3831423