-
Notifications
You must be signed in to change notification settings - Fork 140
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
Events archive page redirect doesn't honor case-insensitive AND ignore-slash simultaneously #3895
Comments
Hello? @johngodley. I opened this issue 2 weeks ago, and really need help with it. Am I supposed to flag this in some way with flair or a tag (label?) to get it looked at? I noticed that many others have had their issues responded to already. I have provided a clear, detailed ticket to be of the most help to you possible. |
This isn't a support system and there is no guaranteed response - I only have so much time to look at things. With a regular expression you are expected to perform things in the expression itself, and the flags don't apply. |
Ok, many projects use the GitHub Issues as their support methodology: Is there a support system somewhere else I should be looking at? I love your plugin, it's just got this one issue -- I even spent the time to make a detailed truth table so you would know exactly what to look at. Please advise where the appropriate support system is so that I can get somebody to evaluate this problem. I believe this may be a bug with the plugin -- an edge case, I think they call it. Also, I have tried doing everything in the regular expression with no flags applied, but got the same results. Thank you for your help |
You misunderstand what I mean. I am not a company, there is no support system, and there is no one else to evaluate the problem. I will look at your issue in time, but there is no queue or guaranteed response window. Your problem has more details and this means it needs more time to investigate. |
Ok, gotcha. No worries, I understand what it's like being a solopreneur trying to do everything yourself. Thanks for clarifying! |
I believe I have solved this one, so am posting the solution in case it may help anyone else. This is format your regex should take:
Here's what each part of the regex does:
|
Summary
I have a redirect set up for my "events" archive which I am testing in my local dev environment before pushing to STAGING. The
Ignore Case
Regex
andIgnore Slash
flags are all enabled and my redirection is set up as follows:^/events$
https://ft-prod-redirect-case-insensitive.local/events/
Expected Behavior
All cases of my events archive URL, with or without a slash should redirect to the target URL.
Actual Behavior
I performed several tests with different iterations of case for the word 'events', both with and without a trailing slash.
Findings: All cases work without a trailing slash, but with the trailing slash only lower case redirects correctly.
Redirect Results Table:
Steps to reproduce
^/events$
[yourdomain.tld]/events/
Ignore Case
Regex
andIgnore Slash
. Your setup should look like the screenshot:/Events/
and/eventS/
they both redirect to 404sEnvironment
Environment is fully up to date at time of testing (08/08/2024, 2:48 PM CST)
The text was updated successfully, but these errors were encountered: