How to rename the WordPress wp-login.php running on IIS6?

I wrote a blog post a while back, this is a quick and dirty hack to make hackers think your wp-login.php is a 404 page. http://dave.kz/hide-your-wp-login-page-from-hackers/. (From blog post) Basically, I’ve added… header(“HTTP/1.0 404 File Not Found”); to the top of the wp-login.php page. Hopefully the attacker is looking for a 200 HTTP response. In … Read more

iis6 multisite and permissions

The solution was not that there was a permissions issue. Since iis6 doesn’t use .htaccess it required installing Ionics Isapi Rewriter Enabled on the webserver you then insert essentially the same content as a the .htaccess file into an iirf.ini file in the root of the site you want and the content becomes available. Much … Read more

How to back-up a database on IIS

I was able to find the name of the database in word-press’s wp-config.php file under the and was able to create a back-up of the file using MSQL workbench and the tutorial found here http://community.discountasp.net/showthread.php?t=11972.

WordPress main site and sub domain

it says when you answer to avoid asking for clarification, but how else do you let someone know more info is needed? I tried to pull up both urls, the subdomain by itself, and with the additional “printing” folder on the end, both pull up nil. There are a couple ways to do it, but … Read more

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

WP has global $is_iis7 variable, which is filled via following code: $is_iis7 = $is_IIS && intval( substr( $_SERVER[‘SERVER_SOFTWARE’], strpos( $_SERVER[‘SERVER_SOFTWARE’], ‘Microsoft-IIS/’ ) + 14 ) ) >= 7; If detection is not working correctly likely something is going wrong with this line, such as server vars not being filled with the info expected.