I want to add functionality in admin panel for add / edit post with selection like main category and other category. Main category will be used to generate permalink of particular post.

Default wordpress uses alphabetical order of category for generate permalink.

Once permalink will be generated for particular post, that permalink should not be changed when post will be updated.

I want to do this just because of SEO purpose.

Please suggest me if anyone has solution. Any help would be appreciated!!

  • Your question is not clear. Please provide an example in your question Mar 31, 2016 at 6:59
  • I want to allow user to have functionality like select category for generate permalink with which category. Mar 31, 2016 at 8:26

1 Answer 1


Finally i got the solution.

I have used "WP Category Permalink" plugin to solve generate post permalink issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.