.htaccess ‘down for maitenance’ and WordPress

How do we add a second IP address that is allowed to see the site in development? We can just append just second REMOTE_ADDR like this since the default flag is [AND] # BEGIN Maintenance <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.11$ #First Address RewriteCond %{REMOTE_ADDR} !^123\.45\.67\.89$ #Second Address RewriteCond %{REQUEST_URI} !^/maintenance\.html$ RewriteRule … Read more

Restricting user login by IP address

IP address validation during authentication – for a selected user only Here’s a way to hook into the authenticate filter and validate the IP address for a given user during authentication. The user can see the invalid IP address error like shown here: /** * Validate IP Address During Authentication – For A Given User … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)