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

Feature Suggestion: Add a filter before "Check redirect" #1758

Open
fadupla opened this issue May 15, 2019 · 1 comment
Open

Feature Suggestion: Add a filter before "Check redirect" #1758

fadupla opened this issue May 15, 2019 · 1 comment

Comments

@fadupla
Copy link

fadupla commented May 15, 2019

Hello @johngodley

First, thank you for your great plugin !

I am missing a filter before you send the redirect test to redirect.li , would you please mind to add it in the future?

Why I need it : I use your filters redirection_create_redirect and redirection_update_redirect to modify the $data['url'] as the website is behind a proxy and the URL needed to be modified on redirect create and update. The redirect works well in front but in back I can't use the "Check redirect" feature because I need to remodify the URL as it is linked in relative.

This could also be a filter for the href attribute of the URL in a row of the list...

Thank you again,


Best regards

@johngodley
Copy link
Owner

I'm not sure I understand the problem. Surely once the redirect has been created the URL is correct?

The front end uses React, so it's not possible to run WordPress filters there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants