HTTP and HTTPS in WordPress

posted in: Uncategorized | 0

In the themes header.php include the following in the top of the file: function https( $buffer ) { if( stripos($_SERVER[‘SERVER_PROTOCOL’],’https’) === true ) { return str_replace(‘http ://’, ‘https://’,str_replace(‘http :\/\/’, ‘https:\/\/’, str_replace(‘http %3A%2F%2F’, ‘https%3A%2F%2F’, $buffer))); } else { return $buffer; } … Continued

Find used IP addresses

posted in: Windows | 0

Open command prompt and try the following: FOR /L %i IN (1,1,254) DO ping -n 1 192.168.0.%i | FIND /i “Reply”>> c:\used-ipaddresses.txt Make sure all devices on the network is powered on.

1 2 3 4