How to tweak Search Web Part to open /search/Pages/ result to new tab instead of redirecting it on the same page ?

enter image description here

enter image description here

1 Answer 1


Good day!

If this is for a search results webpart (like results.aspx), than what I found easiest was to add a content editor at the bottom of the page and add a little jquery to achieve this. You can use something like this:

<script type="text/javascript">

This jquery will target all hyperlinks that appear in the search results webpart and change their attributes to open in a new tab.

  • I think he means from the search box page, not for the links on the results page Aug 16, 2018 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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