Why is URL stored in database?
-
I just moved from one domain to another, and this process involves hand editing the MySQL Dump file, and replacing old-domain to new-domain.
This process seems very delicate, I found so many instances where the old-domain was mentioned in the sql dump, and I was not sure if I should be changing all instances – it is fine to have the old-domain mentioned in the blog post, etc.
Was just curious why the Famous 5 Minute Install package should make it so cumbersome to move from one folder to another, or to move from one domain to another – I did the same thing with Drupal, that was a breeze! Just change the config PHP file, and restore old DB, and it is done.
Is this something that is just there for historical reasons? Any chance of this feature being added in some future release – basically, keep all URL/folder definitions in a .php file and not in the database…
- The topic ‘Why is URL stored in database?’ is closed to new replies.