View Full Version : index.1.html
Success
01-29-2008, 04:05 AM
Why is category index page showing in the weird format as index.1.html?
Why not just index.html?
shketuljko
01-29-2008, 08:12 AM
Because of pagination. For example if you have 145 articles in one category, and you set number of articles per page to 10, you will have 15 pages - index.1.html, index.2.html ...
evans23
05-04-2009, 12:08 PM
And how to remove this? And leave just index.html?
Stitche
06-01-2012, 11:22 AM
Please go to /lib/vivvo/core/Categories.class.php (version 4.5.x or above)
look at this line 496
function format_href(&$sm, $id, $pg = 1, $type = 'html') {
return make_proxied_url($sm->get_categories()->list[$id]->get_breadcrumb_href() . "index.$pg.$type");
}
and change to ......
function format_href(&$sm, $id, $pg = 1, $type = 'html') {
return make_proxied_url($sm->get_categories()->list[$id]->get_breadcrumb_href());
}
this should give you some idea
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.