1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Question about seperate pages on a website

Discussion in 'Web Design & Development' started by buff3r0vrfl0w, Dec 1, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. buff3r0vrfl0w

    buff3r0vrfl0w Thread Starter

    Joined:
    Feb 7, 2011
    Messages:
    186
    Hi All,

    I'm a newb with web design/architecture, I currently have a website. " www.mycompany.com/page.html "
    Is there a way to shorten that url so its just " www.mycompany.com/page" or do I need the .html so the browser can interpret the code?

    I know this must be a stupid question to you seasoned web guys/gals but I'm a newb and want to clean up the url a bit so ppl can just go to " www.mycompany.com/page " without typing the .html extenstion

    Thanks
     
  2. leroys1000

    leroys1000 Banned

    Joined:
    Aug 15, 2007
    Messages:
    6,319
    Web servers are usually set by default to display
    the index.html page .
    Change the name of your home or landing page
    to index.html and it should load that page when your
    base domain is called.
    That is for an html encoded site.
    For other types of sites like flash or asp,the server
    would need to be setup to display the appropriate type first.
     
  3. buff3r0vrfl0w

    buff3r0vrfl0w Thread Starter

    Joined:
    Feb 7, 2011
    Messages:
    186
    Hey thanks for the reply. I'm not trying to make this my first page. I want it to be another page on my site accessible by typing "/page" at the end of my domain.. I use this all the time on various sites for example www.cnn.com/weather , www.hak5.org/live ..

    Am I missing something here? Since there not html thats why they don't need an extension?
     
  4. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,302
    First Name:
    Colin
    If it is an apache / nix server then you can modify your htaccess file to do what you want. Do a Google for specifics.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1029218

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice