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

Cannot passtrough with regex and custom filter #1440

Open
Tom-Woef opened this issue Feb 1, 2019 · 0 comments
Open

Cannot passtrough with regex and custom filter #1440

Tom-Woef opened this issue Feb 1, 2019 · 0 comments
Labels

Comments

@Tom-Woef
Copy link

Tom-Woef commented Feb 1, 2019

Summary

I try to pass-trough all jpg files to another external url with regex. Only when the page url return a 404 and a locale

Actual Behavior

Empty content/White page

Steps to reproduce

I create a regex redirection with Source url ^/(.*).jpg$
i check regex
i choose match type custom filter, with a custom filter that checks if is_404 and get_locale = 'nl'
I choose pass-trough
my matched url is http://old.mydomain.com/$1.jpg

When i switch to redirect type (307) and leave other settings it works

Environment

Worpress 5.0.3 Redirection 3.7.2
Chrome browser

@johngodley johngodley added the bug label May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants