Hello,
The following url rewrite works fine but it doesn't redirect to the new url.
RewriteRule ^test-(.*)-(.*)\.html$ /test.php?&abc=$1&xyz=$2/ [L]
Hello,
The following url rewrite works fine but it doesn't redirect to the new url.
RewriteRule ^test-(.*)-(.*)\.html$ /test.php?&abc=$1&xyz=$2/ [L]
If you want to force the browser to be redirected to the URL, you'll need to use the R
flag:
RewriteRule ^test-(.*)-(.*)\.html$ /test.php?&abc=$1&xyz=$2/ [R,L]