How to create user-friendly url using .htaccess?
If your website is using long URL like example.com/files/folder/sitemap.html, you can change it into user-friendly URL like “example.com/sitemap” using .htaccess
You simply have to modify the following lines according to your needs and then add them to your .htaccess file.
RewriteEngine on
RewriteRule ^sitemap/$ /files/folder/sitemap.html [L]
Visit our blog for more knowledgebase articles !
Recommended Posts
![alternative OS for CentOS 7](https://www.hostingb2b.com/wp-content/uploads/2024/06/KNOWLEDGEBASE-Instagram-Post-4-420x330.png)
Choosing the Best Alternative OS for CentOS 7
June 7, 2024