> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Comment créer une URL conviviale / user-friendly en utilisant htaccess ?

# La procédure pour créer une URL conviviale / user-friendly en utilisant le fichier htaccess

Si votre site Web utilise une [URL](https://help.ex2.com/fr/article/comment-me-connecter-a-mon-compte-ex2-14amrhr/?bust=1784224658591) longue comme example.com/files/folder/sitemap.html, vous pouvez la changer en "example.com/sitemap" dans votre [fichier .htaccess](https://help.ex2.com/fr/article/quest-ce-que-le-fichier-htaccess-et-a-quoi-ca-sert-n8dhvr/?bust=1676469915557).

Modifiez cette ligne selon vos besoins puis ajoutez ce code à votre fichier .htaccess.

  
```
RewriteEngine on  
RewriteRule ^sitemap/$   /files/folder/sitemap.html [L]
```