Articles of windows

Posting with slug “favicon” gets redirected

I’ve created a WordPress posting with an URL slug “favicon“: https://blog.zeta-producer.com/favicon/ Unfortunately this seems to somehow interfere with the favicon, because instead of showing the posting, I see an error message: Not Found The requested URL /favicon.ico/ was not found on this server. Probably some URL rewriting gets in the way. My question: Are there […]

WP CLI Shell not working on Windows

I recently installed WP-CLI on windows with the instructions below. However when I type wp shell I get en error: The system cannot find the path specified. One solution on github says: Psysh is not bundled in wp-cli.phar, but you should be able to include it, like so: wget psysh.org/psysh -O psysh.phar php wp-cli.phar –require=psysh.phar […]

Can't connect to my WordPress website using Windows 8 app?

Im trying to connect to my WordPress site (self hosted) through the Windows 8 app. First, after giving the WordPress.com account details, it show my site and ask me to Authorize. after authorizing, it say “Can’t connect to the service”. I have used several security plugins in wordpress like the Better WP Security. But they […]

Why doesn't WP_PLUGIN_DIR definition use DIRECTORY_SEPARATOR?

Whilst writing some code that backs-up a plugin, I hit a problem with ‘the wrong kind of directory slash’ on my windows dev environment. Tracking it through I find in default-constants.php:91 define( ‘WP_PLUGIN_DIR’, WP_CONTENT_DIR . ‘/plugins’ ); which is based on the following in default-constants.php:46 define( ‘WP_CONTENT_DIR’, ABSPATH . ‘wp-content’ ); and hence to the […]

Permissions to wp-content folder in Windows Server 2012

I’ve made some tests to solve this problem: trying to update some plugins via WordPress backend I always receive a “Unable to create folder” error. So I’ve initially added IIS_IUSRS with Read/Write/Modify permissions (not full control), but nothing changed. Then I’ve tried to add IIS_IUSRS with full control, but I did not solve. My final […]

Upload Image Not accessible

I’m getting a 500 error when trying to access the full version of any image. As soon as it’s uploaded to the server, it becomes ‘unavailable’, and each file cannot be accessed/deleted/anything – like WordPress is holding on to the file somehow. However, any thumbnails work fine. We have tried: Changing permissions on the server […]

When attempting to update a self-hosted WordPress site, I'm seeing “ASN1 unknown message digest algorithm”

I’ve got several WordPress sites that I self-host on a Windows Server. When attempting to perform the upgrade process, via /wp-admin/update-core.php?action=do-core-upgrade I see the following error: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm It’s entirely unclear to me where to begin resolving this issue. Interestingly, the “WordPress News” applet shows a similar error: RSS Error: WP […]

How can I diagnose a slow WordPress admin?

Over the past few months the admin pages on my wordpress multisite site (around 80 sites) have been taking around 20 seconds to load. I am running the latest version of wordpress (version 4.1). When I renamed the plugins folder to “plugins-deactivated” the admin area returned to a usual peppy speed of three seconds. However, […]

Multisite on Windows with wildcard subdomains

I want to create a local network on a Windows machine using subdomains. I do not want to edit the hosts file for each new subdomain. But Windows does not support wildcard subdomains, and the Codex doesn’t say anything useful about this topic. What should I do?