How to Remove .php .html Extensions from URL using htaccess

Hi! This post will show you how to remove .php and .html extensions from url using htaccess file. Having file extensions like .php, .html at the end of an url does not hurt seo but removing them will make the url more readable. CMS like Wordpress hides file extensions in url which makes it user friendly. You can do the same to other websites (even the one built with core PHP) with the help of .htaccess file.

An .htaccess File is an ASCII file which allows you to set configurations of the Apache Server. With htaccess file, you can rewrite URIs, block IPs, restrict access to directory with password etc. Here we'll see how to remove/hide the file extensions from url with htaccess file.

Read more »

0 Response to "How to Remove .php .html Extensions from URL using htaccess"

Posting Komentar