【发布时间】:2014-03-26 16:20:13
【问题描述】:
我需要删除网址的一部分。 Google 索引器检测到重复内容,我需要将 url 重定向到主要目标。
http://www.domain.com/index.php?id=123456.0
to main target:
http://www.domain.com/index.php?id=123456
我需要将第一个 url 重定向到第二个 url,方法是删除 .0 并在 htaccess 上使用 mod_rewrite。
谢谢。
【问题讨论】:
标签: apache .htaccess url mod-rewrite