Upgrade CiviCRM 5.28.3 to 5.30.0 with Clean URLs and WordPress Base Page "CiviCRM" breaks Mosaico IMG URLs and Email Tracked URLs
This has been observed on a CiviCRM and WordPress site. After upgrading from CiviCRM 5.28.3 to 5.30.0 with Clean URLs and WordPress Base Page "CiviCRM" we received reports that Mosaico IMG URLs and Email Tracked URLs were both broken. This was confirmed as those URLs were returning 404s.
This was an old site and noted that the CiviCRM WordPress Base Page option was set to "CiviCRM". After changing the WordPress Base Page option to "civicrm" the Mosaico IMG URLs and Email Tracked URLs resolved correctly, no more 404s.
Was unable to reproduce this same problem on existing CiviCRM 5.31.0 and WordPress site, toggling the CiviCRM WordPress Base Page option from "civicrm" to "CiviCRM" did not result in 404 errors.
- Find the WordPress page for CiviCRM, note the Slug part of the Permalink for this page eg. Permalink is https://test.com/civicrm then the Slug is civicrm
- Go to CiviCRM, Administration, CMS Database Integration.
- Change CMS Database Integration option to match the Slug part of the Permalink. eg. civicrm
- Click Save.
- Crack open a beer and test.
Agileware Ref: CIVICRM-1613