Home › Forums › WordPress Plugins › Hide My WP › Problem About "Custom Admin Path"
- This topic has 7 replies, 2 voices, and was last updated 7 years, 4 months ago by
Suman M..
-
AuthorPosts
-
July 28, 2018 at 7:35 pm #22772
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.July 28, 2018 at 7:47 pm #22773This reply has been marked as private.July 29, 2018 at 11:01 am #22775Hi, 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?
July 31, 2018 at 6:36 pm #22797This reply has been marked as private.July 31, 2018 at 6:38 pm #22798This reply has been marked as private.August 1, 2018 at 4:57 am #22803Hi, 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.August 1, 2018 at 5:07 am #22805This reply has been marked as private.August 1, 2018 at 7:01 am #22808Yes, change them to different names (right now both are set to ‘rootcp’). Let us know if any issue.
-
AuthorPosts
You must be logged in to reply to this topic.

