Hi @stanley1789
We definitely offer the ability to rename the slug and also migrate all the posts from the old slug to the new slug, so you shouldn’t need to worry about items 2 and 3.
Regarding SEO and the first item, it wouldn’t hurt to redirect the old permalinks to the new one, in the event that WordPress doesn’t automatically do that (which it sometimes does).
Thanks, Michael!
When you talked about 2 and 3, did you mean about the option in basic settings?
“Migrate posts to newly renamed post type?“
Sorry to bother you, but I have one more question.
When I rename Post Type Slug and check the option Migrate posts to newly renamed post type? and everything went ok.
Will I have to redirect the posts that are already posted on social networks (they will have the old slug) or will the plugin(wordpress)do it automatically?
example.com/oldslug/post1 to example.com/newslug/post1
Best
When you talked about 2 and 3, did you mean about the option in basic settings?
Yes. When you rename the slug, and then also check that checkbox, upon saving the CPTUI post type settings, we will move all the posts from the old post type slug, to the new one.
Regarding redirecting, WordPress sometimes seems to manage to find the correct one to show, via ways I don’t completely understand but have seen. To be safe though, I’d recommend setting up redirects on your own.
I think something like this **may** work, but I haven’t tested it formally.
RedirectMatch 301 "/old-slug/(.*)$" "/new-slug/$1"
It will hopefully capture any URL coming in at the old slug, and redirect to the new permalink with the post name appended to the end like expected.