Hi,

I moved to Cake app and would like to use apache mod_rewrite to
convert my old links to new links. I added the rewrite rule to
the .htaccess in my apache document root, but it doesn't seem to
redirect the links. I tested the rewrite rule on a domain without cake
and it worked.

Am I supposed to put the rewrite someother place like app/
webroot/.htaccess or like routes.php?

Here is the rewrite:
Options +FollowSymlinks
RewriteEngine on
rewriterule ^([0-9]+)_([a-z0-9-]+).html /news/$2/ [r=301,nc]

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to