Alternative content

Seo4Smf kurulum

***********

Seo modunun kodlama yaptığı dosyalar;
SSI.php
Forum Anadizininizdeki/index.php
Sources/BoardIndex.php
Sources/Display.php
Sources/Load.phpSources/MessageIndex.php
Sources/QueryString.php
Sources/Search.php
Sources/Subs.php
Sources/News.php
Sources/Subs-post.php
Sources/TPortal.php (Tp kullanıcıları için)
Themes/Default/Display.template.php
Themes/default/BoardIndex.template.php
[size=13pt][color=red][b]
Dikkat!!! Seo4smf modu sadece Apache sistemlerde çalışmaktadır.Windows sunucularda kurmaya çalışmayın..[/b][/color][/size]

Ve sıra geldi kuruluma..Seo modunu verdiğim linkten indirin.
[url=http://www.webmasterstalks.com/tpmod.html;dl=item48][b]seo4smf=>[color=red]indir[/color][/b][/url] Link çalışmıyorsa modu ekten indirin…

Seo modunu sorunsuz birşekilde kurduysanız admin panelinde yapmanız gereken bazı ayarlar vardır..Bu ayarları etkinleştirmezseniz seo modundan verim alamazsınız..İlk önce forum seçeneklerinden [color=red]URL’leri göstermeden kullan[/color] seçeneğini işaretleyin..Daha sonra tekrar admin panelinden [color=red]Seo4SMF Admin[/color] ayarlarına girerek resimde gösterdiğim şekilde ayarlarınızı yapınız..

[img]http://img135.imageshack.us/img135/7990/seo1ya7.jpg[/img]

ikinci resimde 1adım sitemapla ilgilidir.Dilerseniz o seçeneği işaretlemeyip seo sitemap olayını devredışı bırakabilirsiniz..Çok konulu forumlarda biraz kasma yaptığı için opsiyon haline getirilmiş..

[img]http://img135.imageshack.us/img135/7931/seo2vy7.jpg[/img]

2. adım ise .htaccess dosyası ile ilgili ayarlardır..seo4admin paneline girdiğiniz zaman normalde orası boş gözükür.Aşağıda vereceğim kodları o boşluğa atarak save butonuna tıklayın..
Burada dikkat etmeniz gerekn bir husus var.Eğer forumunuz herhangi bir klasörde değilse yani direk anadizinde ise aşağıdaki kodları olduğu gibi htaccess bölümüne girip save butonuna tıklayın..Forumunuz herhangi bir klasörde ise yani www.örneksite.com/forum ya da www.örneksite.com/smf gibi dizinlerde ise aşağıda verdiğim kodlar arasında [color=red]RewriteBase /[/color] satırını bulup [color=red]RewriteBase /[b]forum[/b][/color] veya siteniz hangi dizinde ise adını ona göre belirtin..

[code]RewriteEngine on

#Some apache servers need Rewritebase.
#delete # from start of Rewrite base to enable it.
#If your forum is something like http://www.forum-example.com/forum then modify your
#RewriteBase in this way: RewriteBase /forum

RewriteBase /

#Archive/Sitemaps
RewriteRule ^sitemaps-([a-zA-Z0-9-]*)\.html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]

#uncomment if you use beautifying url actions
#RewriteCond %{REQUEST_METHOD} =GET
#RewriteCond %{QUERY_STRING} ^action=(.*)$
#RewriteRule ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^topic=([0-9]*).([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]

RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]

#Tiny Portal Old Url's
RewriteCond %{QUERY_STRING} ^page=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]

#Rewrite Old urls
RewriteRule ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]

RewriteRule ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
RewriteRule ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]

#Bad Url's
#RewriteCond %{REQUEST_URI} ^(.*)\.html$
#RewriteCond %{REQUEST_URI} !^(.+)/(.*)-t([0-9]*)\.([0-9]*).html$
#RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html seo4smf-redirect.php?t=$2 [R=301,L]

RewriteRule ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]
RewriteRule ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]

#New board URL's
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]
RewriteRule ^(.*)-b([0-9]*)\.([0-9])$ index.php?dummy=2&board=$2.$3 [L]

#New topic URL's
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html$ index.php?dummy=1&topic=$2.$3 [L]

#New profiles URL's
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]
RewriteRule ^(.*)-u([0-9]*)\.html index.php?dummy=1&action=profile;u=$2 [L]

#New Tinyportal Articles URL's
RewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]

#New action Url's - uncomment if you use beautifying url actions
#RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
#RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]

#Sitemaps
RewriteRule sitemap.xml sitemaps.php [L]
RewriteRule urllist.txt urllist.php [L]
[/code]

modu kurduktan sonra sayfa geçişlerinde [color=red]500 Internal Server Error[/color] hatası alıyorsanız ftp den forum anadizinizdeki [color=red]seo4smf-redirect.php[/color] dosyasının yazılabilirlik ayarlarını 644 yapın..
Konular arası veya konu içerisinde sayfa atlama işleminiz başarısız olursa aşağıdaki kodlamayı yapın

Sources/QueryString.php de
bul

[code]if (!empty($modSettings['queryless_urls']) && (!$context['server']['is_cgi'] || @ini_get('cgi.fix_pathinfo') == 1) && $context['server']['is_apache'])[/code]

değiştir
[code]if (!empty($modSettings['queryless_urls']) && ($context['server']['is_cgi'] || @ini_get('cgi.fix_pathinfo') == 1) && $context['server']['is_apache'])[/code]

Seo modunu birtürlü kuramadınız ve kaldırmak istiyorsanız admin panelinden paketlere girip modu kaldırınız.Konulara giremiyorsanız forum dizinindeki .htaccess dosyasını yedek alarak siliniz…Bu işlemi yaptıktan sonra sıra geldi veritabanımızdan seo modunun sorgularını kaldırmaya..PhpMyAdmine girin..Ara fonksiyonunu kullanarak seo4 yazın ve karşınıza çıkan bütün sonuçları silin..Bu şekilde veritabanınızı seodan arındırmış olacaksınız..

Benzer Konular:

  1. Seo4Smf 2 Yayınlandı
  2. Seo4Smf Manuel Anlatım
  3. Seo4Smf 2.0 Güncellendi
  4. Seo4Smf RC3
  5. Seo4Smf 2.0 RC2

Etiketler:

Yorum yapın

Yorum yapabilmek için giriş yapmalısınız.