it seems one category has added a -1 at the end of the permalink. Where in the database would I fix this? I don’t recall having anything else with the same name. The category is Fishing under the Activities category on https://getdirections.asia
I really don’t understand what is happening. Now I have more categories with a -1 in the slug and have absolutely not added anything in the past few weeks to the site as it was all working. Please see the attached screenshot.
Hi Guust, sorry that’s not an option. These categories don’t exist anywhere else. That’s the whole point. Here’s what’s happening:
1. I open an existing category to add a keyword, example Accommodtion I add the keyword accommodation. I scroll down to save the category, now suddenly the slug has a -1. It just doesn’t make any sense. These categories have been ok for over a year. Now I just start to add some SEO and suddenly 30% of these categories show up with a -1 when I click on save. I stopped after the first 2 categories and subcategories as it is messing up all our custom links.
when I add a keyword with Rank Math to a category, it adds a -1 to the slug.
Are you using the same keyword as the category name?
These categories don’t exist anywhere else.
They do not have to be other categories. They can be keywords, page titles, tags, anything else that gets a slug.
It sounds like the SEO plugin is set to take priority for using slugs, or you are using the same keyword as the category name, and therefore when you save, the SEO slug gets saved first, and then the category slug.
I’ll get one of the developers to have a look at your question too, in case they think we need to have a closer look or there is some easy fix. But most likely it is just how WordPress works, and unless you use different slugs, you will get a -1 appended.
To open a new support ticket, first select the relevant forum and then click the "New Post" button. Example: You need support for the core plugin? Click on Core Plugin support and click on the "New Post" Button.