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.

Duplicated pages (SEO bug)

edited September 2007 in Vanilla 1.0 Help
Sorry, I not speak English. I hope you understand me :)

URL example:

This bug located in /library/Framework/Framework.Class.PageList.php, but I don`t know, how change it.


  • Options
    edited September 2007
    < 1 2 3 4 ... x >
  • Options
    edited September 2007
    My stupid simple method:

    Add code after 2 string...
    $ModelReplace = array ( //'/discussions/1/' => '/', //Uncomment string, else your Vanilla instalation in root domain directory '/1/"' => '/"' ); $PageList = strtr($PageList, $ModelReplace);

    Add code before 15 string (Based in Default Vanilla theme)
    $ModelReplace = array ( '/1/"' => '/"' ); $PageList = strtr($PageList, $ModelReplace);

    Note: need Friendly Urls and hack short URL.
This discussion has been closed.