SharePoint Broken URL Fix

Posted: March 25, 2015 in SharePoint

SharePoint Broken URL Fix

Often users ends up in a mess trying to change logo or descriptions it playing with site settings and ends up breaking their sub site URL. I often receives such issues from end users and here is the PowerShell script that I use to fix this:

In this case, user accidentally renamed a subsite called Demo to Demo.aspx http://<server name>/SITES/RootSite/Demo.aspx

Set-SPWeb -Identity http://<server name>/SITES/RootSite/ Demo.aspx/ -RelativeURL Demo

Hope this helps J

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s