wp-media / wp-rocket

Performance optimization plugin for WordPress
https://wp-rocket.me
GNU General Public License v2.0
687 stars 215 forks source link

Enhance the Handling of WWW/non-WWW Updates #5647

Closed camilamadronero-zz closed 2 months ago

camilamadronero-zz commented 1 year ago

Is your feature request related to a problem? Please describe. Let's say you change your site URL from non-WWW to WWW, and visit the non-WWW URL:

While we have a guide for domain changes, and having two configuration files is not always happening, making an automatic check+update will be useful.

Describe the solution you'd like WP Rocket should detect the URL update or General options update, and purge its paths and configurations accordingly.

Describe alternatives you've considered

Additional context Related ticket: https://secure.helpscout.net/conversation/2097115953/388901?folderId=377611. Slack thread: https://wp-media.slack.com/archives/G8L4EE8N9/p1671136542516399.

piotrbak commented 2 months ago

This is not something that can be implemented in the nearest future.