Remove File Extention from URLs

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

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 Software Architecture

Project ID: #17701947

About the project

12 proposals Remote project Active 5 years ago

12 freelancers are bidding on average £28 for this job

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 in 0 days
(199 Reviews)
6.4
sumonkhansl

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

£13 GBP in 0 days
(101 Reviews)
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 in 1 day
(106 Reviews)
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 More

£12 GBP in 0 days
(52 Reviews)
5.0