Comment

Comment by Domenic_S

Here's something crazy to me about WP - it stores the site's domain in the database. This makes it incredibly obnoxious to set up a local environment of a live site (or automated CI environments with arbitrary subdomains). I had to hack together a bash script to fire UPDATEs to the db to modify these values.

Drupal on the other hand looks for /sites/$DOMAIN/settings.php, and there's nothing domain-specific in that file (except $base_url, which is optional). Orders of magnitude easier to deal with.

parent Domenic_S 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton