Support » Requests and Feedback » [Plugin: Private WP] Reditrect to home page

  • Hello:

    By default, after authentication users end up in their respective profile from where they need to click on Visit Site…

    How could I change that, so users (once authenticated) go directly to the root home page of http://www.site.com ?

    Thank you for this great tool!

Viewing 4 replies - 1 through 4 (of 4 total)
  • From what I’ve seen it’s not possible to redirect the user to the main site, unless you hack the core file wp-login.php.

    You’ll need to hack the plugin…

    Somewhere in the code, there should be a line that says something like this:

    header('Location: [URL or a function returning the URL]');

    What you need to do is to change that URL so that instead of redirecting to

    [WordPress Directory]/wp-login.php

    users get redirected to

    [WordPress Directory]/wp-login.php?redirect_to=%2F

    I have a unique question that most may not want to discuss. I have a number of blogs myself and have started using this program and love it.

    however recently as I have had this program running I believe someone has hacked into my wordpress even when this program was running …

    The reason I say this is i see in the logs … access for someones IP that should not have been able to access.

    Can some contact me … email me or MSN a private message to discuss the security of this add on … how secure is it >>>> it seems as it can be hacked ….

    /wp-login.php?redirect_to=http%3A%2F%2Fwww.xxxxx.com%2F%3Fcat%3D5
    /wp-login.php?redirect_to=http%3A%2F%2Fwww.xxxxxxxx.com%2F

    whooami

    (@whooami)

    Member

    if you are discussing this plugin:

    http://wordpress.org/extend/plugins/private-wp/

    there’s nothing insecure about it. It’s actually calling a core wordpress function. If anything were to be insecure, it would be that function, not the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Private WP] Reditrect to home page’ is closed to new replies.