Change of IP Address

You may try changing the site url in wp-config.php with: define( ‘WP_HOME’, ‘http://example.com’ ); define( ‘WP_SITEURL’, ‘http://example.com’ ); you may also check if you have http, or https.

How can I add IP address to my post?

I’ve modified your code and moved $ip inside the function. That way the variable is easily accessible from the function itself. function cptpost() { if (!empty($_SERVER[“HTTP_CLIENT_IP”])) { $ip = $_SERVER[“HTTP_CLIENT_IP”]; } elseif (!empty($_SERVER[“HTTP_X_FORWARDED_FOR”])) { $ip = $_SERVER[“HTTP_X_FORWARDED_FOR”]; } else { $ip = $_SERVER[“REMOTE_ADDR”]; } $dateTime = date(“Y/m/d g:i:sa”) //create post object $userid = get_current_user_id(); $my_post … Read more

Block IP Addresses using Code [closed]

Place in your template’s index.php the following piece of code: $deny = array(“127.0.0.1”, “88.88.88.88”); if (in_array ($_SERVER[‘REMOTE_ADDR’], $deny)) { header(“Location: http://example.com”); die(); } And just change the addresses of $deny for the IP address or addresses you want to block.

Blacklist IP After Using WordPress Plugin Detector?

Although @webman is correct, it is also possible that the site is loading some files from another place than their domain, and that ‘another place’ is blocking you. You could determine for sure by using the Developer Tools (F12 usually) in your browser, selecting the Network tab, then reloading the page. That will show you … Read more

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