Home Forum
2024-04-29
Benvenuto, Ospite
Nome Utente Password: Ricordami

Query Strings in URL
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Query Strings in URL

Query Strings in URL 15 Anni fa #91

  • seangreen
  • Offline
  • Fresh Boarder
  • Messaggi: 6
Hi.

I'm using REDJ to redirect to my index.php and pass two variables in the query string.

So my redirect looks like this:

/11
goes to:
index.php?activeItem=1&activeSubItem=1


But, when I go to the page /11 , I get redirected to
index.php?activeItem=1
....

The Second query string goes missing...

Can you help me with this?

thanks,
Sean.
L'Argomento è stato bloccato.

Re:Query Strings in URL 15 Anni fa #92

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Sean,
could you, please, post me a screenshot of your item list in Joomla! backend?

Thanks,
Luigi
L'Argomento è stato bloccato.

Re:Query Strings in URL 15 Anni fa #94

  • seangreen
  • Offline
  • Fresh Boarder
  • Messaggi: 6
Here's the screenshot:

Le immagini di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Allegati:
  • Allegato Le immagini di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
L'Argomento è stato bloccato.

Re:Query Strings in URL 15 Anni fa #95

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Ok,
so items are scanned in the order that you choose and the first one that match with current URL is applied. So, be sure to put /11 before of /1. Just two other suggestion:

1) Destination URL should include protocol and domain. You can use {siteurl} macro. So you should change, for example:

index.php?activeitem=1

With:

http://{siteurl}/index.php?activeitem=1

2) Tag Meta 1.1 supports the power regular expression, so just use it. For example to be sure that /11 don't mess with /1 insert FromURL in this way:

/1$ for /1
/11$ for /11

The dollar at the end means "terminate". More info on regex at:

dev.mysql.com/doc/refman/5.0/en/regexp.html

Regards,
Luigi
L'Argomento è stato bloccato.

Re:Query Strings in URL 15 Anni fa #96

  • seangreen
  • Offline
  • Fresh Boarder
  • Messaggi: 6
Hey.


Super - the $ did the trick. =

thanks allot for your help!

... and so quick too!

Mille Grazie,
Sean.
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.48 secondi
Cerca con Google
News
Chi è online
 35 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.