Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

So basically when someone goes to:

http://mysite.com

I would like to show an Application Page that I have created, without the giant URL. Example of the giant URL :

http://mysite.com/_layouts/ap/myAppPage.aspx

Is there any way for me to do this?

share|improve this question

1 Answer 1

Of course there is! Go to http://mysite.com/_Layouts/AreaWelcomePage.aspx and change the URL.

Or via the UI:

Site actions > Site Settings > User Interface > Welcome Page and change the URL.


Update

I just tried myself and I see that none of them work. It seems like that the page has to reside in the content database and not just the domain.

I found a workaround though. On your landingpage, you can insert a HTML-Formular webpart in which you can write some javascript which will redirect the user.

Another option is to develop a webpart which automatically redirects to the given application page of your choice.

With either of these 2, you of course can't go to the page and edit it after they are inserted, as they will redirect you ASAP. This can be countered by entering the URL of the set landing page and then add ?contents=1 (http://mysite.com/pages/default.aspx?contens=1) which will open a page telling you which webparts are on the page, and through that you can remove them, in case you don't want it to redirect any more.

Hope this helps! :)

share|improve this answer
    
When I try to do that I get the error: The specified welcome page is not valid or does not exist within the current site. I have confirmed that I can get to the URL through browser. –  Abe Miessler Feb 29 '12 at 15:56
    
@AbeMiessler How have you entered the URL? Like this: /_layouts/ap/myAppPage.aspx? Or like this: http://mysite.com/_layouts/ap/myAppPage.aspx? –  Daniel Ziga Feb 29 '12 at 16:27
    
The second example. –  Abe Miessler Feb 29 '12 at 16:32
    
@AbeMiessler Looke at my updated answer :) –  Daniel Ziga Feb 29 '12 at 17:05
    
Can you please explain your answer in more detail? I am also trying to do this.I am trying to follow your suggestion of entering a javascript in the landing page. Please elabrote this. thank you in advance. –  user10416 Aug 29 '12 at 23:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.