Tamam, başlıyorum ve adım adım buraya yazıyorum, umarım bundan sonra başka birinin başına gelirse bir döküman niteliği taşır.
1. sitede yorum bulunmadıgi icin koray.nenia.com adresinde yer alan iki yazıyı basit sekilde, sayfayi farkli kaydet diyip resimleriyle birlikte local harddisc ime kaydettim.
2. filezilla ftp programi yardimiyla, CMOD da, butun subdomain icindeki dosyalari sildim. Gizli dosyalar, .htaccess dosyasi, tema, bileşen dahil. hersey.
3. php-myadmin programiyla gorebildigim mysql tablolarımdan blogla alakalı olan veritabanını tamamen sildim. xyzblog veritabanını kaldırdım.
4. http://www.wordpress-tr.com/wordpress-turkce-233/ adresinden turkce wordpress uygulamasini temiz bir sekilde tekrar indirdim. (: Dosyaları winrar programi ile acip koray.nenia.com subdomainine tekrar yukledim.
5. php-myadmin yardimiyla yeni bir veritabani olusturdum. cakisma olmamasi icin farkli bir veritabani ve kullanici olusturdum, sifresine kadar farkli. xyzxyz veritabani gibi.
6. koray.nenia.com adresinden bloga giris yaptim. kurulumu adim adim gerceklestirdim.
7. blog default olarak calisir durumda. admin ve farklı bir kullanıcı olarak yorum yapılabilmektedir.
8. kendimin oluşturduğu .htaccess dosyasını ftp uzerinden index.php dosyasının yanı başına yukluyorum. dışarıdan erişilemeyecek editlenemeyecek şekilde
9. tercihler/kalicibaglantilar sekmesinde, kalici baglanti seklini ozel olarak belirtiyorum.. su sekilde;
/index.php/%category%/%postname%/%post_id%/
10. test ediyorum, yorum gonderiliyor mu diye? gonderilemiyor. anlıyorum ki sorun bende (: .. yani olusturdugum htaccess dosyasinda.
11. hemen buraya htaccess dosyani yazıyorum..
12.
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
# disable the server signature
ServerSignature Off
# limit file uploads to 10mb
LimitRequestBody 10240000
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>
#who has access who doesnt
order allow,deny
#deny from 000.000.000.000
allow from all
#custom error docs
ErrorDocument 404 /notfound.php
ErrorDocument 403 /forbidden.php
ErrorDocument 500 /error.php
# disable directory browsing
Options All -Indexes
#redirect old to new
Redirect 301 /old.php http://koray.nenia.com/new.php
#block referring domains
RewriteEngine on
RewriteCond %{HTTP_REFERER} digg\.com [NC]
RewriteRule .* - [F]
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(koray\.)?nenia.com/.*$ [NC]
#RewriteRule \.(gif|jpg)$ - [F]
#RewriteRule \.(gif|jpg)$ http://koray.nenia.com/koray.gif [R,L]
# php compression - use with caution
<ifmodule mod_php4.c>
php_value zlib.output_compression 16386
</ifmodule>
# protect from spam comments
RewriteEngine On
RewriteCond %{HTTP_HOST} ^nenia\.com$ [NC]
RewriteRule ^(.*)$ http://koray.nenia.com/$1 [R=301,L]
13. son satırlarda yer alan protect from spam comments komutlarını kaldiriyorum. yeni hali;
14.
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
# disable the server signature
ServerSignature Off
# limit file uploads to 10mb
LimitRequestBody 10240000
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>
#who has access who doesnt
order allow,deny
#deny from 000.000.000.000
allow from all
#custom error docs
ErrorDocument 404 /notfound.php
ErrorDocument 403 /forbidden.php
ErrorDocument 500 /error.php
# disable directory browsing
Options All -Indexes
#redirect old to new
Redirect 301 /old.php http://koray.nenia.com/new.php
#block referring domains
RewriteEngine on
RewriteCond %{HTTP_REFERER} digg\.com [NC]
RewriteRule .* - [F]
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(koray\.)?nenia.com/.*$ [NC]
#RewriteRule \.(gif|jpg)$ - [F]
#RewriteRule \.(gif|jpg)$ http://koray.nenia.com/koray.gif [R,L]
# php compression - use with caution
<ifmodule mod_php4.c>
php_value zlib.output_compression 16386
</ifmodule>
15. htaccess dosyasını tekrar yükleyip testleri gerçekleştiriyorum.
16. yorum gonderildi!
17. 14. asamada yer alan htaccess ve asagidaki kalici baglanti yapisiyla, wordpress kusursuz calisiyor arkadaslar.
/index.php/%category%/%postname%/%post_id%/
18. eylultoprak, yardimlarin icin gercekten cok tesekkur ederim. (: