Learn how to remove .php file extension from URL

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • 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:- bit.ly/LearnPH...
    To help and support me(Donate Me):- bit.ly/DonateP...
    Download .htaccess file from here bit.ly/htaccess...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅Subscribe: / @programmingwithvishal
    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.

КОМЕНТАРІ • 50

  • @sagarkokare9269
    @sagarkokare9269 3 роки тому +2

    1st time ever worked for me on local machine...🙏 Thanks dude

    • @sagarkokare9269
      @sagarkokare9269 3 роки тому

      These days I'm following your channel, your videos on image processing and google sheet APIs actually helped me alot. Thank you so much..❤️

  • @bhupendrarathore4958
    @bhupendrarathore4958 4 роки тому +2

    Sir bahut hi achha video hai
    Thanks

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Thanks Bhupendra

    • @bhupendrarathore4958
      @bhupendrarathore4958 4 роки тому

      @@ProgrammingwithVishal sir is code se .Php k bina bhi file run ho jati h lekin new file open krne pr fir se . php aa jata h
      Hm chahte h ki kb bhi hamari file open ho .php na aaye

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Aisa nahi hona chaiye. Please check properly

    • @bhupendrarathore4958
      @bhupendrarathore4958 4 роки тому

      @@ProgrammingwithVishal sir meine is code bina koi change kiye apne project me use kiya h
      Mujhe kuch change krna hoga kya is code me

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Nahi direct chalega ye

  • @absaar.6628
    @absaar.6628 2 роки тому

    you're such a nice influence, i feel honored to watch your videos♥️

  • @anandsharma3117
    @anandsharma3117 3 роки тому

    Thanku so much sir ji it work perfectly

  • @laks5ya00
    @laks5ya00 2 роки тому

    Thanks sir

  • @3vilindian74
    @3vilindian74 Рік тому

    Please make a full viedio of explaining .htaccess and all its functions🙏🙏

  • @zainbinpervaiz7694
    @zainbinpervaiz7694 Рік тому

    it is helpful for me

  • @mohitpratapmehra7225
    @mohitpratapmehra7225 4 роки тому +1

    sir main godday hosting use kr raha hu.. or jab main .htaccess use kr raha hu to .php extension hide ni horha but jab main index.php na type krke index type kr raha hu to file open hori hai normally open kr rha hu to .php extension show horaha hai.. Always open this directory in the future by default:
    Home Directory
    Web Root (public_html or www)
    Public FTP Root (public_ftp)
    Document Root for:
    is option main se bhi kisi pr click krna hai kya?

  • @rrenildopereiraa
    @rrenildopereiraa 2 роки тому

    if you have a tag you need to specify the extensions so this is useless because it will show the file extension if u click on a link tag :/

  • @mirumermajeed3344
    @mirumermajeed3344 2 роки тому

    sir just perplexed let me know how to remove folder name and file name when we work on live domain

  • @haider.naseer
    @haider.naseer 4 роки тому +2

    Good Video.
    Ager Multiple Pages Ho to Code Work Kary ga ?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      yes

    • @haider.naseer
      @haider.naseer 4 роки тому +1

      @@ProgrammingwithVishal Sir code few pages par work kar raha ha. login or get ki file work nahi karti

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      @@haider.naseer get ke liye htaccess pe rule set karna padega

    • @haider.naseer
      @haider.naseer 4 роки тому +1

      @@ProgrammingwithVishal ok , kia ap wo rule bta dey gey?

    • @haider.naseer
      @haider.naseer 4 роки тому +1

      @@ProgrammingwithVishal New File ya video link send kar dey jo All File par work ho
      haider24310@gmail.com

  • @mansuriyabrij7293
    @mansuriyabrij7293 3 роки тому +1

    peramiter pass kese hoga ???

  • @devsabuj4818
    @devsabuj4818 2 роки тому

    i have a problem regarding clean url...
    1.if i configure only one param from htaccess then my landing page(index.php) is not showing. showing product.php intead of index.
    2. how to pass multiple get data one page to another page using clean url.
    3. how do i mention multiple page to dedicated a href. actually when i tring to pass two param (product.php & category.php) it showing category.php but i want to show product.php(those two php file configured two param from htaccess)
    how do i solve it???

  • @samy4170
    @samy4170 4 роки тому +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.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      Check your mod redirect setting on server. I guess it is disabled

    • @samy4170
      @samy4170 4 роки тому

      @@ProgrammingwithVishal yes sir, i check by phpinfo(); it is not showing there,
      now how can I enabled it ??

  • @surajyadhav9796
    @surajyadhav9796 3 роки тому

    sir it working on XAMPP server but not on the live server please make one video for that

  • @kartalpramanik2394
    @kartalpramanik2394 Рік тому

    i am running my php code in tomcat server is it possible to hide extention ,htaccess is not working

  • @dungar2852
    @dungar2852 Рік тому

    .htaccess file ko link nahi karna hota kya sir

  • @wavemotivation3496
    @wavemotivation3496 2 роки тому

    But old database not work after this

  • @mkfitness1512
    @mkfitness1512 Рік тому

    anyone know , how to connect external php in html form without change html file extension

  • @vaibhavvaidya935
    @vaibhavvaidya935 3 роки тому

    Sir, what if we have different files of different extensions??

  • @sarabjeetsingh6214
    @sarabjeetsingh6214 3 роки тому

    SIR MENE SAME PROCESS FOLLOW KIYA BUT KOI CHANGE NI AATA URL MEI CAN U PLEASE HELP TO SOLVE IT SIR

  • @RaviKumar-lq6xi
    @RaviKumar-lq6xi 3 роки тому

    Sir, url se hit karne per hota hai but if we are hit on link then .php likh kar aata hai? Permanent kaise kare?

  • @programingwithsagarsharma6544
    @programingwithsagarsharma6544 4 роки тому

    Sir URL ma parameters kase set kare GA htccess ke helps sa plze sir solve my problem plz

  • @Ginfio
    @Ginfio 3 роки тому

    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

  • @topspickstatus1073
    @topspickstatus1073 2 роки тому

    But sir .php is still working, is there any solution that we can remove the php url permanently.

  • @KiranUgale
    @KiranUgale 5 років тому +1

    How you send me email I mean how to you know you're subscriber email id

  • @mdabusufianashiq3566
    @mdabusufianashiq3566 3 роки тому +2

    incomplete tutorial this one.

  • @mdabusufianashiq3566
    @mdabusufianashiq3566 3 роки тому

    Developers looking for that, how to remove .php extension from their PHP files. And, we're using maximum times link files for the navigation. So You should show, how to remove the .php extension from the ilnk.

  • @programmerakash4572
    @programmerakash4572 4 роки тому

    sir ye hm apne website kr rhe h to error aa jarhi h

  • @dhruba59
    @dhruba59 3 роки тому

    Hi how to enable .htaccess file on nginx ...I have installed amember pro but getting 404 error page
    Any solution??

  • @shashank_rajak
    @shashank_rajak 3 роки тому

    It doesn’t work at all