1

I am trying to figure out how to redirect users once they click on the Mailing List confirmation email link.

Currently, when someone submits their email for inclusion in a mailing list, they get an email that they must respond to by clicking on the link to activate their subscription. Unfortunately this results in a generic EE confirmation page:

Email confirmation notice

Is there any way to redirect them from here to another page on the site? If so how?

3 Answers 3

1

I appreciate the input above, but after additional research found the handy extension from Brian Litzinger: Custom System Messages which completely resolved the issue for me.

0

It would be better to apply some JavaScript to redirect user to another page.

Go to CP -> Design -> Message Pages -> User Messages

var delay = 500;
setTimeout(function(){ window.location = URL; }, delay);

But note, it would be effected for all the user messages. Although, you can check referrer URL with document.referrer

2
  • Note that the User Message template already includes a meta refresh tag which does this. Jan 27, 2014 at 12:38
  • The main issue here is that the user has to respond to an email before they can be forwarded to the final destination URL. See my solution below.
    – forrest
    Jan 27, 2014 at 17:49
0

The older 3.X version of Solspace Freeform allowed you to add email addresses of submitted forms to any EE mailing list of your choice. You could replace your existing mailing list signup form with a Freeform form to add users to the list. Then you can use Freeform's "return" param to decide exactly where they go after sign up.

1

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.