有关.htaccess的请教

原来有个A-XXX.HTM REWRITE到 a.php?var=xxx上.

后来改成了NB-A-XXX.HTM 还是REWRITE到a.php?var=xxx

现在GOOGLE抓到的还都是A-XXX.HTM的形式.想保持这些链接的有效性.

现在是两条rule都定了.但结果目标页内容一样.怕GOOGLE老爷认为我重复内容.
所以想看能不能将所有A-XXX.HTM重定向到NB-A-XXX.HTM,是不是这样GOOGLE老爷会认为非重复内容.只是重定向,会放我一马.

好像Redirect没有办法像RewriteRule一样带参数的.

望请各位高手赐教!

Written by 待业书生 on January 30th, 2008 with 1 comment.
Read more articles on 技术相关.

This is the content of the ad2.php file. Leave it blank or include your ad.

Related articles

1 comment

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com AhRyan
#1. February 8th, 2008, at 12:28 PM.

在最前面加一行:
RewriteRule A-XXX.HTM NB-A-XXX.HTM [R]

试试看

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

This is the content of the ad4.php file. Leave it blank or include your ad.