I am currently working on a WordPress project on a remote IIS server. I consider myself well versed in the use of WordPress, however, most of my previous projects have been on Apache servers and I am really running into problems on the IIS server.
I have contacted the host, and made sure that I have the correct file permissions. However, I cannot upload files or edit themes/plugins from the WordPress backend.
For example, when I use the WordPress theme editor panel, I make changes in the text, but when I click save there is no “Your changes have been saved message” and the file is just reverted to what it was before.
When I try to upload an image inside a post, I receive the following message:
The uploaded file could not be moved to C:xxxwwwrootxxx.comwwwdev/wp-contentuploads.
I notice the slash to the right of dev is incorrect, but I cannot figure out how to change this. I have tried defining this in the wp-config file with several different variations with no luck. For example, I have tried adding define(‘UPLOADS’, ‘wp-contentuploads’) and I have also tried using the absolute path.
Does anyone have any idea how I can fix this? I need to get this squared away as soon as possible, but I am not sure where to go from here. Any advice is appreciated.
Thank you for reading.
.
.
.
Edit
I have tried altering the “upload_path” via wp-admin/options.php with no success, and the following results:
When I try the absolute path, C:xxxwwwrootxxx.comwwwdevwp-contentuploads, I get the following
The uploaded file could not be moved to C:xxxwwwrootxxx.comwwwdevwp-contentuploads.
When I try wp-contentuploads in the “upload_path”, I get the following
The uploaded file could not be moved to C:xxxwwwrootxxx.comwwwdev/wp-contentuploads.
Chris’s Blog » WordPress upload permissions on IIS 7 Fix or Google for the IIS6 fix:
See 10 Reasons Why Not to Host Your WordPress Blog on a Windows/IIS Platform
you need to give php temp dir full permissions (iusr) (network service) c:winnttemp is the default upload dir before it moves to the wp site so this has to be set
in php admin (in iis applet) u can change the temp dir if your not liking the fact its in your NOS dir
next issue u will have is max_fileupload size also in php admin
iis works great best if your the admin of the server to quickly make the needed changes