When users login to Office 365 http://portal.office.com/, they land on their "SITES" page https://company-my.sharepoint.com/personal/xxx_company_com/Social/Sites.aspx by default.

How to change this so that users are redirected to a page in one of the collections?

1 Answer 1


You can always use a script to redirect the user:

function onLoadActions(){
  • Thanks for your response. Can you tell me where should I keep this code? I am not able to find any page called "Sites.aspx" in sharepoint designer. Also not able to figure out which master page is this page using. Mar 30, 2016 at 14:05
  • You can put the script in a script editor or content editor webpart. Are you able to navigate to the page in question? If so can you use the gear at the top right of the page to see an edit page option. Then insert the webpart using the ribbon bar.
    – Tekk_Know
    Mar 30, 2016 at 14:17
  • If I edit the page, I am getting the warning "You are editing the Personal Version of this page". I want this change for all users. Mar 30, 2016 at 14:18
  • I work on a non-office 365 version of SharePoint, but it sounds likely you'll need to put the script in the masterpage for it to apply to all pages like that. If you did put it in the master you would need to have a way to make sure the redirect doesn't trigger on all pages though. We'd likely want to check the url of the page to make sure its redirecting when you want it to.
    – Tekk_Know
    Mar 30, 2016 at 14:35
  • I can check for (window.location.href.indexOf("/Social/Sites.aspx") > 0) but the problem is I cant figure out where to keep this piece code. Mar 30, 2016 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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