Overview: How to Create a User-friendly URL Using htaccess
This guide explains How to Create a User-friendly URL Using htaccess step‑by‑step and why it matters for security, uptime, and performance. It’s written for small and medium businesses that rely on Blackhawk MSP for proactive, managed IT support in the Bay Area and beyond.
- ✅ Clear, actionable steps
- ✅ Best‑practice notes from our MSP engineers
- ✅ Links to related services and help
Tip: If you’re short on time, contact us — we’ll handle this for you and verify everything is working.
If your website is using a long URL such as example.com/files/folder/sitemap.html, you can change it to "example.com/sitemap" using 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]
Video tutorial temporarily unavailable while we refresh links. If you need more help, please call us at 1-925-218-4000.
Need help? Blackhawk MSP can do this for you, verify success, and document the change. Call 1‑925‑218‑4000 or open a ticket.