Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 2
How to change example.com/about.html to example.com/about
I created a website but it's about navigation is about.html & how to change example.com/about.html to example.com/about
1 Réponse
+ 1
you need to change the .htaccess of your server.
to contain
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]