Re: php $_GET routing

2008-02-21 Thread bingo
you might want to read this post http://ragrawal.wordpress.com/2007/11/29/making-cakephp-controller-independent-of-how-parameters-are-sent/ I have discussed how your controller can be made independent of how parameters are sent Regards, bingo On Feb 21, 8:17 am, Walker Hamilton <[EMAIL PROTEC

Re: php $_GET routing

2008-02-21 Thread [EMAIL PROTECTED]
It doesn't work. I even tried to place this line in all .htaccess files, but the result is the same. On Feb 21, 3:17 pm, Walker Hamilton <[EMAIL PROTECTED]> wrote: > Use rewrite rules in htaccess instead. > > RewriteRule ^index.php?articleid=([0-9]+)$ /articles/view/$1 > [R=301] --~

Re: php $_GET routing

2008-02-21 Thread Walker Hamilton
Use rewrite rules in htaccess instead. RewriteRule ^index.php?articleid=([0-9]+)$ /articles/view/$1 [R=301] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, sen

php $_GET routing

2008-02-21 Thread [EMAIL PROTECTED]
Before I used CakePHP, I had a page written in simple PHP. It had urls like this - mypage.com/?article=3. But now my page kas urls like this - mypage.com/article/view/3. A lot of refferring sites has the old url, but I don't want to loose my clients. How do I handle it? I tried to set the routing