Closed angelinetran closed 6 years ago
Hey there, we ended up fixing this by forcing the template to 404 which allowed the redirects to work just as they should!
{% if data | length == "" %}
{% exit 404 %}
{% endif %}
We added this to the template.
For anyone stumbling on this after a long time, this was added in version 1.0.18
@benjamin-smith this is the old Craft 2 repo -- now deprecated
Boy don't I wish the site I was working on was on Craft 4 :) I spent a couple extra cycles debugging this until I saw the plugin was a couple versions back. Just leaving the note for posterity.
Hello!
You're plugin is great! We love it, but we are having one issue:
Our
routes.php
file has a URL pattern like below:And we have an entry like below:
If we try to go to http://example.com/find-providers/provider/nichole-hickman-np-6714, it will not redirect to http://example.com/find-providers/provider/nichole-e-hickman-np-6714
We believe that the
routes.php
file is trumping the redirects from this plugin.Any help with this would be appreciated.
Thank you!