Merhaba Sayın arkadaşlar,
Vbulletin 4.2 VBSeo eklentili forumu Xenforoya taşıdım. Bilindiği üzere XenForo'nun kendi Redirects (1.1.7) eklentisi mevcut. Ancak bu eklenti eski forumunuz standart VBulletin ise çalışıyor. VBSeo eklentisi eskiden kuruluysa ve link yapınız VBSeo'daki hiyerarşiye göre yapılıysa yönlendirmeyi otomatik yapamıyor. Bu yüzden sürekli hit kaybediyorum. Htaccess ile aşağıdaki kodla çözmeyi denedim fakat olmadı.
Eski forum link yapısı http://domain.com/kategori-adi/postid-postadi.html
Yeni Xenforo forum link yapısı https://domain.com/konular/postadi.postid/
Denediğim ve çalışmaya htaccess kodu:
#Source: 001 - Hierarchic .html type URLs with content relevant forums and threads
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
Konu hakkında yardıma ihtiyacım var, selamlar.
Vbulletin 4.2 VBSeo eklentili forumu Xenforoya taşıdım. Bilindiği üzere XenForo'nun kendi Redirects (1.1.7) eklentisi mevcut. Ancak bu eklenti eski forumunuz standart VBulletin ise çalışıyor. VBSeo eklentisi eskiden kuruluysa ve link yapınız VBSeo'daki hiyerarşiye göre yapılıysa yönlendirmeyi otomatik yapamıyor. Bu yüzden sürekli hit kaybediyorum. Htaccess ile aşağıdaki kodla çözmeyi denedim fakat olmadı.
Eski forum link yapısı http://domain.com/kategori-adi/postid-postadi.html
Yeni Xenforo forum link yapısı https://domain.com/konular/postadi.postid/
Denediğim ve çalışmaya htaccess kodu:
#Source: 001 - Hierarchic .html type URLs with content relevant forums and threads
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
Konu hakkında yardıma ihtiyacım var, selamlar.