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)
Sorry, I not speak English. I hope you understand me
URL example:
http://lussumo.com/community/discussion/5999/1/googlemapdirectory/
http://lussumo.com/community/discussion/5999/googlemapdirectory/
This bug located in /library/Framework/Framework.Class.PageList.php, but I don`t know, how change it.
URL example:
http://lussumo.com/community/discussion/5999/1/googlemapdirectory/
http://lussumo.com/community/discussion/5999/googlemapdirectory/
This bug located in /library/Framework/Framework.Class.PageList.php, but I don`t know, how change it.
0
This discussion has been closed.
Comments
/themes/my_theme/discussion.php
Add code after 2 string...
$ModelReplace = array ( //'/discussions/1/' => '/', //Uncomment string, else your Vanilla instalation in root domain directory '/1/"' => '/"' ); $PageList = strtr($PageList, $ModelReplace);
/themes/my_theme/comments.php
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.