I have a quick question... My server is setup with the Core and App
directories setup NOT in the root httpdocs directory of the domain.
The only thing in my httpdocs directory is my webroot.
So the .htaccess of my root domain is:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
I'm having trouble trying to put 301 Redirects in at this level. I
tried putting
Redirect 301 /old.html http://www.mysite.com/products/oilgas
But I get the following:
http://www.mysite.com/products/oilgas?url=old.html
And it blows up with old.html not working.
If I need to redirect specific pages... how does this work in Cake?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---