Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HarryPot

macrumors 65816
Original poster
Sep 5, 2009
1,085
548
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.:)
 
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.