Skip to main content

Hide php extension

Comments

2 comments

  • Licensecart
    I believe you can use this:
    RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php
    In your .htaccess
    0
  • cPanelMichael
    Hello, You may also find the following third-party URL helpful: Remove .php extension with .htaccess Thanks!
    0

Please sign in to leave a comment.