I fixed the previous issue following your suggestion, thanks
Since I'm problematic guy, here is another question:
I've been able to customize a bit the CMS so I'm now able to replace spaces and other strange characters with "-" and put everything in lower-case. Please have a look at the old url and the new one:
- Code: Select all
old rewritten url:
http://haransite/EN/ITALY-holiday-guide/Campania-on-Campania%20-%20Ischia%20Island/Ischia%20Ponte/Caves%20to%20castles%20on%20Italy%27s%20Ischia%20island/001GVSZP26DHRELP-3FDRT1ZPFKXE
new rewritten url:
http://haransite/en/italy-holiday-guide/campania-ischia-island/ischia-ponte/caves-to-castles-on-italy-s-ischia-island/gvszp26dhrelp/
This is the rule that's actually working with the old url:
- Code: Select all
RewriteRule ^([^/]+)/([^/]+)-holiday-([^/]+)/([^/]+)(-([^/]+))/([^/]+)/([^/]+)/([^/]+)-([^/]+)$ /public/snapshot.cgi?cat=$3&area1=$2&area2=$4&area3=$5&des=$7&pname=$8&cdo=$9&loc=$10&lng=$1 [L]
How can I redirect all the old urls to the new ones?
Thanks,
Haran