URL Archives | Websiteroof https://websiteroof.com/knowledgebase/tag/url/ The Best Canadian Web Hosting | Web Hosting Canada | Websiteroof Sat, 23 Jan 2021 16:34:12 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.5 https://websiteroof.com/wp-content/uploads/2020/02/cropped-websiteroof-logo-1024-1204-32x32.png URL Archives | Websiteroof https://websiteroof.com/knowledgebase/tag/url/ 32 32 How to create a user-friendly URL using .htaccess? https://websiteroof.com/knowledgebase/servers/siteworx-control-panel/how-to-create-a-user-friendly-url-using-htaccess/ Sat, 23 Jan 2021 16:34:12 +0000 https://websiteroof.com/?post_type=epkb_post_type_1&p=6181 If your website is using a long URL like example.com/files/folder/sitemap.html, you can change it into “example.com/sitemap” 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]

The post How to create a user-friendly URL using .htaccess? appeared first on Websiteroof.

]]>