Pager don't change url?

  • Posts: 97
  • Thank you received: 0
10 years 8 months ago #183661

-- 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...

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #183695

Hi,

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.

  • Posts: 97
  • Thank you received: 0
10 years 7 months ago #188354

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.

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #188366

Hi,

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.

  • Posts: 95
  • Thank you received: 0
10 years 7 months ago #189843

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.

  • Posts: 97
  • Thank you received: 0
10 years 7 months ago #189869

I have the same problem with pager.

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 7 months ago #190089

Hi,

Add the code:

$app->setUserState($this->paramBase.'.list_limit',$pageInfo->limit->value);
after the 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');
				}
in the file components/com_hikashop/views/product/view.html.php and that will fix the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 0
10 years 7 months ago #190135

Ok

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum