- Posts: 97
- Thank you received: 0
Pager don't change url?
11 years 9 months ago #183661
by shpuser
Pager don't change url? was created by shpuser
-- HikaShop version -- : 2.2.3
If the user change page, then on second/new page has the same url, where can i enable, there is new url needed like /products/watches.html?page=2... where can i enable it? The same url is bad for seo...
If the user change page, then on second/new page has the same url, where can i enable, there is new url needed like /products/watches.html?page=2... where can i enable it? The same url is bad for seo...
Please Log in or Create an account to join the conversation.
11 years 9 months ago #183695
by Xavier
Replied by Xavier on topic Pager don't change url?
Hi,
There is not yet this kind of options in HikaShop, but should be present in the next release
There is not yet this kind of options in HikaShop, but should be present in the next release
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188354
by shpuser
Replied by shpuser on topic Pager don't change url?
We updated our hikashop, but still the same problem, is this issue still open? It's very important for seo... thank you.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188366
by Xavier
Replied by Xavier on topic Pager don't change url?
Hi,
You have to enable the option "Redirect POST mode" in Configuration > Main > Advanced settings, sorry for not having informed you about that.
You have to enable the option "Redirect POST mode" in Configuration > Main > Advanced settings, sorry for not having informed you about that.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 95
- Thank you received: 0
11 years 7 months ago #189843
by Keks-Store
Hi, I have the latest version of HikaShop, but when I turn on the option "Redirect POST mode" it is not quite working correctly.
For example, www.keks-store.ru/katalog/koshki/korm quantity of goods default on page 16, and when you go to page 2, we have a link like
www.keks-store.ru/katalog/koshki/korm?limit=16&limitstart=20
but if you change the number of products per page 32 that the 1st page is displayed and has a link
www.keks-store.ru/katalog/koshki/korm?limit=32&limitstart=
here go the next page is not working.
What is the problem?
Replied by Keks-Store on topic Pager don't change url?
Xavier wrote: Hi,
You have to enable the option "Redirect POST mode" in Configuration > Main > Advanced settings, sorry for not having informed you about that.
Hi, I have the latest version of HikaShop, but when I turn on the option "Redirect POST mode" it is not quite working correctly.
For example, www.keks-store.ru/katalog/koshki/korm quantity of goods default on page 16, and when you go to page 2, we have a link like
www.keks-store.ru/katalog/koshki/korm?limit=16&limitstart=20
but if you change the number of products per page 32 that the 1st page is displayed and has a link
www.keks-store.ru/katalog/koshki/korm?limit=32&limitstart=
here go the next page is not working.
What is the problem?
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189869
by shpuser
Replied by shpuser on topic Pager don't change url?
I have the same problem with pager.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #190089
by nicolas
Replied by nicolas on topic Pager don't change url?
Hi,
Add the code:
after the code:
in the file components/com_hikashop/views/product/view.html.php and that will fix the problem.
Add the code:
Code:
$app->setUserState($this->paramBase.'.list_limit',$pageInfo->limit->value);
Code:
if(isset($_REQUEST['limit_'.$this->params->get('main_div_name').$category_selected])){
$pageInfo->limit->value = JRequest::getInt('limit_'.$this->params->get('main_div_name').$category_selected);
}elseif(isset($_REQUEST['limit']) && (empty($this->module) || JRequest::getVar('hikashop_front_end_main',0))){
$pageInfo->limit->value = JRequest::getInt('limit');
}else{
$pageInfo->limit->value = $this->params->get('limit');
}
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 95
- Thank you received: 0
11 years 7 months ago #190135
by Keks-Store
Replied by Keks-Store on topic Pager don't change url?
Ok
Please Log in or Create an account to join the conversation.
Time to create page: 0.248 seconds