Support » Fixing WordPress » Dynamic Redirect via Common Page

  • Hi Everyone,

    I have no idea where to start looking for this.

    What I am hoping to do, is that when I provide a link to a product, that when somebody clicks on that link, it will send them to a common page, explaining a range of products, then forward them to that product after 15 seconds.

    So for example if the product was mysite.com/Mugs – you would make a link that was something like:

    http://www.mysite.com/Common/redirecttoMugs

    It would then forward them to mysite.com/Common

    They would read the text on Common which would say something like:

    Thanks for visiting our site. Did you know that in addition to Mugs, we also provide Cups?

    Please wait and you will be forwarded to the product you are interested in shortly.

    …..wait 10 seconds….

    Page forwards to mysite.com/Mugs

    Does anybody know if this would be possible from a hyperlink?

    Thank you so much in advance,

    Jamie

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    It’s possible — but you’d probably need to custom code it. However, this plugin looks like it might be the thing for you: https://wordpress.org/plugins/wp-redirects/

    Thanks. I am already using Simple 301 Redirects which is better supported and does not seem much different.

    I guess what I am looking to do is pass a piece of code to a PHP script on a page, the code being the final destination address, and having to be embedded in the hyperlink.

    so:

    mysite.com/commonpage?=finaldestinationaddress

    then the code pulls out the finaldestination address and adds domain to it, inserting it into a redirect instruction.

    Hopefully somebody else may chime in, otherwise I may need to pay to get a plugin or piece of code written. I wouldn’t be able to write something like this myself I don’t think.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic Redirect via Common Page’ is closed to new replies.