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 Request - Set permalink change default redirect to 302 instead of 301? #3884

Open
EarthmanWeb opened this issue Jul 14, 2024 · 1 comment

Comments

@EarthmanWeb
Copy link

Summary

Have not found a way to do this in the options nor in hooks. Is this possible please? If not, this is a feature request.

Actual Behavior

Right now the plugin, which is amazing, defaults to creating all new redirects as 301. Sometimes we don't want this persisting so long, as sometimes the change is made erroneously and we need to remove the redirect, but it gets hard cached in our CDN and then our users are stuck with it.

Suggestion for Improvement

If we had a way to set the default to 302 when it auto-creates (and manually) creates a new redirect, then we can go back later and escalate to 301 which would be more ideal.

@dalemoore
Copy link

dalemoore commented Sep 3, 2024

Same here. There's a "Code" column in the redirection list, but seemingly nowhere to actually select which code you want.

EDIT: Just kidding, there's totally a way in the UI! It's under the cog icon when you click "Edit" on the redirect. Though that's not the same as what you're requesting by making it the default, sorry.

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

3 participants