A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: how do they do this?

  1. #1
    Registered User
    Join Date
    Jul 2000
    Posts
    88
    Just a small query, but one I've never got round to asking about.

    How do you set things up so that, for example, on my site, I've got a wallpapers page, and instead of saying to get there put in http://www.jimpix.co.uk/wallpapers.htm you can just drop the htm, so it's just wallpapers at the end. Lots of sites do this, which I think looks a lot more professional than having to put the file extension on the end.

    Any ideas?

    Many thanks

    Jim

  2. #2
    Create a folder (directory) inside your www bin named wallpaper, then put all of the wallpaper pages and images inside this folder. Change the name of wallpaper.htm to index.htm, and make sure all of your href's are changed to reflect this modification, then your url will read correctly.

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Posts
    155
    i think you'll have to name the file index.html not index.htm for it to work i think it also works with Default.html as well.

  4. #4
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997

    exactly, oz

    Instead of naming your homepage wallpapers.html, just rename it index.html and you won't have to type it in to get to that page, that's the default page on which you land.

    Take my site for example (shameless plug ). Instead of typing http://www.richpaul.com/index.html , you just type http://www.richpaul.com and that gets you right there, no problem.

    Rich

  5. #5
    HTM or HTML they will both work, the important thing to remember is that you have to create a "wallpaper" directory for everything related to that page. Then you put your index or default page in there. Without that directory it will not work.

  6. #6
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997

    Your talking about...

    putting everything related to the homepage in one folder right(i.e. images, etc.) You could do that, and have the index page inside that folder to get the images and sub-level pages. Wouldn't that mean you'd have to type in the URL like this? *http://www.site.com/wallpaper* That's a little unwieldy. I'd rather just have to type in *http://www.site.com*

    Or, you could have all the pages on your site in the top level of your directory and have one images folder, one flash folder, one text folder, etc., that all the pages load from.

    Or have the index.htm page redirect visitors immediately to the wallpapers directory once the index page loads.

    I guess it depends on the size of your site. For a small portfolio site, you could do it any way you want, but for a large e-commerce site or somesuch, you'd have to have it well organized or go crazy trying to link pages.

    Rich

  7. #7
    The way the original question is stated, is hinting that the wallpaper page is not the main page but a sublink so in order for the person to get the desired effect for the question asked, I believe a subdomain for wallpapers would have to be created.

    Correct me if I am wrong but http://www.jimpix.co.uk is the home page and the wallpapers page is a link?

  8. #8
    Registered User
    Join Date
    Jul 2000
    Posts
    88
    Originally posted by mykscholze
    The way the original question is stated, is hinting that the wallpaper page is not the main page but a sublink so in order for the person to get the desired effect for the question asked, I believe a subdomain for wallpapers would have to be created.

    Correct me if I am wrong but http://www.jimpix.co.uk is the home page and the wallpapers page is a link?
    Hi myk

    that was exactly what I was getting at - the jimpix homepage is already called index.htm

    I'll try your idea of making a wallpapers folder and changing wallpapers.htm to index.htm within that new folder...

    Cheers

    jim

  9. #9
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997

    right on.

    boy do I feel sheepish. Good call, mykscholze.

    Rich

  10. #10
    just a quick note that I'm not sure anyone mentioned. The extension of .html and .htm are identical and everyone will read that file first inside a directory. The only difference is that if you put both files inside a directory, UNIX machines will grab the .html file before it reads the .htm file. All other machines grab whichever they find first, which I guess alphabetically means they'll find the .htm file.

  11. #11
    Hey 8r14n great footer, I like.

  12. #12
    Thanks Michael! Are you making one?

  13. #13
    Maybe if my job will ever give me some free time to spend on myself, actually I have a new web site in production and when that is finished I will focus on a footer. The current site is a place holder, I really didn't spend much time on the user experience, the next will be more interactive.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center