How to create user-friendly url using .htaccess?
by Maria S
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.
RewriteRule ^sitemap/$ /files/folder/sitemap.html [L]
Visit our blog for more knowledgebase articles !
March 1, 2024
February 23, 2024