|
Posted by Rik on 02/16/07 18:48
On Fri, 16 Feb 2007 19:36:18 +0100, <mariusz@polbank.info> wrote:
> Hello
>
> I want to redirect www.mysite.com/aaaa/p1/p2/p3 to www.mysite.com/bbbb=
/
> p1/p2/p3,
> because Google has indexed sites with 'aaaa' and 'bbbb'. But they are
> the same sites.
>
>
> I can't do it in .htaccess file becasue I'm taking p3 parameter from
> mysql database.
Why not?
RewriteEngine On
RewriteRule ^/aaaa(.*)$ /bbbb$1 [L,R=3D301,QSA]
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|