Home Forum
2017-11-19
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
Benvenuto, Ospite
Nome Utente Password: Ricordami

Complex redirect in K2, would Enter. version help?
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Complex redirect in K2, would Enter. version help?

Complex redirect in K2, would Enter. version help? 6 Anni, 4 Mesi fa #2328

  • tomzag
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Hello,

I have a question regarding usage of this excellent extension - if it's possible to solve this problem with either Community or Enterprise version my client we'd be more than happy to purchase Enterprise edition. Since I've been using Re DJ on several projects now I'm hoping we can also use it for this specific site.

Our problem is following:

We have a Joomla / K2 site with several hundred Joomfish translated articles and we decided to switch from Joomfish to core K2. We plan to "extract" translations and add them as new K2 items with altered IDs. With that, we will need to redirect old Joomfish URLs to new K2 items. Please review sample URLs below.

Current:

www.domain.com/eng/catname/subcat/item/1234

Desired new URL:

www.domain.com/eng/catname/new-subcat/item/11234


We have approximately 30 categories which we need to redirect in such matter. Would it be possible to make a redirection to work like this:

- to apply "new-" prefix to all subcategories that are stored in "/catname" AND to apply "1" prefix to ID number


I was able to do something similar with Community version:

http://{siteurl}/en/catname/new-subcat/item/1{pathltrim /rdt/en/catname/subcat/item/} which results in proper URL but only for one subcategory, and we have 30-ish of those.

I do hope this makes sense, please do not hesitate to ask for any clarification if needed!

Thanks in advance!


best regards,
Tom

Re: Complex redirect in K2, would Enter. version help? 6 Anni, 4 Mesi fa #2330

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
hi,
if I get the question right, you would find a way to do this with just one ReDJ item rule and not with 30.

The Enterprise edition has a regmatch macro for destinations that allow to extract any part of the source url, so it could be possible to do this. THe most important thing is that alk info you need are present in the source URL. If this is not the case, we should add a specific macro for your need (e.g. to extract the lang JoomFish variable). This is already planned for future versions.

Best regards,
Luigi

Re: Complex redirect in K2, would Enter. version help? 6 Anni, 4 Mesi fa #2338

  • tomzag
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Thanks Luigi for quick response. We will proceed with purchase of Enterprise edition and I'll contact you in case we need some help in configuring it.

best regards,
Tom

Re: Complex redirect in K2, would Enter. version help? 6 Anni, 4 Mesi fa #2351

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
You are welcome.

Luigi
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.20 secondi
News
Cerca con Google
Chi è online
 62 visitatori online
Sponsor

Slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.