how to remove php html extensions from website

Written by

For remove .php 

Add this code on your .htaccess file

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

For Remove .html
Add this code on your .htaccess file
RewriteRule ^([^\.]+)$ $1.html [NC,L]
 

About Nikhil Darji

Hi i am Nikhil Darji,a freelance web designer and Seo Expert and founder of Royaliker Being inspired from the success of my app,I noticed that my fellow friends also wanted to share their knowledge to the world in the form of eBooks just as I did!o I began to think about this matter and guess what, with the knowledge, I now came up with my another great idea, An Website where all people could come and Join to form a Social Community..
Article Categories:
Uncategorized

Leave a Comment

Your email address will not be published. Required fields are marked *

 

Shares
Menu Title