If you use the All Groups link, it rewrites back to groups home. Any way around this?
Gold with 3.8 beta 1
This is a discussion on All Groups goes to Groups Home within the Troubleshooting forums, part of the vBSEO SEO Plugin category; If you use the All Groups link, it rewrites back to groups home. Any way around this? Gold with 3.8 ...
If you use the All Groups link, it rewrites back to groups home. Any way around this?
Gold with 3.8 beta 1
Hello,
Please try to modify functions_vbseo.php file:
FIND:
REPLACE WITH:PHP Code:if(count($apars)==0 || ($apars['do'] == 'grouplist' && count($apars)==1))
{
$newurl = vbseo_group_url(VBSEO_URL_GROUPS_HOME, $apars);
}else
if($apars['do'] == 'grouplist' && $apars['page'])
{
$newurl = vbseo_group_url(VBSEO_URL_GROUPS_HOME_PAGE, $apars);
}else
and in functions_vbseo_url.php file:PHP Code:if($apars['do'] == 'grouplist' && $apars['page'])
{
$newurl = vbseo_group_url(VBSEO_URL_GROUPS_HOME_PAGE, $apars);
unset($apars['page']);
unset($apars['do']);
$noclear = true;
}else
if($apars['do'] == 'grouplist')
{
$newurl = vbseo_group_url(VBSEO_URL_GROUPS_HOME, $apars);
unset($apars['do']);
$noclear = true;
}else
find:
replace with:PHP Code:$selfurl_more .= ($vbseo_arr['group_id'] ? '&groupid=' . $vbseo_arr['group_id'] : '') ;
we are going to implement a new URL format to support that.PHP Code:$selfurl_more .= ($vbseo_arr['group_id'] ? '&groupid=' . $vbseo_arr['group_id'] : '&do=grouplist') ;
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Worked
Thanks.
When I make this modification :
*all categories link become http://www.domain.com/groups/
*Pagination stop working for "all groups list". (page 2 still be Page 1)
I use the defaut rewrite in vbseocp
VB 3.8 beta2
Edit Pagination fixed
Changed defaut setting to: groups/index[page]/
Last edited by Nzo; 11-16-2008 at 09:14 AM.
Thanks for the pagination fix. I must be rewriting the groups differently because I have cat ids.
Hi - where do we apply the pagination fix? Thanks!
Hello, please see the above post:
Edit Pagination fixed
Changed defaut setting to: groups/index[page]/
The Forum Hosting - Forum Hosting from the Forum Experts