This is a weird one. I moved WP from a vitual web host to an ec2 instance. While testing before the move, the site lived at "web01.domain.com". I moved the site and updated siteurl and home to "www.domain.com".
Now that it's live, periodically the database reverts to showing "web01.domain.com" as the siteurl and home. It seems to happen every time I log into wp-admin.
I'm baffled. I thought it was a caching issue, but I've removed the caching plugin from WP and caches from disk.
Steps taken
- removed w3c cache plugin and caches manually
- Added the following to wp-config.php:
define('WP_HOME','http://www.domain.com');
define('WP_SITEURL','http://www.domain.com');
- Manually edit wp_options to use www
- Searched database for any instances of web01 - nothing relevant shows up
- Recreated wp-config.php
- Made sure .htaccess is properly set up
I've exhausted search engines looking for an answer, but I haven't been able to find any mention of this specific issue. Has anyone seen this before? Is there something I'm missing?