Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug-in breaks Geomate #189

Closed
lenvanessen opened this issue Mar 17, 2020 · 13 comments
Closed

Plug-in breaks Geomate #189

lenvanessen opened this issue Mar 17, 2020 · 13 comments
Labels
bug Something isn't working

Comments

@lenvanessen
Copy link

Hi There,

As soon as Blitz is enabled, Geomate stops working. Not sure if this is on your end or on Geomates, but it would be great if this can be resolved!

@lenvanessen lenvanessen added the bug Something isn't working label Mar 17, 2020
@lenvanessen
Copy link
Author

Ps, we're not using nginx or apache te server files, so the request is coming to Craft

@bencroker
Copy link
Collaborator

How are you using Geomate, with template tags or using the redirectMap config option? Since Blitz intercepts the request as early as possible, it is likely that Geomate is not performing the redirect early enough.

@lenvanessen
Copy link
Author

@bencroker I'm using it with the redirectMap. So this is something that Geomate needs to resolve?

@bencroker
Copy link
Collaborator

We're looking into a workaround to make this work.

@lenvanessen
Copy link
Author

@bencroker cool. I know that on the other thread you mentioned a fix is ready on dev. When will this be released?

@bencroker
Copy link
Collaborator

Likely today.

@bencroker
Copy link
Collaborator

Released in 3.5.1.

@tihoq
Copy link

tihoq commented Feb 4, 2022

Hi @bencroker ,
I have the same problem. When I enable cache in Blitz plugin settings then redirection from geomate no longer works for me. I use Blitz v3.11.1 and Geomate v1.3.1.2. Redirection setup is in geomate.php and I use redirectMap.
On urls that are excluded from caching geomate redirection works well.
Is there a solution for this problem?

@bencroker
Copy link
Collaborator

@tihoq if Geomate was installed after Blitz then it may not be firing early enough. The simple workaround is to uninstall and then reinstall Blitz in the plugin settings page.

@tihoq
Copy link

tihoq commented Feb 4, 2022

@bencroker
I uninstalled and removed both plugins. After that I installed geomat first, then blitz, but that didn't help.

@bencroker
Copy link
Collaborator

bencroker commented Feb 4, 2022

Did you clear the Blitz cache after reinstalling them? And are you using server redirects with Blitz?

@tihoq
Copy link

tihoq commented Feb 6, 2022

@bencroker
Yes, I deleted the Blitz cache before and after the reinstallation, I also deleted the craft cache. Yes, we use server redirects with Blitz.

@bencroker
Copy link
Collaborator

Ok, so the server redirects will kick in before Geomate has had a chance to do its thing. Removing the server redirects should solve this for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants