Wordpress Itheme Türkçe Teması Alman dizisinde türk kahraman
Kas 03

Wordpressinizde önemle bulunması gereken ekletilerden biridir.Bu sayede cpu kullanımını azaltabileceksiniz.Siteniz yüksek hitlere ulaştığında dahi kasılmıcak.Mysql şişmeyecek.

  • Eklentiyi buradan indirin.
  • Eklentiyi indirdikten sonra wp-content/plugins/  içine atın
  • 3. wp-super-cache klasöründeki wp-cache-phase1.php dosyasının ismini advanced-cache.php yapın ve wp-content klasörüne atın

  • 2. wp-super-cache klasöründeki wp-cache-config-sample.php dosyasının ismini wp-cache-config.php yapın ve wp-content klasörünün içine atın ve CHMOD 777 yapın.

  • Anadizindeki .htaccess dosyasını açın ve içine aşağıdaki kodu yapıştırın:

           —————–.htaccess—————–
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
—————–.htaccess—————–

  • wp-content” klasörü içinde “cache” kalsörünü oluşturun ve chmod 777 yapın
  • Oluşturduğumuz cache klasöründe .htaccess dosyasını oluşturun ve içine aşağıdaki kodu ekleyin:

    # BEGIN supercache
<IfModule mod_mime.c>
  AddEncoding gzip .gz
  AddType text/html .gz
</IfModule>
<IfModule mod_deflate.c>
  SetEnvIfNoCase Request_URI \.gz$ no-gzip
</IfModule>
<IfModule mod_headers.c>
  Header set Cache-Control ‘max-age=300, must-revalidate’
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html A300
</IfModule>

# END supercache

Son olarak  wp-comfig.php nin içine   define(’WP_CACHE’, true); 

kodunu ekleyin ve admin panelinizde wp-super-cahce yi aktifleştirin.

Bunlardan sonra You may experience problems running this plugin because SAFE MODE is enabled gibi 1 sorun alıyosanız hostunuzla görüşün ve SAFE MODE u OFF yapmasını isteyin.

iyi çalışmalar. V. iLKaN

Etiketler:



Cevap Gönder

Yorum yapmak için kullanıcı girişi yapmalısınız.