Čemu ta zaščita?
DeaktivacijaWordPress spletne strani so na dnevni ravni tarča množičnih bruteforce napadov. Posledično je WordPress zaledje (/wp-login.php, /wp-admin) predmet dodatne zaščite na spletnem strežniku.
Neomejen dostop do WordPress administracije je potrebno posebej aktivirati
WordPress spletne strani so na dnevni ravni tarča množičnih bruteforce napadov. Posledično je WordPress zaledje (/wp-login.php, /wp-admin) predmet dodatne zaščite na spletnem strežniku.
Zahtevan URI: | https://divjivrt.si/wp/wp-login.php |
---|---|
Vaš IP naslov: | 18.116.24.92 |
Geolokacija (država): | US |
Zaščito lahko enostavno odstranite (ali modificirate) s pomočjo ".htaccess" datoteke WordPress strani.
Vnesite naslednje direktive v ".htaccess" datoteko WordPress strani:
# BEGIN - Allow access to wp-admin for all <FilesMatch "(wp-login)\.php$"> Require all granted </FilesMatch> # END - Allow access to wp-admin for all
Primer prikazuje, kako omogočiti dostop do WordPress administracije za: Slovenija (SI), Indija (IN) in Tajska (TH). Države je potrebno določiti z uporabo ISO kode posamezne države. Vnesite naslednje direktive v ".htaccess" datoteko WordPress strani:
# BEGIN - Allow access to wp-admin for specified countries <IfModule mod_maxminddb.c> <FilesMatch "(wp-login)\.php$"> Require all granted RewriteCond %{ENV:GEOIP_COUNTRY_CODE} !^(SI|IN|TH)$ RewriteRule ^ - [F,L] </FilesMatch> </IfModule> # END - Allow access to wp-admin for specified countries
Primer prikazuje, kako lahko dostop do WordPress zaledja zaščitimo tako, da je dosegljivo zgolj iz določenega (ali večih) IP naslova. Vnesite naslednje direktive v ".htaccess" datoteko WordPress strani:
# BEGIN - Allow access to wp-admin for specific IPs <IfModule mod_maxminddb.c> <FilesMatch "(wp-login)\.php$"> Require all denied <RequireAll> Require ip 18.116.24.92 </RequireAll> </FilesMatch> </IfModule> # END - Allow access to wp-admin for specific IPs
Če menite, da je prišlo do napake, nas lahko kontaktirate z ustreznimi informacijami (npr. s posnetkom zaslona).
Unlimited access to WordPress administration must be enabled
WordPress websites are exposed to hundreds of bruteforce attacks on a daily basis. Therefore an additional layer of protection exists for WordPress administration area (/wp-login.php, /wp-admin).
Requested URI: | https://divjivrt.si/wp/wp-login.php |
---|---|
Your IP address: | 18.116.24.92 |
Geolocation (country): | US |
This protection can be unlocked for your WordPress admin area by modifying your ".htaccess" file.
Enter the following directives into your WordPress ".htaccess" file:
# BEGIN - Allow access to wp-admin for all <FilesMatch "(wp-login)\.php$"> Require all granted </FilesMatch> # END - Allow access to wp-admin for all
Example below shows how to allow access for countries: Slovenia (SI), India (IN) and Thailand (TH). Countries need to be specified using ISO country codes. Enter the following directives into your WordPress ".htaccess" file.
# BEGIN - Allow access to wp-admin for specified countries <IfModule mod_maxminddb.c> <FilesMatch "(wp-login)\.php$"> Require all granted RewriteCond %{ENV:GEOIP_COUNTRY_CODE} !^(SI|IN|TH)$ RewriteRule ^ - [F,L] </FilesMatch> </IfModule> # END - Allow access to wp-admin for specified countries
Example shows how to allow access to IP address 18.116.24.92 only and nobody else. Enter the following directives into your WordPress ".htaccess" file.
# BEGIN - Allow access to wp-admin for specific IPs <IfModule mod_maxminddb.c> <FilesMatch "(wp-login)\.php$"> Require all denied <RequireAll> Require ip 18.116.24.92 </RequireAll> </FilesMatch> </IfModule> # END - Allow access to wp-admin for specific IPs
If you believe this is an error please contact us with all the necessary details (a screenshot is best).