plamen_003
Registered
Какво трябва да напиша в .htaccess за да премахна .php от всички файлове?
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Options -Indexes
Options -ExecCGI
AddHandler cgi-script .php .php3 .php4
<Files "*.php">
Order allow,deny
Deny from all
</Files>
<Files "*.php3">
Order allow,deny
Deny from all
</Files>
<Files "*.php4">
Order allow,deny
Deny from all
</Files>
<Files "*.php5">
Order allow,deny
Deny from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php