johngodley / redirection

Manage all your WordPress 301 redirects and monitor 404 errors
https://redirection.me
GNU General Public License v3.0
558 stars 139 forks source link

Feature Request - Set permalink change default redirect to 302 instead of 301? #3884

Open EarthmanWeb opened 4 months ago

EarthmanWeb commented 4 months ago

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 commented 2 months ago

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.