Home Forum
2017-11-18
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
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 6 Anni 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.

Re: redirect url mambo style 6 Anni 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

Re: redirect url mambo style 6 Anni 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,

Re: redirect url mambo style 6 Anni 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: 6 Anni fa Da admin.

Re: redirect url mambo style 6 Anni 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: 6 Anni fa Da fermu.

Re: redirect url mambo style 6 Anni 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
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.49 secondi
News
Cerca con Google
Chi è online
 107 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.