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.
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.