I can answer this myself sorry! It works great! Thank you soooooooooooooooooooo much!!!!
Am Mittwoch, 16. Mai 2012 11:47:43 UTC+2 schrieb heohni: > > Hi, > > thanks, I will try! > Which htaccess should I use, the one in /webroot/ > > Am Mittwoch, 16. Mai 2012 11:23:55 UTC+2 schrieb rchavik: >> >> On Monday, May 14, 2012 7:08:36 PM UTC+7, heohni wrote: >>> >>> If I try this: (from the 2.0 book) >>> >>> Router::redirect( >>> '/details*', >>> array('controller' => 'qrcode', 'action' => 'redirect', >>> array('persist' => true) >>> )); >>> >>> >> You could try to use .htaccess to do this: >> >> RewriteCond %{QUERY_STRING} ^id=([0-9]*)$ >> RewriteRule ^details.php /qrcode/redirect/%1? [R=permanent,L] >> >> This will redirect details.php?id=1 to /qrcode/redirect/1. >> You might want to use the actual 'view' url instead of doing double >> redirection. >>> >>> -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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