latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Special Redirection URL stopped working

Home Forums Community Forum Special Redirection URL stopped working

This topic contains 8 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 9 months ago.

Topic Author Topic
Posted: Tuesday Apr 9th, 2013 at 2:18 pm #46924

I have been using the Special Redirection URL for some time now with no problems. I have 8 user levels, each going to a respective home page:

…/fm-home-%%current_user_level%%

What is currently happening is all users are directed to …/fm-home-0, which doesn’t exist so they are receiving a 404 page error.

Help as soon as possible would be greatly appreciated as members can’t log in…

Another thing that happened recently – don’t know if it is related – some of the user levels lost their labels and reverted to Level 5, Level 6, etc. I renamed them back to their correct label names – I am not sure if the incorrect redirect occurred after I changed the label names, but the incorrect redirect is happening for all user levels (including those that did not experience a label name change).

Thank you in advance

List Of Topic Replies

Viewing 8 replies - 1 through 8 (of 8 total)
Author Replies
Author Replies
Posted: Tuesday Apr 9th, 2013 at 2:30 pm #46925

One clarification. The users CAN login, they just are directed to the non-existent fm-home-0 page.

Posted: Tuesday Apr 9th, 2013 at 4:23 pm #46938

Update. It is a bit more global than originally thought. Any of the pages assigned a user level are not working, i.e., redirecting to the Membership Options Page, suggesting user levels are not being recognized.

Thanks

Posted: Wednesday Apr 10th, 2013 at 7:37 am #47062

Hi Michele.

Maybe there’s a login session problem? Knowledge Base » Logged In, But Am I?

Do you have caching enabled? Make sure database and object caching are disabled, they’re known to cause unexpected problems.

Could you also try these? Knowledge Base » Common Troubleshooting Tips

An alternative I prefer over the redirection URL with the level number, is to use one Login Welcome page and display different content based on the user’s level. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

Posted: Wednesday Apr 10th, 2013 at 8:39 am #47074

The redirection is only one element not working. Protected pages are not accessible to any member level. I have created a page for the initial login …/fm-home-0 redirect so the users could at least log in. I then logged in as different user levels, and as I mentioned protected pages are not recognizing the user’s member level and redirecting to the member options page.

This is what I have troubleshooted so far with no success:

  1. Deacativated all plugins (including caching)
  2. Reinstalled latest update (Framework and Pro 130604)
  3. Installed the previous version (Framework and Pro 130404)
  4. Reinstalled (Framework and Pro 130604)

This set up has been up and running for about a year now with no problems. One thing that happened recently is when I upgraded to 130604 I forgot to upgrade the Pro until later in the day. I saw where that can cause problems – that is why I performed the reinstall step(s) above.

Posted: Wednesday Apr 10th, 2013 at 9:22 am #47085

Another troubleshooting piece of the puzzle:

I use shortcode conditionals throughout the site and those instances are recognizing the user level. So it appears this problem is isolated to protected pages.

Posted: Thursday Apr 11th, 2013 at 8:56 am #47184

One thing that happened recently is when I upgraded to 130604 I forgot to upgrade the Pro until later in the day. I saw where that can cause problems – that is why I performed the reinstall step(s) above.

That’d just remove the Pro features from your installation until you updated it to the matching version, but no settings would be lost.

By the way, you do have the Deactivation Safeguards enabled, right? [hilite path]Dashboard -› s2Member® -› General Options -› Deactivation Safeguards[/hilite]

I use shortcode conditionals throughout the site and those instances are recognizing the user level. So it appears this problem is isolated to protected pages.

Yeah, this is very odd. Definitely not a standard behavior of s2Member…

Could you create a new test installation of WordPress in another directory with just s2Member and try the Login Welcome redirection there? Knowledge Base » Common Troubleshooting Tips

If you can reproduce it there, could you please submit your site’s info so we take a look at it? Let me know when you send it. s2Member® » Private Contact Form

Posted: Thursday Apr 11th, 2013 at 9:55 am #47195

I had to get the site back up ASAP (it is a higher education e-learning site in the last week of the semester), so I removed all page protections and am currently relying solely only on WordPress Access Control plugin for page access restrictions (have been using S2M and WP Access Control from the get go – I love the combination).

I also combined all 6 login pages that were involved in the redirect issue into one member homepage as you suggested. I was able to get the site back live last night and as of this AM all looks good.

I’ll set up the test directory later today and let you know what happens.

Thanks

Posted: Friday Apr 12th, 2013 at 5:09 am #47278

Great. Thanks for the update. :)

Viewing 8 replies - 1 through 8 (of 8 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.