If you do this globally via Settings/Permalinks, WordPress should handle any redirects.
I am not changing permalink structure. It would remain same %categories%/%post%/ . I want to change categories slug.
I was talking of changing slugs from Admin Menu > Posts > Categories > Quick edit > Slug
By the way, thanks for quick response.
If you edit individual category slugs, your links will be fine internally but you may break some incoming links.
Now since I have some good incoming links, I cant change it.
Is there any other option, that would automatically redirect?
As a general rule, WP core should do it.
As I understand it, the core can only handle redirects if the underlying slugs (ugly permalinks) remain unchanged. As soon as you manually edit a slug, you change the relevant db table value. WP can’t redirect if it doesn’t have a copy of the old slug… if you see what I mean.
Thanks esmi.
So, After changing slugs I need to write some rules in .htaccess. Right?
or something for those 301 redirects.
Right?
Pretty much, yes. You could try using the Redirection plugin but I found it easier to edit .htaccess file directly.
esmi, I am already using redirect plugin for blogspot to wp url redirects.
Can you please help me in writing .htaccess rule.
I would really appreciate if you can device some regular expression.