• Hi there, first post here.

    I’m trying to set-up a site.
    I’m waiting for the domain registration so i’m still working on a “preview version” inside my hosting control panel (i use plesk).

    My future site wull be https://www.domain.com
    but for now i’m working at this address
    https://192.168.254.254:8443/sitepreview/http/domain.com

    I’ve managed editing site url and home using phpmyadmin, and i can see my site. but i can’t log in, everytime i try it redirects me to wp-admin/ at the root of my installation.

    i’m looking at the wp-login.php file, but i’m not very good with php.

    i think the part i should change is


    if ( !isset( $_REQUEST['redirect_to'] ) )
    $redirect_to = 'wp-admin/';
    else
    $redirect_to = $_REQUEST['redirect_to'];

    but i don’t know in wich way.

    if i do this

    if ( !isset( $_REQUEST['redirect_to'] ) )
    $redirect_to = 'https://192.168.254.254:8443/sitepreview/http/domain.com/wp-admin/';
    else
    $redirect_to = $_REQUEST['redirect_to'];

    nothing happens.

    I’ve no idea on how the login/password data goes to the system, so i can imagine a way to arrange this.

    Any help would be very appreciated ??

    Thanks,
    Macmarty

  • The topic ‘site developement: login problem’ is closed to new replies.