We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Exporting an action_type=error rule to an nginx format makes it a temporary redirection to nowhere
action_type=error
$ wp redirection export nginx file.json --format=json
{ "id": 89, "url": "/410", "match_url": "/410", "match_data": { "source": { "flag_query": "pass", "flag_case": false, "flag_trailing": false, "flag_regex": false } }, "action_code": 410, "action_type": "error", "action_data": null, "match_type": "url", "regex": false, [ … ] },
$ wp redirection export nginx file.conf --format=nginx
rewrite ^/410$ redirect;
location /410 { return 410; }
wp redirection export
Wordpress 6.5.2, Redirection 5.4.2
The text was updated successfully, but these errors were encountered:
There seems to be a related pending PR #2669
Sorry, something went wrong.
No branches or pull requests
Summary
Exporting an
action_type=error
rule to an nginx format makes it a temporary redirection to nowhereActual Behavior
$ wp redirection export nginx file.json --format=json
$ wp redirection export nginx file.conf --format=nginx
Expected Behavior
Steps to reproduce
wp redirection export
cli commandEnvironment
Wordpress 6.5.2, Redirection 5.4.2
The text was updated successfully, but these errors were encountered: