3 ms·
Fun story. I helped someone with a wordpress site recently where I provided an internal address for development. Once they were done with development I moved t
by specto 4y ago
Fun story. I helped someone with a wordpress site recently where I provided an internal address for development. Once they were done with development I moved the site to the public url and found that most of the pages were broken.
Turns out multiple plugins make changing URLs a feature behind a monthly paywall as a monetization strategy. The sobering thing is that the fix is to update tables in the database. There are various examples in github for these things, however most people just use a plugin that literally does a find and replace for the old URI and replaces with the new. Frightening...
- orev 4y agoYes, that’s a thing with Wordpress. Any change to the URL requires some sort of migration to the new URL, as they are statically added to pages. This was done to avoid the performance hit of dynamically generating the late every time. Wordpress has been around a long time, and that decision probably did have a performance improvement at the time. Theoretically it’s not really that bad, as URLs are defined as unique, so doing a migration shouldn’t be a big deal. But conceptually it just seems “incorrect”.