WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Private WP] Reditrect to home page (5 posts)

  1. defcon3
    Member
    Posted 6 years ago #

    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!

  2. petervanderdoes
    Member
    Posted 6 years ago #

    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.

  3. NC@WP
    Member
    Posted 6 years ago #

    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

  4. gumgone
    Member
    Posted 5 years ago #

    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

  5. whooami
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags