My HTML pages (e.g. cv.html) carry the file extension to the URL when loaded.
So I have www.mysite.com/cv.html
and I want:
www.mysite.com/cv
How do I do this??
My HTML pages (e.g. cv.html) carry the file extension to the URL when loaded.
So I have www.mysite.com/cv.html
and I want:
www.mysite.com/cv
How do I do this??
You need URL rewriting. You need to go to your .htaccess file and write something like this.
RewriteEngine On
RewriteRule ^cv?$ cv.html [NC,L]
If your user types in www.mysite.com/cv
, it will show up contents of www.mysite.com/cv.html
Last parts are flags. NC (case insensitive)
.L(last - stop processing rules)