Remove PHP Extension from URL using .htaccess

preview_player
Показать описание
Learn How to remove the file extension from the url in PHP using .htaccess file. How to remove the .php file extension and variables from the url with .htaccess. How to hide .php extension from url using .htaccess file. How do I remove .php extension from URL with .htaccess. Remove or Hide File extension with .htaccess.
Рекомендации по теме
Комментарии
Автор

I am not getting the same result at 7:50. The .php still exists. I don't see how you are removing the .php extension with this code.

racingheartentertainment
Автор

@Webslesson, this was very useful. Thanks and God bless you!

sureboi
Автор

When I am using your htaccess code on my website. It has shows "Internal Server Error". How to fix this. Please guide me. Thank you

parvatibentandel
Автор

I can you make a video, how how to automatically delete data in database in 1 hour/day

vantex
Автор

Is there a way I can transition the code of calendar from the code igniter to laravel.If you know this can greately help me

nyonjevista
Автор

can i use this method for ajax? will work?

sergioesparza
Автор

If we have 200+ PHP files then how possible ways to doing it? We can't mention every file name into .htaccess file. So how we can do it? Please reply as soon as possible sir.

adityamore
Автор

Can you help me?
What if I have a folder name in the same directory as a file name which has the same name as the folder:

- index.html
- xyz (folder)
vb.html
abc.html
- xyz.html

Ginfio
Автор

Session not working after htaccess rewriterule


How to fixed it please help

ddyou
Автор

Hello please whenever I create the .htaccess file and did exactly the way you did and save it the whole website will just take off and show error please help I have tried this for months now 🙏

nurmuhammadhassan
Автор

It was a great tutorial ... you earned a sub... I want to apply this not just for php files but also html files. Basically am talking about pretty-urls. Please upload a video on that topic.

rowdyghatkar
Автор

What if the .php files aren't in the root directory ?

xibinhu
Автор

please php crud with clean url.it will help us in real projects

dastgirakhtar
Автор

Sir please start follow unfollow system using php

gamerankster-uranusplayer-
join shbcf.ru