Home Forum
2010-09-10
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Generale
Giochi a premi
Open Source
Ricezione
Welcome, Guest
Please Login or Register.    Lost Password?

Help in Redirection
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Help in Redirection
#1098
Help in Redirection 6 Months ago  
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
way2college
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1101
Re:Help in Redirection 5 Months, 4 Weeks ago  
Hi,
your example item should be configured as follow:

Code:

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
admin
Administrator
Posts: 580
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/15 19:59 By admin.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: admin
Cerca con Google
Chi è online
 47 visitatori online
Pubblicità