Well, I found one solution to put something like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^test/test.htm$ /pages/oilgas [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
HOWEVER... still one more question if anybody can help.....
As in my first example, is there a way to interpret the passed in
variable from the original setup?
In other words, put something in code to take the url=blahblah
and create a custom redirect based on that blahblah for custom
redirects in a CMS style setup, so the CMS users can customize what
their redirects are on the fly?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---