View Post

Restoring to a host name site collection (SharePoint 2013)

In PowerShell, SharePoint 2013 by rhodzyLeave a Comment

When backing up a SharePoint site and restoring to a HNSC (Host name site collection) the command is slightly different. You have to specify the web application and also the database that the HNSC sits in.  For example: Restore-SPSite http://mysite -Path E:\TEMP\mysite.bak -force -HostHeaderWebApplication http://mywebapp -DatabaseName MySharePointDatabase The above command will restore the mysite.bak file to the URL http://mysite which …

View Post

Creating ‘Vanity’ URLs SharePoint 2013

In SharePoint 2013 by rhodzyLeave a Comment

I use the word Vanity loosly here, it basically creates a nice short URL such as http://SHORT that will redirect to http://sharepoint/sites/mine/SitePages/something%20Very%20Long%20pagename.aspx – this is all done through IIS so you will need access to all web front end servers that are serving your SharePoint farm.