Remove File Extention from URLs

Ditutup Disiarkan 5 tahun lepas Dibayar semasa penghantaran
Ditutup Dibayar semasa penghantaran

Hello,

I am looking for a rule that will hide all .php extensions and allow all the urls to have a trailing slash, Some of my urls also have - (dashes) in them so this will also need to be accounted for when creating the rule.

I have attempted:

RewriteCond /%{REQUEST_FILENAME}.php -f

RewriteRule ^(.*)/$ /$[login to view URL]

Please do not access for server access as I am capable of adding htacess rules.

JavaScript Linux MySQL PHP Kejuruteraan Perisian

ID Projek: #17701947

Tentang projek

12 cadangan Projek jarak jauh Aktif 5 tahun lepas

12 pekerja bebas membida secara purata £28 untuk pekerjaan ini

glennwilkins

sir pm me i am good in htaccess ... sir pm me i am good in htaccess ... sir pm me i am good in htaccess ...

£19 GBP dalam 0 hari
(199 Ulasan)
6.4
sumonkhansl

I understand your requirements. I can give you the htaccess code now.I think it will solve your problem.

£13 GBP dalam 0 hari
(101 Ulasan)
6.2
brownique

I am very experienced in the development and customization of htaccess. I can give you the htaccess snippet to remove the extensions

£24 GBP dalam sehari
(106 Ulasan)
5.7
monsune

Hello from Poland. Lots of sysadmin experience here. You don't really need to use Rewrite to achieve your goal. Please let me know in the chat if you would like me to show you another approach. I'm usually around for a Lagi

£12 GBP dalam 0 hari
(52 Ulasan)
5.0