Hello, I have a site that's gone through 3 versions (pure PHP, Cake 1.1- based, Cake 1.2 currently) and there are a number of these old urls still being linked to so I'd like to catch these and re-direct them to the new location.
About 99% of these are straight substitutions: e.g. /page.php?id=123§ionId=8 => /reviews/news_article I came up with using the router::connect and that seems to work, but I'd really like to send a 301 to tell Google that the pages have really moved, so I'm thinking of use .htaccess, the thing is I can't figure out which .htaccess file to add the redirects to (and how to not clash with CakePHP's own RewriteRules Most of the urls are pretty simple: e.g. RewriteRule ^page\.php?id=123§ionId=8$ /reviews/news_article [R=301 NC L] Any help would be appreciated, Zoltan twitter: ZedGuy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---