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 12:04 PM
Others (SiteWorx)
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?
Self-Hosted Help Desk Software by
SupportPal
Categories
202
cPanel - Control Panel
4
— Backup/Restore
11
— Databases
11
— Domain Management
31
— Email
8
—— Mail Filters & SPAM
7
—— Android
4
—— iOS/Apple
6
—— Outlook 2019
9
— FTP
5
—— FileZilla Client
12
— Security
76
— Softaculous
16
—— Blog
43
—— CMS/Portal
15
—— Forum
5
— SSL (cPanel)
9
— Cloudflare (cPanel)
10
— CloudLinux (cPanel)
6
DNS - Nameservers
6
Installing a Control Panel
3
Others
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
19
SolusVM
6
— SolusVM Basic
13
— SolusVM VPS Management
17
WordPress
48
DirectAdmin
4
— 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)
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
Tags
nameservers
reseller
© WebHostingBuzz
English