Monday, July 1, 2013

Content Editor Web Part Content Link Redirect - 404 Page Not Found Error

Problem: A particular SharePoint site's Home page URL leads to 404 page not found error. While all other pages were working without any issues, On hitting the Home page URL, observed its redirecting to some other URL which doesn't exists!

Root cause:
Usually these kind of redirects are placed in CEWP using JavaScript. So, opened the page in SharePoint designer, tried locating the script, But could not find any such things.

After an hour, found the problem. Actually user has placed a content editor web part and set the "content link" as an external web site's URL. That external web site URL was redirecting to some other URL on page load, which altered the actual SharePoint site URL. See the screen above:

Solution: Simple! Delete the content editor web part with "Content link" pointing to a site, which redirects! just append ?contents=1 to the SharePoint site URL and close/delete the web part in Web part maintenance page.

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...