DOWNLOAD DEMO
Current Version: 2.3.9.7 2013-04-30
Need a hand? Join the community.

Default Document

This thread is closed to new posts. You must sign in to post in the forums.
10/13/2011 1:12:52 PM
Gravatar
Total Posts 40

Default Document

I would like to make the default document a different page other than default.aspx for one of my sites.

 

So I tried to make it "test.aspx" ... if I put http://mysite.com/test.aspx in my browser that works fine.  But setting the default document in IIS to test.aspx gives me a directory browsing error.

 

Any insight other than a redirect?

10/13/2011 1:24:41 PM
Gravatar
Total Posts 16569

Re: Default Document

Hi,

If you read the article How mojoPortal Works, you will understand that default.aspx must be the default document in IIS for it to work.

You can make any page you want the home page of your site by moving the page to the home page position in the site hierarchy, but all  CMS pages (pages in the site menu) are served by default.aspx so it must be the default document. Urls like test.aspx are the friendly urls but those urls are re-written to default.aspx?pageid=x

The home page of your site will work with 3 possible urls, its friendly url ie yoursiteroot/home.aspx , yoursiteroot/default.aspx or just yoursiteroot/ ( which resolves to default.aspx as long as default.aspx is the default document)

You can move a page to the top under Administration > Add/Edit Pages to make it the home page.

Hope that helps,

Joe

10/13/2011 1:30:38 PM
Gravatar
Total Posts 40

Re: Default Document

I guess I read everything but that.  Thanks, it's a multiple site setup so I guess I'll just do a redirect.

You must sign in to post in the forums. This thread is closed to new posts.

mojoPortal Hosting Made Easy

Go Mobile with mojoPortal and Mobile Kit Pro!