7 replies
Hey guys,

Just a quick one...How do you make a page for an html site that you can visit with having to type .html or .htm on the end. For example if I wanted to tell people to visit...

www.mysite.com/freegift

I want them to be able to type that in and visit the page directly without having to type...

www.mysite.com/freegift.html

Any ideas?
#hmmm #needed
  • Profile picture of the author Lou Diamond
    Hello,
    this is the way it is done.
    You make a new folder with the name:
    freegift and then you put the index file in there.
    Real simple.
    Signature

    Something new soon.

    {{ DiscussionBoard.errors[1490963].message }}
  • Profile picture of the author Keith Boisvert
    Originally Posted by chameleon View Post

    Hey guys,

    Just a quick one...How do you make a page for an html site that you can visit with having to type .html or .htm on the end. For example if I wanted to tell people to visit...

    www.mysite.com/freegift

    I want them to be able to type that in and visit the page directly without having to type...

    www.mysite.com/freegift.html

    Any ideas?
    Create a folder on your site called "Freegift", and then inside it put your a file called index.html(essentially the freegift.html stuff). Send them to Yourdomain.com/freegift.

    That's it.

    keith

    Lou beat me too it, lol
    {{ DiscussionBoard.errors[1490964].message }}
    • Profile picture of the author Bjarne Eldhuset
      You can do like Keith and Lou said.

      If you have 10 html files in folder, the one that will open up in the browser is the index.html.

      So if you have this folder:

      folder/test1.html
      folder/banana.htm
      folder/apple.gif
      folder/ninjatactics.pdf
      folder/index.html
      folder/kingston.jpeg

      ..and you send people to www.yourdomain.com/folder/

      the site that will open up in their browser is
      www.yourdomain.com/folder/index.html
      Signature
      {{ DiscussionBoard.errors[1490978].message }}
  • Profile picture of the author Tom Lazenby
    Haha Lou was in there super quick :-)

    Thanks guys, you rock!
    Signature

    YES IT IS STILL POSSIBLE
    !
    Not Only That, It's Perfectly Legal & Whitehat!
    CLICK HERE
    FOR DETAILS
    {{ DiscussionBoard.errors[1490981].message }}
    • Profile picture of the author Armandotoledo
      Hi Warriors,
      What is different of use .html and .htm?
      I created a website with nvu, its must be .html. How can I use .htm?
      Help please
      Thanks
      Wong
      {{ DiscussionBoard.errors[1491172].message }}
  • Profile picture of the author Istvan Horvath
    Nothing. I mean the difference is nothing.

    Normal editors save files with html extension.
    M$ editors save them with htm extension.

    Web browsers and servers will treat a file with an HTM extension exactly as it would a file with an HTML extension.
    Signature

    {{ DiscussionBoard.errors[1491190].message }}
  • Profile picture of the author rekid
    lol! awesum. thanks guys, i've always wondered how that was done. no longer content with the .html
    {{ DiscussionBoard.errors[1491957].message }}

Trending Topics