Seo4smf kurulum yardım..

yesil116

Doçent
Katılım
15 Ekim 2009
Mesajlar
780
Reaksiyon puanı
13
Puanları
18
Arkadaşlar merhaba kaç haftadır seo kurucam bir türlü cesaret edemiyordum bişeyleri bozucam diye bugün cesaretimi topladım kurdum.
kurulum başarılı geçti fakat kategori ve bölümlere giremiyorum.
-smf 2.0 rc3 kullanıyorum
-seo4smfredirect.php yi 644 yaptım
-konulara tıklayınca
Not Found
The requested document was not found on this server.


hatası alıyorum
-forumum subdomains/forum klasörünün içinde
-Ayrıca subdomains/forum içinde htaccess.txt diye bir dosya bulamadım!! böyle bişey olabilirmi?
 

hellmarch

Profesör
Katılım
15 Eylül 2007
Mesajlar
2,041
Reaksiyon puanı
20
Puanları
218
htaccess den kaynaklanıyordur sorun. SMF için seo kurmadım hiç ama htaccess olmazsa 404 verir.
 

yesil116

Doçent
Katılım
15 Ekim 2009
Mesajlar
780
Reaksiyon puanı
13
Puanları
18
Peki forum ana dizinine ben kendi yaptığım htaccess dosyasınıatsam ve
Kod:
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 /subdomains/forum

#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]

#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 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]
yazsam olurmu acaba?

Çünkü kurulumu anlatanlar forum anadizinde bulunan htaccess.txt yi .htaccess olarak değiştirin yazıyordu ama bende o dosya yok.


smf ye konu açan bir tek ben varım galiba:)

Bu bölümde 4 moderatör var birisi şu sorunumla ilgilenirse çok sevinicem... :)
 

hellmarch

Profesör
Katılım
15 Eylül 2007
Mesajlar
2,041
Reaksiyon puanı
20
Puanları
218
Kod:
#Some apache servers need Rewritebase.
#delete # from start of Rewrite base to enable it.
#If your forum is something like [URL]http://www.forum-example.com/forum[/URL] 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]

google'dan araştırdım, bende aynı kodları buldum. bunları bir .txt olarak kaydedin. forum dizinine atın.

htaccess.txt olarak gözükecek siz onu .htaccess olarak değiştirin. Sorun çözülür :)
 

yesil116

Doçent
Katılım
15 Ekim 2009
Mesajlar
780
Reaksiyon puanı
13
Puanları
18
hellmarch çok tuhaf birşey oldu dediğin şeyi 1 saat önce yapmıştım olmadı biraz önce baktım konulara girebiliyorum.linklerde html fakat seo devredemi değilmi nasıl anlarım sitemap falan?

Sende bir bakarmısın http://forum.arastirmadanalma.com
 

yesil116

Doçent
Katılım
15 Ekim 2009
Mesajlar
780
Reaksiyon puanı
13
Puanları
18
evet hallettim çok şükür nasıl hallettiğimide söyleyeyimde başkalarıda bu sorunu yaşarlarsa yardımı olur.

Benim forum subdomains de kurulu olduğu için


#RewriteBase in this way: RewriteBase /forum

RewriteBase /

bu kısmı bu şekilde bıraktım ve htaccess.txt dosyasını kendim yapıp ftp ye attım sonrada .htaccess şeklinde değiştirdim.
-seo4smfredirect.php yi 644 yaptım

Bu kadarmış:)
 

Selinti Gazer

Öğrenci
Katılım
26 Haziran 2011
Mesajlar
55
Reaksiyon puanı
7
Puanları
8
bu modu önermiyorum neden derseni açıkları var, kurması bi derst kaldırması bi dert. devamlı sorun ve bir çok modla çakışıyor. artı olarak geliştirilmiyorda artık. size tavsiyem prety url kurun . smfnin kendi sitesindeki kendi yayınladıgı modlardan şaşmayın . adamlar bosuna orada yayınlamıyor. başınız ağrımaz en azından.
 
Üst