2

I need to know how to add and use the Redirect web part in SharePoint 2013, Because I need to redirect a SharePoint subsite to site collection, I achieved it by using Script editor web part, Is it possible to achieve this using Redirect web part?

I've tried to refer to this link https://sharepointredirect.codeplex.com/, but it's for 2010, and I am sure how to do the same for 2013. Please suggest some idea achieve this.

  • that webpart is developed for SP 2010.. you can go with your script editor approach if you don't need any specific requirement like based on which group etc.. if you have specific requirement you need to handle in client side code – Siddharth Vaghasia Dec 10 '16 at 7:57
3

Just download Redirect web part source code then upgrade solution to SharePoint Solution 2013 by doing the following :

enter image description here

  • The upgrade will be completed without any errors and a little warning

enter image description here

  • Make sure that the Site URL has been changed to your site that you need to deploy the solution
  • Try to deploy the solution .
  • You will find the deployed web part in custom section.
  • Add it to your page , Configure it with your settings
  • Now it's found in SharePoint 2013 as shown below:

enter image description here

Notes:

  • I did this on my side that working properly without any change in code .
  • In Edit Web Part , Set Status to true to make the redirect active.
  • You already have a WSP that upgraded to SharePont solution 2013 , so you can deploy it in any other Sharepoint 2013 Environment like Production without using visual studio.
  • It's expected to get long path error , so don't open the solution from download path, copy it to any drive.
  • You may SANDBOXED CODE HOST SERVICE WAS TOO BUSY TO HANDLE THE REQUEST this depend on your setting , in my case, I set Sandbox Solution to false.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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