Hi,
I have problems with 301 Redirect in .htaccess file. It doesn't work.
I am trying to rename on the same file url. Look at what I wrote
inside the .htaccess file:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]

    redirct 301 /hello http://www.example.com/services/hi/
    redirectMatch 301 ^/hello/ http://www.example.com/services/hi/
    redirectMatch 301 ^/hello/ $http://www.example.com/services/hi/
 </IfModule>

Please let me know what is wrong with it. I appreciated for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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