Learn how to remove .php file extension from URL

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • 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

  • @anandsharma3117
    @anandsharma3117 3 года назад

    Thanku so much sir ji it work perfectly

  • @absaar.6628
    @absaar.6628 3 года назад

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

  • @laks5ya00
    @laks5ya00 3 года назад

    Thanks sir

  • @zainbinpervaiz7694
    @zainbinpervaiz7694 2 года назад

    it is helpful for me

  • @3vilindian74
    @3vilindian74 2 года назад

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

  • @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?

  • @kartalpramanik2394
    @kartalpramanik2394 2 года назад

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

  • @haider.naseer
    @haider.naseer 5 лет назад +2

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

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  5 лет назад +1

      yes

    • @haider.naseer
      @haider.naseer 5 лет назад +1

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

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  5 лет назад +1

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

    • @haider.naseer
      @haider.naseer 5 лет назад +1

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

    • @haider.naseer
      @haider.naseer 5 лет назад +1

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

  • @dungar2852
    @dungar2852 Год назад

    .htaccess file ko link nahi karna hota kya sir

  • @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 :/

  • @mansuriyabrij7293
    @mansuriyabrij7293 3 года назад +1

    peramiter pass kese hoga ???

  • @devsabuj4818
    @devsabuj4818 3 года назад

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

  • @mirumermajeed3344
    @mirumermajeed3344 3 года назад

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

  • @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 ??

  • @wavemotivation3496
    @wavemotivation3496 2 года назад

    But old database not work after this

  • @topspickstatus1073
    @topspickstatus1073 2 года назад

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

  • @sarabjeetsingh6214
    @sarabjeetsingh6214 3 года назад

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

  • @surajyadhav9796
    @surajyadhav9796 3 года назад

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

  • @mkfitness1512
    @mkfitness1512 Год назад

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

  • @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?

  • @vaibhavvaidya935
    @vaibhavvaidya935 3 года назад

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

  • @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

  • @programingwithsagarsharma6544
    @programingwithsagarsharma6544 4 года назад

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

  • @mdabusufianashiq3566
    @mdabusufianashiq3566 4 года назад +2

    incomplete tutorial this one.

  • @KiranUgale
    @KiranUgale 6 лет назад +1

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

  • @shashank_rajak
    @shashank_rajak 3 года назад

    It doesn’t work at all

  • @programmerakash4572
    @programmerakash4572 4 года назад

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

  • @mdabusufianashiq3566
    @mdabusufianashiq3566 4 года назад

    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.

  • @dhruba59
    @dhruba59 3 года назад

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