Default page address.

Discussion in 'Web Design and Development' started by HarryPot, Aug 30, 2011.

  1. HarryPot macrumors 6502a

    Joined:
    Sep 5, 2009
    #1
    How can I make the default page in my website appear without the "/default" at the web address.

    For example, I type "mypage.com" and it redirects me to "http://mypage.com/default".

    I want the web address to appear as "www.mypage.com". Is this done with some simple HTML code?

    Thanks.:)
     
  2. DESNOS macrumors 6502

    Joined:
    Aug 24, 2011
    #2
    Generally web servers default to index.html, so if you rename the homepage to that, it may work. The default page is settable though. It isn't done with HTML.
     
  3. aarond12 macrumors 65816

    aarond12

    Joined:
    May 20, 2002
    Location:
    Dallas, TX USA
    #4
    What hosting service are you using?

    Also check to see if there is an "index.html" (or any index.??? or default.??? files) in the "root" of the website. That may be redirecting the page to the /default folder.

    Thirdly, does it matter? If your page is working, does it matter that it has the /default after it? It could be something weird that your hosting service (see the first question) might be doing for their own strange level of security.
     

Share This Page