Remove .html and .php extensions with .htaccess
问题 How do I remove the file type from my webpages without creating a new directory and naming the file index.php. I want http://example.com/google.html to http://example.com/google. How would I go about doing this. PS: I tried looking at some other tutorials but there to confusing. I do now that it can be done in .htaccess 回答1: Yes, I know that this question was asked multiple times already and is answered, but I will give a little more comprehensive answer based on my experience. Here is the