Re: Simple SEO URL [support thread]

Originally Posted by
sweettraders
I'm almost done with the migration from the dreaded miva to zencart shopping cart. I need to 301 redirect from the miva seo url
http://www.mydomain.com/page/XY/CTGY/MyCategory to SSU
http://www.mydomain.com/MyNewCategory. I tried
Code:
.
.
.
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
#### EOF SSU
RewriteRule ^/page/XY/CTGY/MyCategory/$ /MyNewCategory [R=301,L]
and many other versions of the RewriteRule with my limited knowledge of regex, without success.
Since the original and new url do not pattern match well, I may need to create an rule for every category and product.
What am I missing in my rule or regex? Thanks.
Try to puts your rewriterule right below the rewrite base and see if it works
RewriteRule ^page/XY/CTGY/(.*)$ CTGY/$1 [R=301,NC,L]
(Assuming CTGY is your zencart folder?)
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Bookmarks