Thanks for reporting this important issue.~ and thanks for bringing this to my attention Cristián.s2Member handles redirections to the Membership Options Page in the same fashion, even on a Multisite Network installation. All requests that are denied access, get redirected to the Membership Options Page that has been configured by the site owner, for that particular Blog on the Network.
If your theme is producing Not Found messages, here are some things I would check on.1. Does your Membership Options Page exist?
2. Do you have any other plugins that are forcing redirections that may conflict with s2Member?
3. Have you enabled s2Member's Alternative View Restrictions?
( did you set them to All? )When s2Member's Alternative View Restrictions are set to "All", all protected content is excluded from public view; including any listings that would normally be displayed in category archive views. In some themes, this can result in your theme producing a Not Found message, because there are no results to display in that category archive (i.e.
http://fashionpass.blacktopshopping.com ... cessories/ )
In other words, instead of saying " there are no items in this category ", some themes will simply say " Not Found ". You can either modify your theme to display the message you prefer, or turn s2Member's Alternative View Restrictions off.
Or, you could work on making navigation menus within your site more dynamic, so that category archives which are unavailable to the public, are not displayed, or are redirected to the Membership Options Page.
Another thing that might help. In cases where you are protecting all content within a Category Archive, if you protect the entire Category with s2Member, then s2Member will simply redirect all requests to that Archive, to your Membership Options Page; and that way the "Not Found" message being introduced by your theme, would never be displayed. So for example, you might try protecting this entire Category, instead of each Post within it.
http://fashionpass.blacktopshopping.com ... cessories/Please let us know if this problem continues; we'll do everything we can to assist you.Regarding search engines. s2Member redirects search engines with a 301 permanent redirect status to avoid duplicate content issues. This is the recommended method of handling redirections on protected content. However, if you need to change this for any reason, you can create this directory and file.
/wp-content/mu-plugins/s2-hacks.php
- Code: Select all
<?php
add_filter("ws_plugin__s2member_content_redirect_status", "my_custom_redirect_status");
function my_custom_redirect_status($status = 301)
{ return $status; }
?>