LUREN
V2EX  ›  问与答

将搜索引擎爬虫排除 301 重定向

  •  
  •   LUREN · Dec 20, 2020 · 1595 views
    This topic created in 2146 days ago, the information mentioned may be changed or developed.

    请问是否有一种方法可以将搜索引擎爬虫排除 301 重定向?

    有一些网址需要设置 301 重定向,但不希望影响旧有网址的搜索引擎收录,也就是搜索引擎爬虫可以正常访问旧网址,用户访客访问则跳转到重定向新网址。

    3 replies  •  2020-12-20 09:34:35 +08:00
    input2output
    input2output
    Dec 20, 2020
    1
    根据 UA 判断是否需要 30X
    Yourshell
    Yourshell
    Dec 20, 2020 via Android
    2
    这样做会被认为是作弊吧?
    Ptu2sha
    Ptu2sha
    Dec 20, 2020
    3
    不用啊 加入 js 跳转代码
    用户正常访问的 浏览器会允许跳转 蜘蛛不会
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1412 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:06 · PVG 03:06 · LAX 11:06 · JFK 14:06
    ♥ Do have faith in what you're doing.