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

Help in Redirection
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Help in Redirection

Help in Redirection 1 Anno, 10 Mesi fa #1098

Hi,

Thanks for the great component.
Actually my only URL contains .(dot) in the URL. Now i want to redirect all the URL's with taking out dot(.).

For Example:
This is the old one
VGP.-Hotel-Management-Academy.htm

Now, i want to redirect this to
VGP-Hotel-Management-Academy.htm

If you can see clearly, there is dot(.) after VGP in the URL.

As, there are many 100's of URL's of this kind, could you please help me how to redirect all these pages at a time

Re:Help in Redirection 1 Anno, 10 Mesi fa #1101

  • admin
  • Offline
  • Administrator
  • Messaggi: 1323
Hi,
your example item should be configured as follow:

From URL: VGP\.-Hotel-Management-Academy.htm
To URL: http://{siteurl}/VGP-Hotel-Management-Academy.htm


Note that dot need to be escaped, otherwise means "any single char". To redirect ALL these kind of pages at the same time, I think it's an hard stuff. This is because you need to identify a "common pattern", but in your case the common pattern is just a dot.

Maybe it could be possible to say "is the first dot" but also in this case, MySQL regular expressions are not so powerful as PERL regexp:

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

If you want, you should send me the list via email (menu "Contattaci"), so I can take a look to see if is possible to group URLs with a few items.

Regards,
Luigi
Ultima modifica: 1 Anno, 10 Mesi fa Da admin.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.65 secondi
News
Cerca con Google
Chi è online
 47 visitatori e 1 utente online
Pubblicità