0
Answered

I cannot remove the .html extension in my website on local computer

InMotionFans 5 years ago in Website / Html5 0
I cannot remove the .html extension in my website on local computer, how can I remove it , even after adding .htaccess file unable fetch the desired result .
Hello, Thanks for the question. The actual file on your server will need to be identified as an HTM, PHP, HTML file, etc. So you really aren't removing the extension. You use a the .htaccess file to re-write the URL's that are being requested so that your visitors will not see the extensions. There are many tutorials online that can help you with this. Check out this post for the code necessary to remove the .HTML extension. I hope that helps to answer your question! If you require further assistance, please let us know! Regards, Arnel C.