WordPress.org

Ready to get started?Download WordPress

Forums

s2member redirection return 404 error after disabling theme my login (1 post)

  1. tarundeology
    Member
    Posted 3 years ago #

    I've been using theme-my-login (TML) since last year on many blogs and it works great. thanks.

    Until I updated tp WP 3.1.2 where I also use s2member, it seems that all the redirections failed and went to 404 error when I disable TML. I've tried to disable both TML and s2 but the page still got 404 error after login or logout.

    On the address bar, it shows this after loguot which end up 404.

    http://www.mysite.my/%2Flanggan%2F%3Fs2member_seeking%3Dpage-146%26s2member_level_req%3D1

    I noticed that it add a "%2F", "%2F" and then also "%3F", "%3D" and so on. the address should be something like:

    http://www.mysite.my/langgan/s2member_seeking=page-146&s2member_level_req=1 (I guess)

    so that the s2member can works properly seeking page and member level etc.

    For logout link I use this code:

    <a href="<?php echo wp_logout_url(urlencode($_SERVER['REQUEST_URI'])); ?>">logout</a>

    My guess that somehow TML change the default WP redirections, but sadly I don't know where and how to modify this.

    It's a running news site and a pay-to-read site. I really hope that somebody are willing to helpme with this.

    Many thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic