# How can I change the slug in the URL?

In URLs, a **slug** is the part that comes after the final slash, identifying a specific page in a readable and SEO-friendly way, often using keywords.&#x20;

It's customizable for clarity and search engine optimization (SEO).

### How to change the slug in your URL

1. Select the GitBook space and **locate the specific page that requires the slug** change in the Table of contents.&#x20;
2. Hover over the page and click on [**more actions**](/docs/resources/gitbook-ui.md#the-actions-menu) <picture><source srcset="/files/gDMemHIygxypRiYlUPVS" media="(prefers-color-scheme: dark)"><img src="/files/S3l4PKJM3gYKkFdDPFDB" alt=""></picture> next to the page you want to edit.
3. Choose **rename.** You will find the option to edit the slug according to your needs.
4. Make your changes and click **save**.&#x20;

<figure><img src="/files/YkJaPuHiN4qS7rTBVcOo" alt=""><figcaption><p>How to change the slug in your URL</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/help-center/published-documentation/custom-domains/how-can-i-change-the-slug-in-the-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
