Hello
I have this rule on my .htaccess file
RewriteRule ^business/(.*)/(.*)/(.*)$ ./businesspage.php?name=$1&place=$2&id=$3
I want to make it shorter for SEO purposes, so there would be only two parameters, $3
& $1
.
However, I want the old URLs indexed on google to redirect to the new ones. How do I do it?
For example /business/name/place/id
-> /id/name
.
Thanks