Windows’ta WordPress Klasör Yetkileri Sorunu

IIS üzerine WordPress kurduğunuz zaman bir Linux server’ına göre daha çok ayar yapmanız gerekiyor. Plesk gibi bir kontrol paneliniz varsa bu işlemler daha kolay oluyor fakat VDS/VPS üzerinde böyle bir kontrol paneliniz yoksa biraz sıkıcı bir hale dönebiliyor. Klasörlere/Dosyalara erişim yetkilendirmesi de bunlardan biri. Mesela bir güncelleme/yükleme yapmak istediğinizde şu hatayı alabilirsiniz:

Downloading install package from http://downloads.wordpress.org/plugin/nextgen-gallery.zip.

Download failed. Could not create Temporary file

Bu demektir ki internetten indirilmeye çalışan dosya wp-content klasörünün altına yazılamıyor. Arama motorlarında bu konu hakkında ara yaptığınızda size IIS kullanıcısının (IIS_USR) yetki problemlerinin olduğu belirtilir. Eğer gerekli yetkileri vermenize rağmen bir değişiklik olmuyorsa:

CREATOR OWNER* kullanıcısınında yetkisini vermeniz lazım.

*: CREATOR OWNER aslında tam olarak bir kullanıcı hesabına eşit değildir. Amacı birden fazla kullanıcılı bir işletim sisteminde dosya yada klasörü oluşturan kullanıcıya ayrı yetki verilmesini sağlar.

“It is not safe to rely on the system’s timezone” Problemi

WordPress’te herhangi bir yerde şöyle bir hata ile karşılaşıyorsanız:

Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe/Helsinki’ for ‘EEST/3.0/DST’ instead in wp-includes/functions.php on line 43

bunu çözmek için wp-includes/functions.php dosyasını açın ve ilk fonsiyondan önce şu kodu yapıştırın:

date_default_timezone_set('UTC');

“It is not safe to rely on the system’s timezone” Problem

In WordPress, if you got a warning message in anywhere:

Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe/Helsinki’ for ‘EEST/3.0/DST’ instead in wp-includes/functions.php on line 43

you should add below in wp-includes/functions.php file before the first function:

date_default_timezone_set('UTC');

WordPress “Domain-Change” Eklentisi

WordPress ile yayın yaptığınız bir alan adınız var ve bu alan adı üzerindeki yazılarınızı yeni aldığınız alan adı üzerinden yayınlamak istiyorsunuz fakat doğal olarak bu alan adınıza gelen ziyaretcileri kaybetmek istemiyorsunuz (301 redirect). Bu durumda Domain-Change adlı eklentiyi değiştirmek istediğiniz alan adı üzerindeki WordPress sisteminize yüklüyorsunuz ve gerisini bu eklentiye bırakıyorsunuz.

Eklenti adresi: WordPress Eklenti Dizini

WordPress “Domain-Change” Plugin

You have an WordPress blog in a domain that you want to change it and publish same post in new domain. Naturally, you don’t want to lose your visitors that are trying to enter your blog with old domain. The solution is installing   Domain-Change plugin in your old WordPress blog and this will redirect your visitors to your new domain (by 301 redirect method)

Plugin page: WordPress Eklenti Dizini