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

Can ReDJ help with large URL switches?
(1 Online) (1) Ospite
  • Pagina:
  • 1
  • 2

ARGOMENTO: Can ReDJ help with large URL switches?

Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1812

  • nawilkes
  • Offline
  • Fresh Boarder
  • Messaggi: 14
Hello,

I am changing some of the lowest directory names in our website for SEO reasons, thus creating some very extensive redirect needs. I am wondering if ReDJ can help me be more efficient with these large changes.

For example, if I change the directory here from:

www.zionadventures.com/tripscourses.html

to

www.zionadventures.com/zionparktours.html

is there some sort of formula or code that can redirect everything in that directory at once?

For example, I'd like these:

www.zionadventures.com/tripscourses/biking.html
www.zionadventures.com/tripscourses/climbing.html
www.zionadventures.com/tripscourses/hiking.html

to go to this:

www.zionadventures.com/zionparktours/biking.html
www.zionadventures.com/zionparktours/climbing.html
www.zionadventures.com/zionparktours/hiking.html

And so on, with everything in that directory. Can ReDJ help me do this? Or do I have to do it all one at a time?

I have a feeling ReDJ has this functionality, but I can't figure out how. I admit I don't understand much of the more complicated documentation

Thanks for any help you can offer,
Nick
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1813

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Yes,
ReDJ can do this for you (was created just for this). In your example a single ReDJ item is enough:

From URL: /tripscourses/
To URL: http://{siteurl}/zionparktours/{pathltrim /tripscourses/}{queryfull}


With {queryfull} you will preserve all the URL parameters.

Look at here for a similar problem:

www.sistemistica.it/forum/11-redj-in-english/1799-mass-redirect-after-changing-menu.html

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1817

  • nawilkes
  • Offline
  • Fresh Boarder
  • Messaggi: 14
Luigi,

Thank you for illustrating how to to do this. It worked perfectly. Your service is very respectable. Thank you.

I see the {queryfull} macro is in the list of macro examples on the ReDJ component page. Is there any documentation that explains what each of the macros is and how it works? I would like to be able to educate myself, rather than use your time, in the future. Maybe I need to have more background in a certain area of coding? Any advice is appreciated.

Nick
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1818

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
There's a quick guide available in the download section of this site.

Let me know if you need something else.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1820

  • nawilkes
  • Offline
  • Fresh Boarder
  • Messaggi: 14
So I tried this for our Trips and Courses page, like this:

To URL:/zion-guided-trips-courses-tours

From URL: http://{siteurl}/zion-park-tours/{pathltrim /zion-guided-trips-courses-tours/}{queryfull}


And it worked perfectly. I tried to do the exact same thing for our About US section, like this:

To URL:/about-zion-adventure-company

From URL: http://{siteurl}/about/{pathltrim /about-zion-adventure-company/}{queryfull}


All the links seem to work EXCEPT the base page:

www.zionadventures.com/about-zion-adventure-company

This page seems to have an redirect loop. Can you tell me what I did incorrectly here? I think I used the same code, with different results.

Thank you,
Nick
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 13 Anni, 2 Mesi fa #1822

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
You are right, it's a loop because it matches with item itself.

To avoid this just add a slash (/) at the end of the From URL, so:

From URL: /about-zion-adventure-company/
To URL: http://{siteurl}/about/{pathltrim /about-zion-adventure-company/}{queryfull}


This should work because the URL www.zionadventures.com/about-zion-adventure-company does not match anymore with the item (there's a slash in the item and not in the URL).

Let me know,
Luigi
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 12 Anni, 5 Mesi fa #2785

  • Roman
  • Offline
  • Fresh Boarder
  • Messaggi: 6
I'm trying to get this work for my website but something seems to be wrong.

I would like to change only the middle of the URL from "domov-slikopleskarstvo-kalinero" into "slikopleskarstvo" everything after that remains the same also for all other articles.

from: www.kalinero.si/index.php/domov-slikopleskarstvo-kalinero/o-podjetju/pleskarstvo-sistematicni-pristop

into: www.kalinero.si/index.php/slikopleskarstvo/o-podjetju/pleskarstvo-sistematicni-pristop

I tryed like this:

from URL: /domov-slikopleskarstvo-kalinero

to URL: http://{siteurl}/index.php/slikopleskarstvo/{pathltrim /domov-slikopleskarstvo-kalinero/}{queryfull}

But this is not working.
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 12 Anni, 5 Mesi fa #2787

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

From URL: /domov-slikopleskarstvo-kalinero/
To URL: http://{siteurl}/index.php/slikopleskarstvo/{pathltrim /domov-slikopleskarstvo-kalinero/}{queryfull}


If not, send me an email at info(at)sistemistica.it and we'll check plugin settings.

Cheers,
Luigi
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 12 Anni, 5 Mesi fa #2788

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Thanks for backend access.

My error, that's the right one:

To URL: http://{siteurl}/index.php/slikopleskarstvo/{pathltrim /index.php/domov-slikopleskarstvo-kalinero/}{queryfull}


Cheers,
Luigi
L'Argomento è stato bloccato.

Re: Can ReDJ help with large URL switches? 12 Anni, 5 Mesi fa #2792

  • Roman
  • Offline
  • Fresh Boarder
  • Messaggi: 6
Luigi, you are great.

It works now.

Thank you for your response and quick support.
L'Argomento è stato bloccato.
  • Pagina:
  • 1
  • 2
Moderatori: admin
Tempo generazione pagina: 0.84 secondi
Cerca con Google
News
Chi è online
 50 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.