Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Pages and friendly URLs

edited September 2006 in Vanilla 1.0 Help
I want to submit to you a patch I made to the PageManager (the last release I found in the Vanilla site) to be "compatible" with friendly URLs. The code in the default.php has to be changed in (row 174 and on): 'Url' => $this->Tabs[$i]['point'] ? $this->Tabs[$i]['url'] : (($this->Context->Configuration['URL_BUILDING_METHOD'] == 'mod_rewrite') ? ($this->Context->Configuration['WEB_ROOT'].'page/'.$this->Tabs[$i]['page']) : ($this->Context->Configuration['WEB_ROOT'].'?Page='.$this->Tabs[$i]['page'])), and in the .htaccess add the row: #Pages RewriteRule ^page/(.*)$ index.php?Page=$1 [QSA,L] Let me know if I'm doing well! Thank you, Satollo.


This discussion has been closed.