Home > Microsoft SharePoint, SharePoint 2013 Search, SharePoint2013 > SharePoint 2013: Friendly URL’s in Publishing HTML Field is broken and showing FIXUPREDIRECT.ASPX as hyperlink in display template

SharePoint 2013: Friendly URL’s in Publishing HTML Field is broken and showing FIXUPREDIRECT.ASPX as hyperlink in display template

Hi Friends,

I came across a weird scenario recently, thought to share here so that it will be helpful for some of our friends.

Scenario:

In one of the article page we were having a Publishing HTML Field, content author added relative friendly URL as a hyperlink inside the field.  I.e. help/ithelp/lync

This page was supposed to be crawled and this Publishing HTML Field’s search managed property was used to display the column data in a search display template in content search web part (CBS).

The result displayed in content search web part was perfect except some of the hyperlinks are pointing to wrong pages.

The URL’s were pointing to FIXUPREDIRECT.ASPX page with some GUID’s as query string like following.

/_layouts/15/FIXUPREDIRECT.ASPX?WebId=1230beb8-10d2-46a2-b768-94948b2ea947&TermSetId=cebe5639-ae8c-4225-ab3b-aeb1a81fb09d&TermId=cec1896c-16e2-410f-a1f9-6b084e3b9890

Analysis of the issue:

After analysing the issue for couple of hours found that it is something related to managed metadata terms as the query string formed had termsetid and termId as query sting parameters.

Also we found that only the friendly URL’s ware broken. The magic happening while the page is getting saved and SharePoint tries to resolve the friendly URL with available terms and replacing the URL with FIXUPREDIRECT.ASPX URL and same gets crawled. It is nothing to do with search display template.

Workaround:

We tried to find out the solution to resolve this issue but no luck; we have tried workaround to replace the friendly relative URL with non-friendly URL and it worked for us.

help/ithelp/lync   TO   help/ithelp/lync.aspx

 

Advertisements
  1. June 12, 2014 at 6:47 am

    Thanks Prasad for sharing this.

  2. June 24, 2014 at 6:51 pm

    This usually means that the page it’s pointing to or one of its parents isn’t published. Check all parent terms and pages pointing to it. That’s what has helped us in the past.

    • June 25, 2014 at 8:43 am

      Hi Andy,

      Yes,you have pointed it correctly. Thanks.

      Regards,
      Prasad Pathak

  1. No trackbacks yet.

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

%d bloggers like this: