My .htaccess is not working properly

خرید بک لینک

This is very bizarre. I have never had this issue until now.

Basically I have a little code in .htaccess that removes the .php extension from the web pages. For some reason, it has stopped working for me. Localhost and live server give the same error if I go the webpage without .php extension. Weird thing is, I have the exact same .htaccess file being used for another site and it works perfectly fine on both localhost and same live server.

I would like to know what might be causing this? Here's the code.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [L]

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: my,htaccess is not working,my,htaccess is blank,my htaccess is empty,my,htaccess file is not working,my,htaccess file is not being read,is my htaccess working,how to check my htaccess is working or not, نویسنده: استخدام کار بازدید: 699 تاريخ: پنجشنبه 28 مرداد 1395 ساعت: 6:12

صفحه بندی