You are here: Re: Redirect « PHP Programming Language « IT news, forums, messages
Re: Redirect

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация