Ready to get started?Download WordPress


Open in new tab / window (2 posts)

  1. lindeex
    Posted 7 months ago #

    Redirection works fine. However I want some of the redirects to open in another tab or window. How can I make that happen?



  2. Shonu
    Posted 6 months ago #

    Hi Linde

    common redirects (301,302) work on protocol layer, not HTML or Javascript. Of course, a redirect could lead to a page, which itself has a script that opens a new window (or tab, depending on browsers at times!).
    As you said, you want a new window/tab, I assume you are talking about a redirect linked from web page. If that webpage is under your control, then either that link must be set to open in new window, or the redirecting script theorised above would need to return to the origin after opening the desired page in a new window/tab.

    Either way, I think your idea is not really applicable to the subject of http redirection. At least not the way I understood your question.


You must log in to post.

About this Plugin

About this Topic