Hello,
i have joined 2 EE sites into single MSM installation.
The sites had URL with category IDs indexed in search engines (like http://www.site2.com/index.php/category/C1)
Now, as the sites has been joined into one MSM installation the category IDs obviously changed, so I have now http://www.site2.com/index.php/category/C101 instead.
I don’t want to loose the existing search engine links, so want to remap old category URL to new ones.
I tried adding to .htaccess rule like
RewriteRule ^index\.php/category/C1/ /index.php/category/C101/ [R=301,L]but it does not work (no redirect happens)
However
RewriteRule ^category/C1/ /index.php/category/C101/ [R=301,L]DOES work (but is not what I need).
Does anything in EE or index.php prevent the redirect from happening?
Is there maybe a programmatic way of creating category redirect for certain MSM site?
Any other suggestions?