➤ Autentificare | |
TPC Hosting Support
Centru de suport
A apărut o problemă la încărcarea comentariilor.

Create a User-friendly URL by using htaccess

Portal de suport  »  Bază de cunoștințe  »  Vizualizare articol

  Tipărește

You can shorten the URL of your website by setting up htaccess to map a long URL such as example.com/files/folder/sitemap.html to example.com/sitemap.
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]

Distribuiți prin
Ați găsit acest articol util?  

Articole similare


Comments

Adaugă Comment

Răspuns pentru  

Categories