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 !
The post How to create user-friendly url using .htaccess? appeared first on HostingB2B.
Related Posts
-
Understanding Dedicated Web Hosting: Is It Right for You? September 13, 2024
-
Upgrade from CentOS 7 to AlmaLinux 8 Easily with ELevate Project August 21, 2024
Related How To
-
Check or change server time via WHM root June 9, 2021
-
Change the password of your WHM root account June 9, 2021