mod rewrite - mod_rewrite - redirect from old url to new url -
need professional help.
i have joomla 1.5 virtuemart
we change sef, , old url gone:(
old url:
http://example.com/126-name-group/147101.html
126-name-group - category name 126 - category id.
147101.html - product
147101 - id product
new url:
http://example.com/katalog/product/126/147101.html
katalog/product - constant
i'm not professional in mod_rewrite:(
thx help.
use rule on top of other rules in .htaccess
rewriterule ^([0-9]+)-[^/]+/([0-9]+\.html)$ /katalog/product/$1/$2 [r=301,l]
Comments
Post a Comment