Home Forum
2012-02-07
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
Benvenuto, Ospite
Nome Utente Password: Ricordami

relinking a bunch of hard links question
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: relinking a bunch of hard links question

relinking a bunch of hard links question 2 Anni, 5 Mesi fa #466

  • torstnl
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Hello.
Fisrt of al thanks for the create extension.
I got the following issue. And wondering if the ReDJ can help me with it.
I moving my site to another provider.
Was using the SEF of Joomla.
At the first provideri had to disable the mode_rewrite.
And at the new provider i have to enable it.
The got the problem that al the URL's are changing from
old URL:
mysite.com/index.php/......
to new URL:
mysite.com/......
Is there a way to let al the old urls working, with only creating one rule in ReDJ? Or do i have toe create for any link a rule in ReDJ.
Hoop there is a solution, cause there are a hoop links
Thanks

Re:relinking a bunch of hard links question 2 Anni, 5 Mesi fa #467

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
Thanks to you for using ReDJ.
Yes, there is a simple solution for your problem, but you must use mod_rewrite for this, not ReDJ.

That's because for you needs, also destination URL is dinamic, while with ReDJ only source URL is dinamic (regexp). This can be an idea for the next release.

Going back to your problem, with Apache mod_rewrite you can set a rule that sistematically rewrite the original call dropping "index.php".

Something like this:

RewriteRule ^/index.php/?(.*) /$1 [L]

Regards,
Luigi
Ultima modifica: 2 Anni, 5 Mesi fa Da admin.

Re:relinking a bunch of hard links question 2 Anni, 5 Mesi fa #469

  • torstnl
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Thanks for the tip.
I wil try it and let you now if iets working.

Looking forward for a new relase.

Regards
Torst
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.27 secondi
News
Cerca con Google
Chi è online
 68 visitatori e 1 utente online
Pubblicità