I am changing scripts that runs my site, hense my URLs also changed a little. I was successful in keeping the records id and some other stuff in the new URL, hoping it would make the url rewriting a little easier. This is the old url http://www.mydomain.com/fl/city-miami/company-555772-106th-street-shell-car-center.html Code (markup): and this is the new url to same page http://www.mydomain.com/business/index/555772/fl/miami/106th-street-shell-car-center Code (markup): I probably also need some fine tuning of my server to make sure so it runs as fast and effective as possible, both apache and probably mysql also ... I can pay $5 to the FIRST one who solve the URL rewrite thing, and $10 to the one looking over my server if okay with you ... or you let me know how much you want ... Payment via Paypal. EDIT: Now I played with it for a while and so far the best I can come up with is RewriteRule ^([A-Za-z]+)/city-([A-Za-z]+)/company-([0-9]+)-([A-Za-z]+)\.html$ http://www.yusap.com/business/index/$3/$1/$2/$4 [R=302,NC] Code (markup): But still, it doesn't work ...
Try: RewriteRule ^/([A-Za-z]+)/city-([A-Za-z]+)/company-([0-9]+)-([A-Za-z]+)\.html$ http://www.yusap.com/business/index/$3/$1/$2/$4 [R=301,NC,L]