category slug auto changing to category-1

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #535838

    JD Parkman
    Expired Member
    Post count: 7

    slug structure in my cateogry urls for some reason decided to change to category-1 and nothing I do keeps it from reverting back automatically. Its wrecking my seo. need solution. https://bestcontractorawards.com

    #535870

    Alex Rollin
    Moderator
    Post count: 27815

    That means there must be duplicate slugs in the database, for tags or listing slugs or pages or even categories from another post type.

    https://wpgeodirectory.com/docs/better-search-replace-plugin/

    #535898

    JD Parkman
    Expired Member
    Post count: 7

    Made the changes in the db to the slugs and it worked, till I made a normal edit to one of the categories and upon saving it it switched it back to category-1. Thats cant be normal for that to occur because theres always edits that needs to be done to content and having the url slug structure renamed to some random value each time has to be a glitch

    #535902

    Alex Rollin
    Moderator
    Post count: 27815

    Did you try searching for the slug across the whole database?

    There will be a duplicate somewhere. It isn’t possible to just replace category-1 with category.

    For example ‘cabinetry’ – if you search for that you will find a tag or something else with that slug.

    One strategy is to add more words tot he category like ‘cabinetry-experts’ – something like that.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount