Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was wondering how it works to set a default document to a file not at root of project? For example, in our project we have student/en/home/home.aspx and this is the file we want as our main page. So when a person goes to our website (i.e. www.abc.com) that it displays the page at student/en/home/home.aspx but does not show the student/en/home/home.aspx in the browser's address bar (only shows http://www.abc.com). Any ideas?

Thanks,

Brad
Posted

1 solution

I think you'd need to create a default document at the root which redirects the user to the page you want them to see.
 
Share this answer
 
Comments
clugsy64 4-Aug-11 8:09am    
I should have mentioned that is what we are doing. The problem is that when you type in www.abc.com it then redirects and displays www.abc.com/student/en/home/home.aspx in the browsers address bar. I only want www.abc.com to be shown in the address bar but it to display the student/en/home/home.aspx page. Any ideas on how to accomplish this?

Thanks,

Brad

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900