Home Forums WordPress Plugins Hide My WP Problem About "Custom Admin Path"

This topic is: not resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22772
    leo852
    Post count: 4

    Hello, I’ve been starting a new site and haven’t install any themes or other plugins yet. I’m now setting up “Hide My WP” plugin, and at the very first beginning, I edited “Custom Admin Path” and updated my nginx.conf & wp-config.php

    ****************************
    Server Build:
    System: Ubuntu Server 18.04
    Web Server: Nginx
    PHP version: 7.0
    ****************************
    I’ve already added: (.etc:/source)
    define(“ADMIN_COOKIE_PATH”, “/source”);
    ****************************
    after:

    /** Sets up WordPress vars and included files. */

    &

    before:

    require_once(ABSPATH . ‘wp-settings.php’);
    ****************************
    result:

    /** Sets up WordPress vars and included files. */
    define(“ADMIN_COOKIE_PATH”, “/source”);
    require_once(ABSPATH . ‘wp-settings.php’);
    ****************************
    Although I’ve finished setting this up, I couldn’t access “xxx.xxx/source” to the admin control panel. Do I have to rename the actual folder in the WordPress install location? Or is it just redirections using nginx.conf and wp-settings.php?
    ****************************
    P.S.
    I’ve installed a clean WordPress with no theme and plugin (except “Hide My WP”) without configuration.
    Can I have all the details about which file and what to edit? Since I’m planing to buy your product for my another website(s)
    So I could do it myself in the future. Thanks.

    #22773
    leo852
    Post count: 4
    This reply has been marked as private.
    #22775
    Suman M.
    Post count: 12478

    Hi, you don’t need to physically rename any files/folders. Did you click on “I did it, login to new dashboard” button at the end of renaming wp-admin? And did you add HMWP rules in the Nginx config file at correct position? You actually need to add the rules within “server” block.

    Can you please attach here the Nginx config file (as text file) after you added HMWP rules to it?

    #22797
    leo852
    Post count: 4
    This reply has been marked as private.
    #22798
    leo852
    Post count: 4
    This reply has been marked as private.
    #22803
    Suman M.
    Post count: 12478

    Hi, I could see that you have renamed both “wp-admin” and “wp-login.php” to ‘rootcp’. Can you please give different names to both and check?
    If your theme has feature to rename login path and wp-admin path then please disable it.

    #22805
    leo852
    Post count: 4
    This reply has been marked as private.
    #22808
    Suman M.
    Post count: 12478

    Yes, change them to different names (right now both are set to ‘rootcp’). Let us know if any issue.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.