htaccess redirect condition to redirect old URL to new URL – SEO
Previously, I have a redirect rule RewriteRule ^([A-Za-z0-9-]+)(---[^/]+)/?$ pc.php?name=$1&id=$2 [L,NC,QSA,NE] 1) This gives an output: http://me.com/i-am-here---125/ Now, I want it to change to something better and more SEO friendly. I am using the below rewrite rule. RewriteRule ^([0-9-]+)/([A-Za-z0-9-]+)/?$ pc.php?id=$1&name=$2 [L]…