Commit 9b22905e authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Rewrite landing pages

parent e30f6da4
......@@ -819,6 +819,13 @@ class PublishManager
foreach($this->landing as $landing) {
$htaccess .= "RewriteRule ^/{$landing}$ /{$landing}.html [L,NC]\n";
$o = new Ontology();
$klanding = array();
foreach($klanding as $keyword) {
$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