Each time I try to rename a slug within an entry, the page refreshes, but the slug is getting a -1 appended.

The slug I want is: forms. The slug I get after saving is: forms-1.

I've checked through all the other entries and there's no duplicate slug.

Any ideas?

  • Im pretty sure that craft will do this by default since you aren't using a dynamic slug like {title} or {id}
    – mcclaskiem
    Commented Apr 26, 2016 at 15:01
  • But I can manually update the slug to forms-something-else, but not just forms.
    – Matt Ellis
    Commented Apr 26, 2016 at 15:18
  • Is forms the name of the section?
    – mcclaskiem
    Commented Apr 26, 2016 at 16:03

1 Answer 1


You can connect to your database and run:

SELECT * FROM craft_elements_i18n WHERE slug = 'forms';

to see what other element is already using the slug forms.

To see what type of element it is (Entry, Asset, etc.), cross reference the elementId column of the result with the id column in the craft_elements table.

  • 1
    Note: If you're using Craft 3, the table you need to search it "craft_elements_sites". So the query would be SELECT * FROM craft_elements_sites WHERE slug = 'forms';
    – Alex Roper
    Commented Nov 26, 2019 at 7:06

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.