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

New multi-category blog/portal (ReDj settings)
(1 Online) (1) Ospite

ARGOMENTO: New multi-category blog/portal (ReDj settings)

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 8 Mesi fa #1974

admin ha scritto:
You have a PM.

Best regards,
Luigi

ok, i sent u back a pm

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 8 Mesi fa #1978

ok i sent u the stuff

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2235

Hello again. Now we want to turn back all the items from the categories directly after the domain.
Like this:
mysite.com/category/item-1
To this:
mysite.com/item-1
As you remember we already have made a redirect and you said that it shouldn't be more than one redirect in one category. So what do we do in this case?

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2239

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
This should work:

From URL: /category/
To URL: http://{siteurl}/{pathltrim /category/}{queryfull}


Luigi

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2248

admin ha scritto:
This should work:

From URL: /category/
To URL: http://{siteurl}/{pathltrim /category/}{queryfull}


Luigi

and if i want to keep show the category without redirection in domain but only the items from this category?
from
mysite.com/category/item-1
to this
mysite.com/category/
and this
mysite.com/item-1

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2251

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603

and if i want to keep show the category without redirection in domain but only the items from this category?
from
mysite.com/category/item-1
to this
mysite.com/category/
and this
mysite.com/item-1


Sorry but I do not understand the reason for a "double somersault". Could you explain why you need a double redirect?

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2263

to be able to find categorized new. but never-mind i fixed this.

now my problem is other..

how can i move items like this one

mysite.com/item/1017-news-2011

"1017" is the id of this item, i have many other items like this(with different id)

to this
mysite.com/news-2011

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2266

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
There's no problem to create a regular expression to match all the URLs like this. There's a little problem to create the destination, because you need to retain just a part of the destination. THis can be done using {pregmatch} macro, but this is available only in the Enterprise version of ReDJ.

Here is an example available on the quick guide to extract part of the URL:

{preg_match 2}/([^\/]+)(\.php|\.html|\.htm)/i{/preg_match}

This returns just ".php". You could create a pattern to return just "/news-2011".

Hope this is clear enough.

Luigi

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2274

admin ha scritto:
There's no problem to create a regular expression to match all the URLs like this. There's a little problem to create the destination, because you need to retain just a part of the destination. THis can be done using {pregmatch} macro, but this is available only in the Enterprise version of ReDJ.

Here is an example available on the quick guide to extract part of the URL:

{preg_match 2}/([^\/]+)(\.php|\.html|\.htm)/i{/preg_match}

This returns just ".php". You could create a pattern to return just "/news-2011".

Hope this is clear enough.

Luigi

i have the Enterprise version

Re: New multi-category blog/portal (ReDj settings) 6 Anni, 5 Mesi fa #2278

Donnie Darko ha scritto:
admin ha scritto:
There's no problem to create a regular expression to match all the URLs like this. There's a little problem to create the destination, because you need to retain just a part of the destination. THis can be done using {pregmatch} macro, but this is available only in the Enterprise version of ReDJ.

Here is an example available on the quick guide to extract part of the URL:

{preg_match 2}/([^\/]+)(\.php|\.html|\.htm)/i{/preg_match}

This returns just ".php". You could create a pattern to return just "/news-2011".

Hope this is clear enough.

Luigi

i have the Enterprise version

so, what is the macro to redirect 1000 different items with the item/-1334(different id) in star of any url to move alone only with the title alias?
Moderatori: admin
Tempo generazione pagina: 0.44 secondi
News
Cerca con Google
Chi è online
 95 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.