Posted by Mike Russell on 02/16/07 23:48
<mariusz@polbank.info> wrote in message
news:1171650978.889006.138220@j27g2000cwj.googlegroups.com...
> 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.
> So I think that only way is to do it in PHP.
> I'm a complete novice at redirects. So maybe anyone could help
> me....how to do it?
No PHP needed. Use html's refresh tag to redirect each page individually.
http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm
--
Mike Russell
www.curvemeister.com/forum/
Navigation:
[Reply to this message]
|