Learn how to remove .php file extension from URL

Today I will show you how to remove .php file extension from URL
in Hindi.

So, here is a trick, you can achieve this from the .htaccess file. .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer.

Learn PHP Online with Me:-

To help and support me(Donate Me):-

Download .htaccess file from here



I am a Digital Marketer by passion and a Developer by profession. With experience and expertise spanning around 10 years, in the Digital space.

Good amount of experience in development of web applications using PHP, .Net, JavaScript Library’s, Frameworks, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital viral marketing, technology innovation’s, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise.

Nguồn: https://svdpch.org/

Xem thêm bài viết khác: https://svdpch.org/cong-nghe/

6 thoughts on “Learn how to remove .php file extension from URL”

  1. sir it's only working only on localhost, not working online hosting and show below error.
    404 – File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.


Leave a Comment