This page is going to show you how you can hide or remove the .php extension that ends the urls of your websites web pages, this making your websites web page urls look cleaner, neater and more professional.

The htaccess code that will hide/remove the php extension from your websites web pages gets entered in your websites htaccess file. If your site is powered by Wordpress then your web server already has an .htaccess file.

If your web server already has an .htaccess file:

  1. Using a ftp program like Filezilla, download your web servers htaccess file to your computer.
  2. Open the downloaded .htaccess file.
  3. Put the mouse cursor in the file and press the ENTER key a few times to ...