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

Posted by mobile_1 on 12/05/06 15:33

"Kimmo Laine" <spam@outolempi.net> wrote in message
news:lJabh.62115$vz5.12760@reader1.news.jippii.net...
> "mobile_1" <mobile_1@nospam.invalid> wrote in message
> news:12mp3j5a79j4pd2@corp.supernews.com...
>>I am trying to fix a problem where Google has indexed the wrong version of
>>a URL. I need to redirect the bad version to the good version with 301
>>redirects.
>
> Just use a robots.txt to tell googlebot not to index the wrong page. And
> also go ask the Apache questions in an apache group, this is c.l.php...

Sorry, I didn't know about the Apache group.

Robots.txt isn't as good as a redirect since it abandons the PageRank of the
indexed versions.

I found an answer: use %1 and %2 instead of $1 and $2.

 

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

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