Back to website
Login
Home
Login
Register
Back to website
There was a problem loading the comments.
How to create a user-friendly URL using .htaccess?
Support Portal
»
Knowledgebase
» Viewing Article
Print
06/19/2019 09:48
Others
If your website is using 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]
Share via
Did you find this article useful?
Related Articles
How to create a user-friendly URL using .htaccess?
How to redirect a subdomain to an external URL in Plesk?
How to Redirect subdomain to an external URL?
Categories
5
Backup/Restore
24
cPanel - Control Panel
11
Databases
6
DNS - Nameservers
10
Domain Management
17
Email
6
— Mozilla Thunderbird
6
— Outlook 2019
9
FTP
5
— FileZilla Client
6
Installing a Control Panel
8
Mail Filters & SPAM
11
Mobile
7
— Android
4
— iOS/Apple
3
Others
10
Security
61
SiteWorx (Control Panel)
2
— Backup/Restore
4
— Domain Management
6
— Email (SiteWorx)
3
— FTP
3
— Others (SiteWorx)
4
— Security (SiteWorx)
8
— SiteWorx Basic
31
— Softaculous (SiteWorx)
14
—— Blog
2
—— CMS/Portal
13
—— Forum
76
Softaculous
16
— Blog
43
— CMS/Portal
15
— Forum
19
SolusVM
6
— SolusVM Basic
13
— SolusVM VPS Management
5
SSL (cPanel)
17
WordPress
47
DirectAdmin
3
— Backup/Restore
8
— Databases (DA)
8
— Domain Management (DA)
6
— Email (DA)
4
— FTP
7
— Mail Filters & SPAM
10
— CloudLinux (DirectAdmin)
18
WHM
12
— WHM (For Resellers)
5
— WHM (Root)
9
Cloudflare (cPanel)
10
CloudLinux (cPanel)
7
PayPal
47
Plesk
4
— Backup/Restore (Plesk)
10
— CloudLinux (Plesk)
5
— Databases (Plesk)
6
— Domain Management (Plesk)
4
— Email (Plesk)
4
— FTP (Plesk)
14
— General (Plesk)
19
Virtualizor
4
— Virtualizor Basic
15
— Virtualizor VPS Management
© HostForWeb
English