WordPress.org

Ready to get started?Download WordPress

Forums

Speedy Page Redirect
Can you Redirect URL to new window? (2 posts)

  1. mctallsuse
    Member
    Posted 3 years ago #

    Can I set the Speedy Page Redirect to open a new window instead of using the existing window?

    If I were writing html for this, I would add something like:
    target = _blank

    Is there anyway to do this with your plugin?

    thanks,
    Susan

    http://wordpress.org/extend/plugins/speedy-page-redirect/

  2. GeertDD
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Susan, thanks for your question. I had expected this one sooner or later.

    I will not be adding an option for opening links in a new window. Let me explain why.

    First of all, I'm not a big fan of forcing target _blank on links. This is something the user should decide (by holding shift, for example).

    Secondly, page redirection and opening links in a new window are two separate (unrelated) operations. Ideally, you should look for a "open in new window" plugin.

    Also, it would be hard to implement reliably unless all your page links are created using functions like permalink_anchor, wp_list_pages, etc.

    If you want to add a target _blank to a link you can do so yourself any way you like. Speedy Page Redirect just takes care of the redirection part.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic