issue with Custom Permalinks + WP Rocket
-
In the recent versions of WP Rocket caching plugin (3.13+) they are enforcing trailing / not trailing slashes on your URLS, depending on what the permalink structure is in your WP settings. The issue using Custom Permalinks is if your default permalinks do not have slashes (eg. /2023/5/postname.html) and the custom permalink for the post does (/postname/), then WP Rocket will not cache the page. In terms of a workaround, most obvious seems to add to htaccess to remove the trailing slash and turn off redirects in the plugin by adding the disable code on the main plugin page. But I’m wondering if there’s any other suggestions (beyond “find another cache plugin”) …
- The topic ‘issue with Custom Permalinks + WP Rocket’ is closed to new replies.