Knowledgebase
Comment créer une URL conviviale en utilisant .htaccess? Print this Article
Si votre site Web utilise une URL longue comme example.com/files/folder/sitemap.html , vous pouvez le changer en "< strong> example.com/sitemap "dans .htaccess
Modifiez cette ligne en fonction de vos besoins, puis ajoutez ce code dans votre fichier .htaccess.
RewriteEngine on
RewriteRule ^sitemap/$ /files/folder/sitemap.html [L]
Was this answer helpful?
Related Articles
php error: Allowed memory size of x bytes exhausted
If you are getting an error like "Allowed memory size of... in file...
If you are getting an error like "Allowed memory size of... in file...
How to redirect a page to another page or website using .htaccess?
If a page on your website no longer exist and you want to redirect it to your new page or website...
If a page on your website no longer exist and you want to redirect it to your new page or website...