I've upload and setup wordpress in windows server 2008 R2 using IIS. After successfully setup this application.
Facing error "Unable to create directory wp-content/uploads/2014/03. Is its parent directory writable by the server?". Prior to that, there are already some setting have been done, please check http://dotnetfish.blogspot.com/2013/10/error-message-500-internal-server-error.html
How to solve the problem? When upload the file to wordpress, the file will save into upload folder inside wp-content. What i do is add a modify permission to user IUSR and apply the setting to child folder as well.
After done the setting, problem solved.
Web application Sharing including ASP, ASP.NET 1.0 (C#) AND ASP.NET 2.0 (C#) MS SQL 2005 Server, Life, Travelling
Showing posts with label wordpress. Show all posts
Showing posts with label wordpress. Show all posts
Sunday, March 2, 2014
Friday, January 17, 2014
install wordpress in IIS - auto redirect to another folder
i’ve set up a wordpress blog in http://www.xxx.com/blog , whenever i go this this site, it will redirect me to http://www.xxx.com/xxx.com/blog/ and it will shows error message not found.
The site is hosted in godaddy window server.
The reason for this is cause the way Windows IIS handles the trailing slash. It show that you have the WordPress setup on a folder called blog on your aliased domain name. If you go to the url that is set in the WordPress it works. You will need to make sure you have it as http://www.xxx.com/blog/ or it will redirect incorrectly.
The site is hosted in godaddy window server.
The reason for this is cause the way Windows IIS handles the trailing slash. It show that you have the WordPress setup on a folder called blog on your aliased domain name. If you go to the url that is set in the WordPress it works. You will need to make sure you have it as http://www.xxx.com/blog/ or it will redirect incorrectly.
Thursday, October 10, 2013
Error Message 500 – Internal server error when try to access image uploaded into wordpress in IIS
When try to access to the photo / image that uploaded in WordPress that setup in IIS 7, Windows Server 2008 R2, error message below displayed:
Issue:
There is a problem with the resource you are looking for, and it cannot be displayed.
This is the big issue because all the uploaded image cannot displayed in the browser when click on it. Although we have granted the modify permission for user IUSR and {servername}\IIS_IUSRS to the directory and childdirectory /blog/wp-content/uploads/subdirectory but it still cannot be displayed.
Root Cause:
After check around, we found out that when we use PHP to upload a file. PHP will sends the file to a temporary directory on the hard drive (In my case C:\Windows\Temp) and then copies it over to it’s intended directory. You can find which one is the temporary folder by checking on the line “upload_tmp_dir” in php.ini.
Solution:
Go to C:\Windows\Temp folder, grant “modify” permissions to both IUSR and {servername}\IIS_IUSRS user accounts.
It solve my problem.
Issue:
Server Error
500 – Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.
This is the big issue because all the uploaded image cannot displayed in the browser when click on it. Although we have granted the modify permission for user IUSR and {servername}\IIS_IUSRS to the directory and childdirectory /blog/wp-content/uploads/subdirectory but it still cannot be displayed.
Root Cause:
After check around, we found out that when we use PHP to upload a file. PHP will sends the file to a temporary directory on the hard drive (In my case C:\Windows\Temp) and then copies it over to it’s intended directory. You can find which one is the temporary folder by checking on the line “upload_tmp_dir” in php.ini.
Solution:
Go to C:\Windows\Temp folder, grant “modify” permissions to both IUSR and {servername}\IIS_IUSRS user accounts.
It solve my problem.
Subscribe to:
Posts (Atom)


