Commit 53483746 authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Fix keyword rewrites

parent 5b43c7fc
......@@ -824,7 +824,7 @@ class PublishManager
$klanding = array();
$o->KeywordsLanding($klanding,false);
foreach($klanding as $keyword) {
$htaccess .= "RewriteRule ^/{$keyword['keyword']}$ /{$keyword['keyword']}.html [L,NC]\n";
$htaccess .= "RewriteRule ^{$keyword['keyword']}$ /{$keyword['keyword']}.html [L,NC]\n";
}
}
$this->fm->WritePage( "pub/.htaccess" , $htaccess);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment