Hallo Leute,
brächte mal eure Hilfe
Ich habe mir die Knowledge Base installiert und möchte diese jetzt auch gerne mit Short Url´s versehen.
Der direkte Aufruf der Short Url´s funtz einwandfrei.
Aber die Umsetzung der Url´s klappt nit
Also wenn ich auf eine Kategorie der KB gehe bekomme ich immer noch die Url in der Form
"/phpBB2/kb.php?mode=cat&cat=1"
angezeigt.
Ich möchte aber das der Link so
"/phpBB2/kb,cat,1.html"
ausgegeben wird.
Hier mal der Auszug aus der page_header.php
Code: Alles auswählen
$urlin =
array(
$prefix . '(?<!/)index.php"|',
$prefix . '(?<!/)viewforum.php\?f=([0-9]*)&(?:amp;)topicdays=([0-9]*)&(?:amp;)start=([0-9]*)"|',
$prefix . '(?<!/)viewforum.php\?f=([0-9]*)"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)&(?:amp;)view=previous"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)&(?:amp;)view=next"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)&(?:amp;)postdays=([0-9]*)&(?:amp;)postorder=([a-zA-Z]*)&(?:amp;)start=([0-9]*)"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)&(?:amp;)start=([0-9]*)&(?:amp;)postdays=([0-9]*)&(?:amp;)postorder=([a-zA-Z]*)&(?:amp;)highlight=([a-zA-Z0-9]*)"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)&(?:amp;)start=([0-9]*)"|',
$prefix . '(?<!/)viewtopic.php\?t=([0-9]*)"|',
$prefix . '(?<!/)kb.php"|',
$prefix . '(?<!/)kb.php\?mode=([a-zA-Z]*)&(?:amp;)cat=([0-9]*)"|',
$prefix . '(?<!/)kb.php\?mode=([a-zA-Z]*)&(?:amp;)k=([0-9]*)"|',
);
$urlout = array(
'"forums.html"',
'"viewforum,\\1,\\2,\\3.html"',
'"forum,\\1.html"',
'"ptopic,\\1.html"',
'"ntopic,\\1.html"',
'"ftopic,\\1,\\2,\\3,\\4.html"',
'"ftopic,\\1.html"',
'"ftopic,\\1,\\2.html"',
'"ftopic,\\1.html"',
''"kb.html"',
'"kb,\\1,\\2.html"',
'"kba,\\1,\\2.html"',
);
Vielen Dank für eure Hilfe