Answers.Body: <p>You can connect to your database and run:</p>
  
  <pre><code>SELECT * FROM craft_elements_i18n WHERE slug = 'forms';
  </code></pre>
  
  <p>to see what other element is already using the slug <code>forms</code>.</p>
  
  <p>To see what type of element it is (Entry, Asset, etc.), cross reference the <code>elementId</code> column of the result with the <code>id</code> column in the <code>craft_elements</code> table.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-26T07:06:27.473Z
Answers.Text: 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';`
Answers.UserDisplayName: Alex Roper
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-26T17:49:56.517Z
Answers.LastActivityDate: 2016-04-26T17:49:56.517Z
Answers.UserDisplayName: Brad Bell
Body: <p>Each time I try to rename a slug within an entry, the page refreshes, but the slug is getting a <code>-1</code> appended.</p>
  
  <p>The slug I want is: <code>forms</code>. The slug I get after saving is: <code>forms-1</code>.</p>
  
  <p>I've checked through all the other entries and there's no duplicate slug.</p>
  
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-26T15:01:50.697Z
Comments.Text: Im pretty sure that craft will do this by default since you aren't using a dynamic slug like `{title}` or `{id}`
Comments.UserDisplayName: mcclaskiem
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-26T15:18:12.297Z
Comments.Text: But I _can_ manually update the slug to `forms-something-else`, but not just `forms`.
Comments.UserDisplayName: Matt Ellis
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-26T16:03:44.460Z
Comments.Text: Is forms the name of the section?
Comments.UserDisplayName: mcclaskiem
Tags: <entries><entry><slug><saveentry>
Title: Can't rename slug
ThreadText: # Can't rename slug
  
  (Asked by: username_0 on 2016-04-26)
  
  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?
  
  **Tags:** entries, entry, slug, saveentry
  
  > **Comments:**
  > **username_1**: Im pretty sure that craft will do this by default since you aren't using a dynamic slug like `{title}` or `{id}`  
  > **username_0**: But I _can_ manually update the slug to `forms-something-else`, but not just `forms`.  
  > **username_1**: Is forms the name of the section?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-04-26. Score: 3 | Accepted answer
  
  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.
  
  > **Comments:**
  > **username_3**: 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';`  
  
  ---
  
  