Does the page to which you are redirecting actually exist?
Yes. That’s where I placed the shortcode, which is a separate page from the account page.
why not install Jason’s ezphp plugin or whatever it is called, where you can put php code between [php][/php] tags and then just do this:
[php]wp_redirect(“http://example.com/account/”);[/php]
or are you trying to redirect them after they login?
Yes. That’s where I placed the shortcode, which is a separate page from the account page.
I don’t understand. How can it be both where you placed the shortcode and a different page?
Here’s the S2 member knowledge base page where I got the information.
http://s2member.com/kb-article/s2member-login-shortcode-documentation/
Yes, I have seen that. I still don’t understand your previous comment.
Let me try to explain another way…
I have a page labeled, “login,” which is where the code is placed.
My understanding from the knowledge base page is that the shortcode will redirect to another page labeled, “account.”
Does that make sesne?
Yes, it does, and so it should indeed work as you expect. Are you getting any error messages, or just a white screen? Have you tried turning debug on?
It’s just a white screen. How do I turn on debug?
By “white screen” I mean that it’s blank where the content should be, but the header, logo, menu, footer are all there.
That’s not a white screen. It sounds like some sort of conflict.
You turn on debug by adding this line to your wp-config.php file (preferably just above the line that says /* That's all, stop editing! Happy blogging. */:
define('WP_DEBUG', true);
I’d also turn on s2Member’s logging routines (but remember to turn them off when you’re done). See http://s2member.com/kb-article/common-troubleshooting-tips/
Thanks. I’ll do that now.
I’ve got a message into a developer of a plugin, Mediapress, because it is generating an error.
It was the plugin, which I’ve fixed. Thank you for your assistance.