Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 15:24:48

Author Topic: wp-login.php  (Read 3868 times)

0 Members and 1 Guest are viewing this topic.

Offline Jimbohello

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
wp-login.php
« on: 2017-06-09, 07:15:11 »
Pure Nginx (No Proxy)
want to protect wp-login.php with user and password !
code not working cannot find workind code
thank's

   location /wp-login.php {
        auth_basic "Restricted";
        auth_basic_user_file PATH/TO/FILES/.htpasswd;
    }

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: wp-login.php
« Reply #1 on: 2017-06-09, 07:19:06 »
Use 'directory protect' in panel for this purpose.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Jimbohello

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: wp-login.php
« Reply #2 on: 2017-06-09, 07:26:47 »
this his a files not a directory

Offline Jimbohello

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: wp-login.php
« Reply #3 on: 2017-06-09, 16:52:47 »
anyway does not work
wp-admin dir protect
restart nginx
noting happens

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: wp-login.php
« Reply #4 on: 2017-06-09, 17:12:44 »
Instead using dirprotect, better using re-captcha and wordfence.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Jimbohello

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: wp-login.php
« Reply #5 on: 2017-06-09, 20:11:39 »
Apache work's fine whit file and dir protection !
you have answer out of the moon ! Betther using this than that
nginx suppose to work with dir and file protect !!
why should you have a toilet when you can shit in the bush ( pretty much the same kind of answer )


Offline Jimbohello

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: wp-login.php
« Reply #6 on: 2017-06-09, 21:42:00 »
Ill give wordfence a try but look like sucuri plugins

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.053 seconds with 18 queries.

web stats analysis