Mam problem z forum PhpBB3. Do forum zainstalowałem kilka modyfikacji robiących z forum bardziej przyjazne pod wyszukiwarki...
Problem pojawia się gdy założę temat w którego nazwie jest kilku cyfrowa liczba...
Przykład:
Działa: http://www.addvideo.pl/forum/sport/triumf-...panow-t188.html
Nie działa: http://addvideo.pl/forum/sport/mistrzostwa...inale-t184.html
Jak widać w temacie i url'u jest ciąg liczb - w tym przypadku rok "2010" no i się krzaczy... jak wywalę rok, to działa link ;/
Problem pewnie tkwi w .htaccess więc dołączam część odpowiedzialną za forum:
# Forum <Files "forum/config.php"> Order Allow,Deny Deny from All </Files> <Files "forum/common.php"> Order Allow,Deny Deny from All </Files> RewriteEngine On RewriteBase / RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC] RewriteRule ^forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC] RewriteRule ^forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC] RewriteRule ^forum/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC] RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC] RewriteRule ^forum/active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] RewriteRule ^forum/unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] RewriteRule ^forum/newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC] RewriteRule ^forum/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
Może ktoś coś poradzić, powyższy kod generuje SEO Advenced Mod Rewrite do PhpBB3...
Przed chwila w bazie ręcznie zmieniłem nazwe tematu na podstwie której generowany jest url na:
Działa: http://www.addvideo.pl/forum/sport/mistrzo...inale-t184.html
Proszę o pomoc.