Home › Forums › WordPress Plugins › Hide My WP › Nginx wp-admin
- This topic has 14 replies, 3 voices, and was last updated 7 years, 11 months ago by Hassan.
-
AuthorPosts
-
January 11, 2017 at 10:54 am #14066stthPost count: 10
Hey,
I have a problem which I am not able to figure it out how to solve.
I need to rename New wp-admin Path* from wp-admin to /panelEverything is setup in my vhost/wp-conf config files.
Attached is the File for my vhost.
I always get the error, domain.com/panel not found… If I try to login with the renamed wp-login everything seems fine.
Hope you can help.
# BEGIN Hide My WP rewrite ^/lib/js/embed\.min\.js /wp-includes/js/wp-embed.min.js?aSM_hide_my_wp=1234 last; rewrite ^/panel/(.*) /wp-admin/$1?aSM_hide_my_wp=1234 last; rewrite ^/lib/(.*) /wp-includes/$1?aSM_hide_my_wp=1234 last; rewrite ^/file/(.*) /wp-content/uploads/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/b084576f/(.*) /wp-content/plugins/admin-menu-editor-pro/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/5685c4e2/(.*) /wp-content/plugins/aio-support/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/37f45524/(.*) /wp-content/plugins/blogclone/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/99722f09/(.*) /wp-content/plugins/pages-by-user-role/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/1d60c532/(.*) /wp-content/plugins/pressapps-login-access/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/24d4ec6a/(.*) /wp-content/plugins/tinymce-advanced/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/e972912c/(.*) /wp-content/plugins/ultra-admin/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/7e252cf6/(.*) /wp-content/plugins/user-role-editor-pro/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/e38ca374/(.*) /wp-content/plugins/wpdatatables/$1?aSM_hide_my_wp=1234 last; rewrite ^/modules/(.*) /wp-content/plugins/$1?aSM_hide_my_wp=1234 last; rewrite ^/template/main\.css /?style_wrapper=1&aSM_hide_my_wp=1234 last; rewrite ^/template/style\.css /nothing_404_404?aSM_hide_my_wp=1234 last; rewrite ^/template/(.*) /wp-content/themes/twentyseventeen/$1?aSM_hide_my_wp=1234 last; rewrite ^/user_submit\.php /wp-comments-post.php?aSM_hide_my_wp=1234 last; rewrite ^/do_ajax\.php /wp-admin/admin-ajax.php?aSM_hide_my_wp=1234 last; rewrite ^/(readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404?aSM_hide_my_wp=1234 last; rewrite ^/(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$ /nothing_404_404?aSM_hide_my_wp=1234 last; # END Hide My WP
January 11, 2017 at 11:08 am #14067stthPost count: 10Was just wondering if there is also a way to get support via skype or a remote session?
Best,January 11, 2017 at 2:54 pm #14070Suman M.Post count: 12478Hi, we’ll try to answer/resolve the issue here in support forum.
Renaming wp-admin path name is a complex feature and you’ll need to follow the on-screen instructions very carefully while renaming it. You also need to add following line of code in wp-config.php file, before require_once(…), and finally click on “I did it, login to new dashboard” button.define(“ADMIN_COOKIE_PATH”, “/panel”);
January 11, 2017 at 4:36 pm #14071stthPost count: 10Hi,
thanks for the answwer.
Yes I did everything which is mentioned in the screen instructions but it is not working.
best,
January 12, 2017 at 4:14 am #14073Suman M.Post count: 12478Can you please let us know your site’s wp-admin login details as private reply so that we can look into the issue?
January 12, 2017 at 9:38 am #14078stthPost count: 10This reply has been marked as private.January 12, 2017 at 9:39 am #14079stthPost count: 10This reply has been marked as private.January 12, 2017 at 10:38 am #14081stthPost count: 10This reply has been marked as private.January 13, 2017 at 3:15 am #14090Suman M.Post count: 12478This reply has been marked as private.January 13, 2017 at 10:51 am #14099stthPost count: 10This reply has been marked as private.January 17, 2017 at 7:47 pm #14165Suman M.Post count: 12478Hi Hassan, can you please look further into this issue? Everything looks good, but after logging in, the new wp-admin path returns 404 error.
January 19, 2017 at 5:48 pm #14194stthPost count: 10This reply has been marked as private.January 20, 2017 at 8:38 am #14205HassanPost count: 955I added you to my Skype. Let me know when you were available.
You can also share server credential as a private reply so I can check it faster.
January 20, 2017 at 9:40 am #14208stthPost count: 10This reply has been marked as private.January 20, 2017 at 11:47 am #14215HassanPost count: 955This reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.