Remove File Extention from URLs

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

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 Arquitectura de software

Nº del proyecto: #17701947

Sobre el proyecto

12 propuestas Proyecto remoto Activo hace 5 años

12 freelancers están ofertando un promedio de £28 por este trabajo

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 en 0 días
(199 comentarios)
6.4
sumonkhansl

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

£13 GBP en 0 días
(101 comentarios)
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 en 1 día
(106 comentarios)
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 Más

£12 GBP en 0 días
(52 comentarios)
5.0