WordPress.org

Ready to get started?Download WordPress

Forums

Hidden code for redirecting user (7 posts)

  1. Prolet
    Member
    Posted 1 year ago #

    Hi,
    I'm having a trouble for redirecting users. Whatever I do -code changes, plugins, snipets-mipts NOTHING works.
    Recently I found this:

    <p class="submit">
    <input id="wp-submit" class="button button-primary button-large" type="submit" value="Log In" name="wp-submit">
    <strong><input type="hidden" value="http://www.example.com/wp-admin/" name="redirect_to"></strong>
    <input type="hidden" value="1" name="testcookie">
    </p>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    This is the submit button on page http://www.domain.com/wp-admin
    I don't know how to delete this code.
    Can somebody help me, please?
    Thanks in advance!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

  3. Prolet
    Member
    Posted 1 year ago #

    esmi,
    so glad you are here :)
    This is a code I found with firebug here:
    http://www.ohsobelle.com/wp-admin/
    and is the submit button.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    You currently appear to be using a custom login plugin, yes?

  5. Prolet
    Member
    Posted 1 year ago #

    Yes,
    I'm with s2Member and buddypress

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  7. Prolet
    Member
    Posted 1 year ago #

    And what is the meaning of all of that?
    With activated or deactivated plugins, the user id redirected to http://www.domain.com.wp-admin
    Always!

Topic Closed

This topic has been closed to new replies.

About this Topic