Hello CSS-tricks,
I have been trying to remove .php/.html from my url but I seem to be having trouble.
I followed the example post in Here
my .htaacces file is in my main folder. Website = http://www.dnwebdev.com
\RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.*)$ $1.html <h1>Replace html with your file extension, eg: php, htm, asp</h1> \
I would appreciate some help, I am a front end developer so this server side is very confusing to me.
Edit: I link my urls with…
<
pre> `<a href="index.html" id="current">Home</a>
</code></pre>
<p>`
is that what is causing the ".html" to show up?
Robert