dawn009
V2EX  ›  问与答

旧网站重构, URL 结构有变化(由 xxxx.php?id=3 改为 xxxx/3 的形式),为了不影响搜索引擎收录,需要做什么准备工作?

  •  
  •   dawn009 · Oct 16, 2016 · 3170 views
    This topic created in 3565 days ago, the information mentioned may be changed or developed.
    例如
    原 URL : https://www.example.com/user.php?id=3
    重构后变成这样: https://www.example.com/user/3

    需要把旧 URL 全部 301 重定向到新 URL 吗?
    3 replies    2016-10-16 15:54:45 +08:00
    huluhulu
        1
    huluhulu  
       Oct 16, 2016   ❤️ 1
    老的 url 301 重定向到新的
    就可以了
    billytom
        2
    billytom  
       Oct 16, 2016 via iPhone   ❤️ 1
    如果你做的是百度 seo ,建议你别做这一操作,你会哭的。对于百度来说, 301 ,站长后台设置规则都没啥鸟用
    qiayue
        3
    qiayue  
       Oct 16, 2016   ❤️ 1
    别听 2 楼的, 301 肯定要做,不做绝对后悔,至于百度用不用另说。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:48 · PVG 04:48 · LAX 13:48 · JFK 16:48
    ♥ Do have faith in what you're doing.