nystudio107 / retour

DEPRECATED Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website.
Other
168 stars 24 forks source link

Switching Blitz to Cloudfront has broken Retour it seems #122

Closed jan-dh closed 3 months ago

jan-dh commented 3 months ago

Describe the bug

Since switching to Cloudfront in combination with Blitz static file caching it seems retour is broken. I get

Screenshots

image

Versions

jan-dh commented 3 months ago

Hmm, seems this has everything to do with urls of these types: index.php?p=admin/actions/retour/charts/dashboard that needed to be added to the cache whitelisting.

khalwat commented 3 months ago

Glad you sorted it out

I'm not sure the CP is a good thing to run through CloudFront generally speaking, though?

jan-dh commented 3 months ago

Yep, that was the issue, I only had the /admin whitelisted, not the index?p=admin