Login module for member (not administrator site) - Joomla! Forum - community, help and support


hi all,

i looking block login access member page specific ip address. tried .htaccess doesn't seems working. idea?

please take note not asking login administrator (back end)

appreciate if here help.

thank you.

if know user(s), there method block them in admin > user manager. otherwise need insert php code in template determine referring ip , redirect

code: select all

$kickout = $_server['remote_addr'];

if( preg_match('/174.141.213.30|72.186.109.58|132.45.66.83/',$kickout) ) {
header('location: http://google.com');
exit();
}





Comments