I have been rewriting my urls a certain way and now want to change them to include some keywords in the url. Is there a way to redirect one rewrite style to another with a 301?
Post example of current URLs, and how you want them, and the original URL. I think you'll get the infinite loop.
I'm trying to possibly redirect this http://www.xxxxxxxxxxxx.com/cp-app/prod/sports-memorabilia/HM-NYMPRIDEK RewriteRule ^cp-app/([^/]*)/sports-memorabilia/([^/]*)/?$ shop/cgi-bin/cp-app.cgi?pg=$1&sports-memorabilia&ref=$2 [L] to this http://www.xxxxxxxxxxxx.com/sports-...-Mets-Team-Pride-Photomint--HM-NYMPRIDEK.html RewriteRule ^sports-memorabilia-(.*)\.html shop/cgi-bin/cp-app.cgi?seo=item--$1
I don't think it'll work. Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^cp-app/([^.]+)/sports-memorabilia/([^.]+)$ http://www.xxxxxxxxxxxx.com/sports-memorabilia--$1--$2.html [R=301,L] RewriteRule ^sports-memorabilia-(.*)\.html shop/cgi-bin/cp-app.cgi?seo=item--$1 [L]