Hi @lsilver,
if “Redirect native URI” option is active, my plugin will automatically redirect the old/native permalinks (the ones used when my plugin is disabled) to the actual one altered with my plugin.
#1 (original, native permalink)
http://example.com/product/sample-product
#2 (first version of custom permalink)
http://example.com/sample-product
#3 (second version of custom permalink)
http://example.com/sample-product-with-changed-url
For instance, you changed the (#1) native permalink to (#2) some custom permalink and then again to (#3) another version of URL. In free version of plugin, always, the native permalink (#1) will redirect to the custom one – either #2 or #3, not both #2 and #3.
If you would like to redirect all the custom permalinks used before, you will need to use Permalink Manager Pro. Then, after you change the custom permalink, my plugin will ALWAYS automatically create the custom redirects after the custom permalink changes:
https://permalinkmanager.pro/docs/faq/old-permalinks-redirect/
Could you tell me more about the issue with trailing slashes redirect?
Best regards,
Maciej
-
This reply was modified 6 years, 10 months ago by
Maciej Bis.
-
This reply was modified 6 years, 10 months ago by
Maciej Bis.
As an example of the trailing slash issue . . .
Original URL = https://domain.com/original-url/
Updated URL = https://domain.com/new-url/
The redirect is sending them to:
https://domain.com/new-url (no trailing slash)
No clue why that’s happening as the “force trailing slash” option is selected, and was selected before that URL change took place.
Is there a way to see all URLs where the permalink was changed via Permalink Manager and that would have a redirect being managed by Permalink Manager?
Does the issue (I mean the redirect goes to page without trailing slash) occurs on all subpages or only part of them?
As regards your second question, it might be not simple. If you would like to list all the “native -> custom permalink” redirects, you will need to use this snippet:
https://ww.wp.xz.cn/support/topic/how-can-i-determine-whether-the-plugin-has-been-used/#post-11625694
Also, you can find the additional external redirects in Debug section of Permalink Manager admin dashboard (“Array with redirects”).
I adjusted the code snippet. You can use this code snippet to list:
- native -> custom permalink redirects
- custom redirects added via my plugin
https://gist.github.com/maciejbis/db89eac1b45fe8f28289025984f121c4