Codepolice

Random posts from Ola in English. Mainly about programming and the web.

WordPress file upload on IIS, 403, permalinks and all sorts of crap

I have just installed two servers with IIS 7 and IIS 7.5 and i have had all sorts of problems with IIS file uploads.

  1. Issues with permissions for PHP and WordPress. Apparently with PHP you must give your IIS_IUSRS (What is the diffrence between IIS_IUSRS and IUSR btw?)  user permission to both your temp direct (upload_tmp_dir) and your regular upload directory in WordPress (wp-contentuploads)
  2. Remember to SAVE YOUR POST AS A DRAFT (or publish it of course) before uploading. I just spent the last ½ hour trying to upload images but all i got was “403 Access Denied”. When i saved the post everything worked perfectly.

Well .. this is the issues i found so far. Will update this post if i find anything else.

Links: WordPress File Uploads With IIS, Issue with image upload .. and more

One Comment

  1. Henke says:

    1. Yupp

    2. Strange. I’ve never had this problem. Running on a IIS dev server with several WP istallations and different versions of WP. But I’ve never had this issue.

Leave a Reply