0

I have been encountered a problem that is -

When i am adding a sub category it fine and showing as expected but when i try to update that category again then slug automatically changed to another.

Example:

Category name: Lab slug: lab & Sub category name: Water lab slug: water-lab

When i open sub category water lab and hit update then slug changed to water-lab-1 or sometimes it changed to water-lab-lab

I am running wordpress version - 4.4.2 and I've been running some number of plugins currently.

2
  • what is your "permalink" setting?, have you tried disabling plugin just to make sure? Commented Apr 21, 2016 at 6:01
  • permalink settings is set to: Custom structure - /articles/%postname%/ no didn't tried to disabled plugin
    – Hadi
    Commented Apr 21, 2016 at 6:04

1 Answer 1

0

Slugs are unique. You probably have a tag with slug "water-lab" so wordpress renames your Sub category. Please double check that there is not article, tag etc with the same slug

3
  • When I create a sub category and put name "test lab" and slug automatically create "test-lab" but when I go to edit mode again and update it slug does update as "test-lab-1" I hope you get it now
    – Hadi
    Commented Apr 22, 2016 at 12:34
  • You have this problem with all plugins disabled? Commented Apr 22, 2016 at 12:37
  • No, I need to test that with all plugin disabled that's the only option left for me. I never encountered that this kind of problem before
    – Hadi
    Commented Apr 22, 2016 at 12:39

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.