× Here you can get community support related to ReDJ.

redirect in joomshopping ID to alias

  • mihkol
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #7013 by mihkol
redirect in joomshopping ID to alias was created by mihkol
Hi,

I have a problem in redirecting products from ID to alias.
For example:
From: www.barista-ltd.ru/magazin/product/view/34/1992.html
To: www.barista-ltd.ru/magazin/cup-covers/cupcover-90-open-slot-with-slogans-white.html

I want to redirect products from category with ID=34 to urls with aliases of category and all products in it.

I wrote the following:

From URLs: ^/magazin/product/view/34/[0-9]{1,4}
To URLs: {scheme}://{siteurl}/magazin/cup-covers/${alias}

Placeholders: id={preg_match 1}/magazin/product/view/[0-9]+/([0-9]+)/i{/preg_match}
alias={tableselect j25_jshopping_products,alias,id}${id}{/tableselect}

But it doesnt work.
Where is my mistake?

Thanks!

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

More
5 years 9 months ago #7021 by admin
Replied by admin on topic redirect in joomshopping ID to alias
Hi,
the very first problem I noticed checking your rule is that the target URL does NOT exists (error 404) so the redirection will never work. Could you please check it and tell me only the source (original) and the target (destination) URLs that you want to deal with?

Best
Luigi

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

  • mihkol
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #7023 by mihkol
Replied by mihkol on topic redirect in joomshopping ID to alias
Hi, Luigi

target URL is not exists on real working site.
But it exists on test site, which I have on another host but with the same domain name, All experiments I do on this test.

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

More
5 years 8 months ago #7041 by admin
Replied by admin on topic redirect in joomshopping ID to alias
It seems you are using a macro (preg_match) available only on ReDJ Enterprise.

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

Time to create page: 0.156 seconds