How to Remove PHP Extension From URL
Nov 20, 2021
How to Remove .php Extension From URL
In this post, we will show you how to remove the .php and .html extension from the URL using htaccess file. Having file extensions like .php, .html at the end of the URL doesn’t hurt SEO, but removing them will make the URL more readable. CMS like WordPress hides file extensions in URLs which makes it user-friendly. You can do the same for other websites (even those built with core PHP) with the help of the .htaccess file.