Fermé

Remove File Extention from URLs

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.

Compétences : Javascript, Linux, MySQL, PHP, Architecture Logicielle

en voir plus : hide php extension url rewriting using htaccess, remove .html from url javascript, remove .html from url godaddy, remove php extension from url apache, remove index.html from url htaccess, how to remove php extension from url using htaccess, remove .php extension from url using htaccess, how to hide .php extension in address bar, file extention aspnet, upload file extention, enter file extention sql, can file extention cnet, alfresco remove file web services, remove file duplicates linux script, 301 remove file extension url, aspnet check file extention, linux script remove file, cakephp remove file, remove file line shell script, script add remove file lines

Concernant l'employeur :
( 0 commentaires ) Newport, United Kingdom

Nº du projet : #17701947

13 freelance font une offre moyenne de £27 pour ce travail

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 ...

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 0 jours
(165 Commentaires)
6.2
sumonkhansl

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 0 jours
(94 Commentaires)
6.1
amitmishra2u

Hi, I can start now, I have gone through your project ("Remove File Extention from URLs ") requirements and found myself as a best available freelancer for this project. I can write script for Remove File Extention Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(4 Commentaires)
5.2
brownique

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(79 Commentaires)
5.2
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 0 jours
(37 Commentaires)
4.7
mayankinnovative

Dear Client, We are expertise in php, core php, CMS, HTML5, CSS3, bootstrap, WordPress, OpenCart, Magento, PSD to HTML, Angular JS, Node JS photoshop, OPencart, Codeignitor, Laravel and many other technologies. We have Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 4 jours
(66 Commentaires)
4.4
ramanbaghla

"i can start your work right now" hii there, please share the url of the website where you want to changes? please share the credential of your website so i would check and let you know exact time and budget. plea Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(14 Commentaires)
3.8
ashish10151995

Hi, my name is Ashish Choudhary. I have over 3 years experience in the web and software development. My portfolio includes several of the projects that I’ve successfully developed. I believe my strong points are prima Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(5 Commentaires)
3.5
sherlockcse

I have a script that will remove your php extension from url thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0
archanakeshri123

Ayushi will provide fully interactive website for your project. As per the detail, Ayushi will provide three template functional schemes and sample pages to make your choice for layout. It will be developed as per yo Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0
kvmgroupbiz

Hi there greetings from Mac. I go through ur project and I got what to do. I can do this project. with regards! Mac kvmgroupbiz. [login to view URL]

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 3 jours
(0 Commentaires)
0.0
bentr

This should work: RewriteEngine On # Unless directory, remove trailing slash RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]+)/$ [login to view URL]$1 [R=301,L] # Redirect external .php requests Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 5 jours
(0 Commentaires)
0.0