slugs on cpt adding 1 on end

This topic contains 4 replies, has 3 voices, and was last updated by  Simone 8 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #40977

    We Love Travel Group
    Free User
    Post count: 186

    Going through our cpt categories and updating the written content is causing our map icons not to show, they are showing standard map icons. Also the slugs are now adding a 1 to the end and giving 404 errors on front end. The categories or cpt need to stay same names, yet it is now not allowing this.

    Any ideas please?

    http://www.welovebangkokthailand.com/places/museums-1/

    I updated the map icons on activities and they all work fine, went to update attractions and now the above problems.

    Thank guys.

    #41012

    Simone
    Expired Member
    Post count: 3515

    I guess you figured out by yourself 🙂
    this was happening because you already had a page set with the same permalinks/slug

    #41036

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    Wordpress does not allow to have 2 identical slugs in the database.

    We’d need to have a look at your backend to tell you more about the default icon showing instead of the correct icon.

    Let us know,

    Thank you

    #41070

    We Love Travel Group
    Free User
    Post count: 186

    Hi Guys,

    Well to sort out the map icons i had to remove listings from the categories and then out them back in. The correct map icons now show.

    But the regarding the slugs,i now you cannot use an identical slug. But if i have used ‘bars’ for example then delete it and try to use ‘bars’ again it always adds a 1 to the end of it. Deleting cache etc makes no difference either. Is there another way to prevent this?

    #41076

    Simone
    Expired Member
    Post count: 3515

    You must delete the post also from the trash section, once you do that you will be able to use the slug again

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

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

Open Support Ticket