The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › .htaccess
Using htaccess how do you remove .html from the url?
i tried that and it didn’t work :(
Where did you put the .htaccess file?
just dropped in with the rest of the files as the hosting company said to do that and I’m not sure how to access the file root.
Should say “public” or “home”. Ask your hosting company where it is.
Add this to the .htaccess file in the ROOT directory of where these files are. Obviously this will only work with a page named “about.html”.
RewriteRule ^about$ about.html [L]