Forumlara ve Başlıklara Giremiyorum

phpBB 2.0.x kurulum ve çalıştırılmasında meydana gelen sorun ve problemler için buradan yardım alabilirsiniz.
Kilitli
qursoy
Kayıtlı Kullanıcı
Mesajlar: 11
Kayıt: 10.06.2007, 10:43
Konum: Trabzon
İletişim:

Forumlara ve Başlıklara Giremiyorum

Mesaj gönderen qursoy »

Arkadaşlar Merhaba ;

Forumda herhangi bir foruma girmeye çalıştığımda ;
Not Found
The requested URL /viewforum.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Bu şekil ,

Konuya girmeye çalıştığımda ise ;
Not Found
The requested URL /viewtopic.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Böyle bir hata alıyorum ..

SEO İle Alakalı olduğunu düşündüm bu yüzden .htaccess'i de ekledim.

Kod: Tümünü seç

DirectoryIndex portal.php index.php index.html index.htm


RewriteEngine On
#this may cause issues with subdirs and so I have not enabled it.
RewriteBase /

RewriteRule [.]*-vf([0-9]*) viewforum.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) viewtopic.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1
RewriteRule [.]*-vc([0-9]*) index.php?%{QUERY_STRING}&c=$1
RewriteRule [.]*-ac([0-9]*) album_cat.php?%{QUERY_STRING}&cat_id=$1
RewriteRule [.]*-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-full-asp([0-9]*) album_showpage.php?full=&pic_id=$1
RewriteRule [.]*-asp([0-9]*) album_showpage.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-aper([0-9]*) album_personal.php?%{QUERY_STRING}&user_id=$1
RewriteRule [.]*-dc([0-9]*) dload.php?%{QUERY_STRING}action=category&cat_id=$1
RewriteRule [.]*-df([0-9]*) dload.php?%{QUERY_STRING}action=file&file_id=$1
RewriteRule [.]*-kbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-kba([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-kbsmp kb.php?mode=stats&stats=mostpopular
RewriteRule [.]*-kbstr kb.php?mode=stats&stats=toprated
RewriteRule [.]*-kbsl kb.php?mode=stats&stats=latest
RewriteRule [.]*-pbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-pa([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-psmp kb.php?mode=stats&stats=mostpopular
RewriteRule [.]*-pstr kb.php?mode=stats&stats=toprated
RewriteRule [.]*-pbsl kb.php?mode=stats&stats=latest

RewriteRule [.]*-ef([0-9]*) viewforum_easy.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-ep([0-9]*) viewtopic_easy.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-et([0-9]*) viewtopic_easy.php?%{QUERY_STRING}&t=$1
Yardımlarınızı bekliyorum.Şimdiden teşekkür ederim.
qursoy
Kayıtlı Kullanıcı
Mesajlar: 11
Kayıt: 10.06.2007, 10:43
Konum: Trabzon
İletişim:

Re: Forumlara ve Başlıklara Giremiyorum

Mesaj gönderen qursoy »

Arkadaşlarım çok özür diliyorum biraz uğraştım ve sorunu hallettim eğer benim gibi hata alan arkadaşlar varsa onlar için sorunun nasıl düzeltildiğini anlatayım ;)

Forumum /phpBB dizini içinde kurulu bu yüzden SEO hata veriyor..

.htacess dosyasını açıp her dosyanın başına phpBB dizinini yazınız ..

Örneğin ;
RewriteRule [.]*-vf([0-9]*) viewforum.php?%{QUERY_STRING}&f=$1
Böyle olan her satırın başına phpBB dizinini ekleyiniz
RewriteRule [.]*-vf([0-9]*) phpBB/viewforum.php?%{QUERY_STRING}&f=$1
Bunun gibi (:

Saygılar
quRSoy
Kullanıcı avatarı
kitkat
Kayıtlı Kullanıcı
Mesajlar: 47
Kayıt: 05.03.2007, 00:42
İletişim:

Re: Forumlara ve Başlıklara Giremiyorum

Mesaj gönderen kitkat »

Hepsine teker teker yazmaya gerek yok, sadece RewriteBase satırına yazarsanızda olur

Kod: Tümünü seç

RewriteEngine On
#this may cause issues with subdirs and so I have not enabled it.
RewriteBase /phpBB
Kilitli

“2.0.x Destek Forumu” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 1 misafir