Moving a WordPress blog from a subdomain to /blog
blog.hoja.in became hoja.in/blog: WP_HOME and WP_SITEURL, wp search-replace with a dry run, URLs hidden in JSON, a 301 from the old subdomain, and canonical and sitemap checks.
blog.hoja.in became hoja.in/blog: WP_HOME and WP_SITEURL, wp search-replace with a dry run, URLs hidden in JSON, a 301 from the old subdomain, and canonical and sitemap checks.
php -l said the old blog theme was fine. PHP 8 disagreed. What php -l, PHPStan and PHPCompatibility really report for legacy themes and extensions, measured on the real file.
Two critical bugs in the PHP interpreter allow code execution without login. What PHP2Shell is, and five shell scripts to check versions, settings and logs.
hoja.in runs TYPO3 14 at the root and WordPress under /blog, in one repository and one DDEV project. The config, the second database, the rewrite rules and the import commands.
The real upgrade behind hoja.in/blog: backup, plugin audit, WP-CLI core and database update, and the PHP 8 fatal error from a child theme that passed a callback as a bare constant.