How to create a user-friendly URL using .htaccess?

  • November 14, 2022

If your website is using long URL like, you can change it into "" in .htaccess

Modify this line according to your needs and then add this code to your .htaccess file.

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

How helpful was this article to you?

Posting has been disabled.