Home Forum
2024-05-01
Benvenuto, Ospite
Nome Utente Password: Ricordami

redirect url mambo style
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: redirect url mambo style

redirect url mambo style 12 Anni, 6 Mesi fa #2713

  • fermu
  • Offline
  • Fresh Boarder
  • Messaggi: 5
Hi to everyone and grettings from spain.
First at all sorry for my english... I need to redirect URLs style Mambo to Joomla 1.7 style, in essence i need to redirect something like that

www.fermu.com//content/view/364/26/lang,es

to www.fermu.com/es/364

is that posible?? Thank you in advance. i hope i have explained my issue.

By the way i've purchased the enterprise component. Thank you again.
L'Argomento è stato bloccato.

Re: redirect url mambo style 12 Anni, 6 Mesi fa #2714

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi and thanks for purchasing the Enterprise version.

Yes,
we can do this redirect with an item like this:

From URL: ^/content/view/364/26/lang,es$
To URL: http://{siteurl}/es/364


But if you have many redirect to do, we can create a single item that match will all of these. To do this, I need to know which old URLs you muste redirect to create a "pattern".

If you prefer, send me a private mail at info(at)sistemistica.it.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: redirect url mambo style 12 Anni, 6 Mesi fa #2715

  • fermu
  • Offline
  • Fresh Boarder
  • Messaggi: 5
Thank you for your quick response.

yes in fact, I need to redirect near 600 urls, all of them with the same pattern. for example, something like that.


www.fermu.com/content/view/232/26/lang,es/
www.fermu.com/content/view/213/2/lang,es/.
www.fermu.com/content/view/523/2/lang,es/

The first number is the id of the article
And the the second is the id of the category

That's url must be redirected to

www.fermu.com/es/232
www.fermu.com/es/213
www.fermu.com/es/523

In other words, i think that i need to pass as a parameter the item id article, is that posible?
Please let me know if you need anymore information. Thank you again,
L'Argomento è stato bloccato.

Re: redirect url mambo style 12 Anni, 6 Mesi fa #2717

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
So,
you could match all the URLs containing this pattern:

From URL: ^/content/view/


And redirect to new URLs using your Enterprise macro:

To URL: http://{siteurl}/{preg_match 1}/\/lang\,([^\/]+)\//i{/preg_match}/{preg_match 1}/\/view\/([0-9]+)\//i{/preg_match}


I've not tested so I hope it works.

Let me know,
Luigi
Ultima modifica: 12 Anni, 6 Mesi fa Da admin.
L'Argomento è stato bloccato.

Re: redirect url mambo style 12 Anni, 6 Mesi fa #2719

  • fermu
  • Offline
  • Fresh Boarder
  • Messaggi: 5
Adesso funziona, grazie mille

Now it's working fine, thank you very much.

however i have to tick "request only" and "decode url" checkboxes to make it work.


Thank you again Luigi, great support
Ultima modifica: 12 Anni, 6 Mesi fa Da fermu.
L'Argomento è stato bloccato.

Re: redirect url mambo style 12 Anni, 6 Mesi fa #2720

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Sorry,
I forgot to tell you this because these are the default settings in J1.5.

Happy it works now,
Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.67 secondi
Cerca con Google
News
Chi è online
 66 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.