none
Redirect to SharePoint Site RRS feed

  • Question

  • Hello SharePoint-Community!

    I am facing the following Problem:

    I want my users in the Company to get redirected to the SharePoint-Site "http://intranet/sites/main" when they type "Intranet" into the web browser. (Alternate Access Mapping, Bindings, DNS Entries already done). I have made a HTTP Redirect in the IIS Manager for this. It works fine, since it redirects to the page I want to. But I am facing the weird Problem, that when the user gets redirected to the SharePoint-Site, there is no Content. There are no lists, search results, etc. displayed. The headers of the different libraries appear, but their Content seems like "disappeared". Also the master page is there. Just the Content is not available/displayed. When I remove the HTTP Redirect and i type in "http://intranet/sites/main" manually into the web browser, everything is fine and Content appears as it should.

    I hope you can understand my concerns. How do I get rid of this behaviour? Is this a bug or am I missing something? I hope someone can help me!

    Thanks in advance!

    Best regards,

    Markus


    • Edited by markus93 Wednesday, May 25, 2016 12:30 PM
    Wednesday, May 25, 2016 12:29 PM

All replies

  • strange issue.

    how many wfe do you have?


    顺其自然地勇往直前!—Justin Liu

    Thursday, May 26, 2016 1:27 AM
  • Hi markus93,

    Could you tell the detail information about how do you redirect from "Intranet" to "http://intranet/sites/main"?

    You can implement this directly in IIS.  Create a new IIS web site that responds to "Intranet".  Go to HTTP Redirection.  Check the Redirection checkbox and enter http://intranet/sites/main. Check the checkbox "Redirect all requests to exact directory" and give it a Status Code of "Found (302)".

    Check the similar issue post:

    https://social.technet.microsoft.com/Forums/en-US/e145548f-bf51-4cc4-9e30-c2233c02ead0/sharepoint-site-redirect?forum=sharepointadminprevious

    Best Regards,

    Lisa Chen


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Thursday, May 26, 2016 9:21 AM
    Moderator
  • Hey Lisa!

    First of all, thank your for your reply!

    What you have explained/mentioned is exactly what I did. Actually I just want the users to get redirected from http://intra.name.com to http://intra.name.com/sites/Main.

    When I type the URL http://intra.name.com/sites/Main into the browser manually, everything works. It seems like the site is crashing when it does not get accessed directly, but over redirect. When I get redirected from a different site to http://intra.name.com/sites/Main the content of the site seems to disappear.

    Right now I really do not know what to do, because I do not know why SharePoint and IIS are behaving like this and are "hiding" the content.

    Best regards,

    Markus



    • Edited by markus93 Monday, May 30, 2016 6:40 AM
    Monday, May 30, 2016 6:36 AM
  • hi

    the redirect open the default home page for your site which is empty

    WHen you type manually in your browser  you open an existing defined with content page


    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

    Monday, May 30, 2016 6:44 AM
  • Hello Romeo!

    Thank you! What exactly do you mean? And how do I get rid of this behaviour?

    Best regards,

    Markus

    Monday, May 30, 2016 7:30 AM
  • Hi

    check if you open the same page when you open the site manually versus when you are redirected to it


    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

    Monday, May 30, 2016 7:58 AM
  • Hi!

    Ok now I get what you mean. Yes, the site which I open manually is the same as I would redirect to it. After redirecting, the page seems to be blank. It shows the navigation links, headers, list titles etc., but no content.

    For example: On the page is the Announcement-List named "News", but this list shows no content, although it has content.

    When I delete the HTTP Redirect and then access the page manually, the content of all lists, search results, etc. show up as they should. (and the Announcement-List "News" also shows its Content)

    Best regards,

    Markus


    • Edited by markus93 Monday, May 30, 2016 8:59 AM
    Monday, May 30, 2016 8:58 AM
  • Hi

    can you provide the path/URL in both case? The entire URL it is the same in both cases?

    This could be a possible cause

    http://sharepoint.stackexchange.com/questions/60957/external-access-gives-a-blank-home-page


    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

    Monday, May 30, 2016 12:59 PM
  • Hi!

    In both cases, they are exact the same! (copy and paste)

    The full URL is http://company.com/sites/Main/SitePages/Home.aspx.

    I also should mention, that after I define a HTTP Redirect, the page also does not work when I type the  full URL (http://company.com/sites/Main/SitePages/Home.aspx) into the browser manually. When I delete/remove the HTTP Redirect, the URL works again. Okay, the URL always works, but in the case with HTTP Redirect the content of the page is missing. I also can not edit the page and make changes to it.

    I'll provide you some images tomorrow, to show you what I mean exactly. I am not in office right now.

    Edit: In the following you can find two images to clarify my concerns.

    The FIRST Picture shows the home page with lists and their content. So this is like it should be.

    This is what happens after I define the HTTP Redirect in the IIS Manager on the SharePoint Server. The content is "empty". The page doesn't work for getting redirected to this URL neither for calling the URL/Page in the browser manually. After I delete the HTTP Redirect, it works like in Picture 1 again. (the URLs are the same, they just look a bit different because of a shift)

    Where is this strange behaviour coming from? Is this a bug? Or am I missing something? Slowly I am getting clueless... I do not know what to do.

    Best regards,
    Markus


    • Edited by markus93 Tuesday, May 31, 2016 5:49 AM
    Monday, May 30, 2016 2:20 PM
  • Hey Justin!

    Just 1 for SharePoint.

    Tuesday, May 31, 2016 6:21 AM