Home Forum
2024-12-22
Benvenuto, Ospite
Nome Utente Password: Ricordami

I can't get it to work without *.html
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: I can't get it to work without *.html

I can't get it to work without *.html 14 Anni, 5 Mesi fa #1290

  • bobbyggx
  • Offline
  • Fresh Boarder
  • Messaggi: 3
Hi there,
I'm thinking that is the componet which I'm looking for, but it seems not working correctly with my URIs.

Here is the deal:

I don't use sh404sef.

Not all of my urls are friendly.

The problem:
when the url is /quotations.html -> it does work
when is without the *.html prefix -> it does NOT work

.... I could live with the *.html urls, but like I said not all of my urls are friendly.

For example I've got url like this one:
/index.php/component/comname/?task=showCategory&catid=235

And it doesn't work for it at all.

Regards
L'Argomento è stato bloccato.

Re: I can't get it to work without *.html 14 Anni, 5 Mesi fa #1291

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
remember two things:

1) ReDJ works also with partial URLs;

2) ReDJ uses regular expressions.

So, for an URL like this:

/index.php/component/comname/?task=showCategory&catid=235


You should create an item as follow:

From URL: ^/index.php/component/comname/\?task=showCategory&catid=235$
To URL: http://{siteurl}/destination.html


If you still have problem, send me the redirections you need (from, to), and I will tell you how to create items.

Regards,
Luigi
L'Argomento è stato bloccato.

Re: I can't get it to work without *.html 14 Anni, 5 Mesi fa #1292

  • bobbyggx
  • Offline
  • Fresh Boarder
  • Messaggi: 3
Got your point!
I'll give it a try, and let you know if it works.

Thanks for the fast reply!

Regards!
L'Argomento è stato bloccato.

Re: I can't get it to work without *.html 14 Anni, 5 Mesi fa #1293

  • bobbyggx
  • Offline
  • Fresh Boarder
  • Messaggi: 3
It does redirect the url, but how to say the component that I want redirect to a specific url which is an alias of the partial? Is it possible?

I'm getting 404 error now, because I don't have /destination.html (for example), and I need to say to the component that actually /destination.html is equal (alias) of the partial URL. Is that possible?
L'Argomento è stato bloccato.

Re: I can't get it to work without *.html 14 Anni, 5 Mesi fa #1294

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Sorry,
could you be more detailed?

You should use ReDJ to redirect a source URL to destination URL. Source could be an old non-existing page, or the alias you want to create. Destination MUST exists, and is the real page you want to show.

Let me know what I'm missing...

Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.51 secondi
Cerca con Google
News
Chi è online
 273 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.