Remove .html extension from URLs using url rewrite in IIS 8 for html website

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 20

  • @seansull
    @seansull 8 лет назад

    THANK YOU SO MUCH!! When I look for help with iis, most of the people hosting sites are using nginx or some non-windows based platform, which makes finding help for iis a bit harder. But thanks again, this is probably the most helpful channel when it comes to iis errors!!

    • @SachinSamy
      @SachinSamy  8 лет назад

      +Sean S You are welcome If you find our tutorials useful Please, consider making a small donation. Even a small amount of money can help us continuing our work Thanks!

  • @danielcampos7559
    @danielcampos7559 7 лет назад

    I've seen all videos and now I have a better understand of IIS, thank you a lot !!

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

    What happens if I use a query string parameters ?

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

    Hi Sachin, thanks for this but after adding the web.config in root directory of my website and where the html file is located. I am getting this error Config Error Cannot add duplicate collection entry of type 'rule' with unique key attribute 'name' set to 'Hide .html ext'. Config File \\?\C:\inetpub\SITES\kas\web.config. Need your help how to fix this error. thanks

  • @GregoryMcCarthy123
    @GregoryMcCarthy123 9 лет назад

    Hi Sachin Samy, great tutorials! You're a great teacher. I just installed a self-signed certificate on my server with your help. Great videos!!

    • @SachinSamy
      @SachinSamy  9 лет назад

      +Greg McCarthy If you find these tutorials useful
      Please, consider making a small donation. Even a small amount of money can help us continuing our workThanks! :)
      www.itzoz.com/p/donation.html

  • @a4ankit27
    @a4ankit27 8 лет назад

    Thanks for the video and such a detailed explanations. > However, i am facing a problem. I did exactly the same as you did in this video. I am working on a personal project , but after rewriting the code in web.config file, i get the error in the browser as "This webpage has a redirect loop" "ERR_TOO_MANY_REDIRECTS".
    After googling a little , they asked me to clear the cookies from the chrom browser. It did not work in IE as well. I made sure that a tags have proper hrefs without .html extension.
    Any kind of suggestion would be great :)

  • @eJagatcom
    @eJagatcom 5 лет назад

    what is the solution for Subfolders file?

  • @BrianReyesFilm
    @BrianReyesFilm 7 лет назад

    Thank you, this worked but now I am no longer able to access the website from inside my network. I host my website internally. I can access the website from outside of the network. Please help.

  • @loknadhravineni3443
    @loknadhravineni3443 5 лет назад

    great tutorial please increase the volume of video i had full volume on my pc and youtube window but i could hardly hear and also minimize background sound it will be more great

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

    Thank you, from brazil!

  • @a4ankit27
    @a4ankit27 8 лет назад +1

    Ok, So the problem is solved if any one finds the same ... The problem is the directory structure of your project. This video shows the web config setting only if the html files are NOT in any folder and are in the ROOT of the project. In my case all my html files are in a folder called html..
    This is my project directory structure.
    Project Name -> html(folder) -> html files.
    The error that i was getting was "This webpage has a redirect loop" "ERR_TOO_MANY_REDIRECTS". , which was basically telling me too may redirects. . I tried creating an html file in the root and tried to redirect there and BOOM... it worked..
    Now you can always play with finding a solution to that problem.. however i found an easier rewrite rule which takes care of the directory structure.
    Check this out. stackoverflow.com/questions/23374674/remove-html-extension-from-urls-in-windows-server
    This is it !!! MUCH simpler to understand as well

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

    Thank You! You've been a god send :)

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

    Thank you! good sharing!

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

    Thanks From Perú

  • @bl4ck_dot
    @bl4ck_dot 8 лет назад

    Thank you