Redirect options
-
Hello.
WordPress 5.6.2
Permalink Manager Lite 2.2.9.6Text “Automatic redirect for native URI enabled: URL” is shown always in Permalink Manager panel on editing page. Doesn’t matter option “Canonical redirect” enabled or disabled. Probably this is a bug. Or I don’t understand something. ??
Option “Old slug redirect” works not good. It works with slugs, changed when plugin disabled, and doesn’t work in opposite cases. Let’s I try to explain with example.
We have post with slug “test-post-1”. WordPress permalink rule is “site-name/%%postname%%/”. Permalink Manager is disabled. So post URL is “site-name/test-post-1/”. We change slug to “test-post-2”, than to “text-post-3” (just for example, possible do this 1 time). Plugin still disabled. Now we have 301 redirects from WordPress:
site-name/test-post-1/ => site-name/test-post-3/
site-name/test-post-2/ => site-name/test-post-3/
Everything good for now.
We enable plugin. Change permalink rule in plugin to “site-name/%%postname%%.html”. Now our post has URL “site-name/test-post-3.html”. Option “Old slug redirect” enabled, so we have 301 redirects from Permalink Manager:
site-name/test-post-1/ => site-name/test-post-3.html
site-name/test-post-2/ => site-name/test-post-3.html
Everything still good. We happy. But…
Let’s again change slug (option “Show “Native slug” field in URI Editor” enabled, “Auto-update “Current URI” for post is “Yes”) to test-post-4. Now 301 redirects is:
site-name/test-post-1/ => site-name/test-post-4.html
site-name/test-post-2/ => site-name/test-post-4.html
site-name/test-post-4/ => site-name/test-post-4.html
But
site-name/test-post-3/
site-name/test-post-3.html
returns 404. ??In this example we’ve just changed slug. This is not premium feature from Pro version, this is basic WordPress changing slug redirect. But it doesn’t work with Permalink Manager. We can get correct redirect, only if we first disable plugin, than change slug to “test-post-4”, than enable plugin. This means, that changing slug, what is frequent action, is problem with Permalink Manager, because plugin just disable very usefull WP core feature. Hope, this is bug, not special push to Pro version.
- The topic ‘Redirect options’ is closed to new replies.