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
20/06/2019 3:48 AM
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 Create a "User Level Email Filter" in cPanel?
How to create a new database user in DirectAdmin?
Categories
4
Backup/Restore
24
cPanel - Control Panel
11
Databases
6
DNS - Nameservers
10
Domain Management
11
Email
6
— Mozilla Thunderbird
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
38
DirectAdmin
4
— Backup/Restore
8
— Databases (DA)
8
— Domain Management (DA)
6
— Email (DA)
4
— FTP
7
— Mail Filters & SPAM
18
WHM
12
— WHM (For Resellers)
5
— WHM (Root)
© Vetta Group