Merhaba,
Phpbb 3.0.8 ve phpBB_SEO_Ultimate_SEO_URL_v0.6.6 kurdum. Gayet güzel çalışıyor.
Türkçe karakter sorunu nu da şuradaki yöntemle çözdüm. http://www.phpbb-seo.com/en/advanced-se ... 29-30.html
benim sorunum ise şu;
Daha önce topic-->konu, post-->ileti olarak değiştirmek için aşağıdaki yöntemi kullanıyorduk.
Ancak şimdi phpbb_seo_class.php dosyasında bu değişiklikleri nerede yapacağımı bulamadım. Bulan varsa yardımcı olabilir mi?
topic-->konu, post-->ileti olarak değiştirmek istiyorum.
AÇ:
phpbb_seo/includes/setup_phpbb_seo.php
Bul:
Kod: Tümünü seç
// <== Special for lazy French, others may delete this part
Sonrasına ekle:
Kod: Tümünü seç
// Special for lazy Turkish
if ( strpos($config['default_lang'], 'tr') !== false) {
// .htaccess değişikliği de gerektirir
$this->seo_static['forum'] = 'forum';
$this->seo_static['topic'] = 'konu';
$this->seo_static['post'] = 'ileti';
$this->seo_static['user'] = 'uye';
$this->seo_static['group'] = 'grup';
$this->seo_static['index'] = 'index';
$this->seo_static['global_announce'] = 'duyuru';
$this->seo_static['leaders'] = 'ekip';
$this->seo_static['usermsg'] = 'mesaj';
$this->seo_static['pagination'] = 'sayfa';
$this->seo_static['atopic'] = 'aktif-konular';
$this->seo_static['utopic'] = 'cevapsiz-iletiler';
$this->seo_static['npost'] = 'yeni-iletiler';
$this->seo_static['file_index'] = 'icindekiler';
}
$this->url_replace = array(
// Purely cosmetic replace
'$' => 'dollar', '€' => 'euro',
'\'s' => 's', // it's => its / mary's => marys ...
// Language specific replace (Turkish)
'Ç' => 'C', 'ç' => 'c',
'Ğ' => 'G', 'ğ' => 'g',
'I' => 'I', 'ı' => 'i',
'İ' => 'I', 'i' => 'i',
'Ö' => 'O', 'ö' => 'o',
'Ş' => 'S', 'ş' => 's',
'Ü' => 'U', 'ü' => 'u',
);
Not: Değişiklik .htaccess güncellemesi gerektirir.