Help Center帮助中心 Tools工具
Site Migration网站迁移
Last updated更新于 2026-11-26
Site Migration puts an old site and the site you moved it to side by side. After a domain move, a switch from http to https or a URL restructure, Search Console keeps the old and new URLs apart, often in two properties. This page shows them together: daily clicks of both, clicks per day before the migration and recently, and each old URL next to its new URL.

Setting it up
Open the site you moved to, then Site Migration under Tools in the sidebar, and click Set up migration (or Edit once it is set up).

- Old site: any property in your account, including the one you are on.
- Path prefix (optional, one for each side): only URLs that start with it count for that side. A path such as
/blog/matches it on any host; a URL start such ashttp://orhttps://blog.example.com/matches the beginning of the full URL. Use prefixes when old and new URLs share one property, for examplehttp://andhttps://in a Domain property, orhttps://blog.example.com/and/blog/when a subdomain moved into a folder. - Migration date: the first day the new URLs were live.
- Rewrite rules (optional): one per line, written
regex => replacement, applied to the old URL’s path (after its prefix).\1inserts the first group. The first rule that changes a path is used. - URL table (optional): a CSV or TSV file with old URLs and new URLs, up to 5,000 rows. Columns named from / to, old / new, source / target, or Address / Redirect URL (a Screaming Frog redirect export) are recognised; otherwise the first two columns are used.
The settings are saved to your account, one migration per site. Remove this migration deletes them. The numbers themselves are read live from Search Console every time and are not stored.
The two windows
Compare picks 7, 28 or 90 days.
- Before is that many days up to the day before the migration date.
- Recently is the last that many days up to the latest day with complete data (see Data and limits), and never starts before the migration date.
Both windows are shaded in the chart. Numbers are per day, so windows of different lengths can be compared. Search Console keeps about 16 months of data; for a migration older than that there is no before window.
Numbers and chart
- Since migration: which day after the migration the latest data is.
- Clicks/day before and Clicks/day recently: clicks per day of the old and new site together in each window.
- Recent ÷ before: the second as a share of the first.
- Old site impressions/day recently: how often old URLs are still shown, with the before value underneath.
The chart shows daily clicks of the new site, the old site and their total, from 120 days before the migration to the latest day, with the migration date marked. When old and new are the same pages of one property (same site, same prefix), it shows one line.
Pages
Each old URL is paired with a new URL:
- A row in the URL table, if there is one.
- Otherwise the rewrite rules.
- Otherwise the same path, ignoring http / https, the domain, www, the side’s path prefix and a trailing slash.
Old URLs that differ only in http / https or www are merged into one row. Columns: Old URL, Before clicks/day (the old URL, before window), New URL, Recent clicks/day (the new URL, recent window), Change, and Old URL impr./day (the old URL, recent window). Pairs made by a rule or the table are marked.
Filters:
- No data on new site: old URLs whose paired new URL had no clicks or impressions in the recent window. When a rule or the table gives the new URL, it is shown in grey.
- New site only: new URLs that no old URL pairs with.
Queries
Each query that brought clicks or impressions on the old site before the migration, or on the new site recently, with clicks per day and average position in both windows, and Position change (recent − before; negative means a better position). No clicks on new site keeps queries with no clicks on the new site recently; New site only keeps queries the old site did not have. Anonymized queries are not listed, so these clicks add up to less than the totals above.
The page uses web search data; the date range, filters and presets in the top bar do not apply here.
Search and export
The search box filters the table by URL or query. Export CSV downloads the rows the table currently shows. Up to 5,000 rows of each table are loaded, the ones with the most clicks or impressions; when a Search Console read reaches 100,000 rows, a note says so. On phones each row takes two lines and the export button is hidden.
The same comparison is available to AI assistants through the MCP server as get_migration_compare.
网站迁移把旧网址和迁移后的站点放在一起看。换域名、http 换 https、改网址结构之后,Search Console 里旧网址和新网址是分开的,常常是两个资源。这一页把它们放在一起:两边的每日点击、迁移前和最近的日均点击,以及每个旧网址和对应的新网址。

设置
打开迁移后的站点,在侧边栏「工具」里点 网站迁移,再点 设置迁移(设置过之后点 修改)。

- 旧网址:账号里的任意一个资源,也可以是当前站点。
- 路径前缀(可选,两边各一个):只有以它开头的网址算这一边。写路径(如
/blog/)时匹配任何域名下的这个路径;写网址开头(如http://、https://blog.example.com/)时匹配完整网址的开头。新旧网址在同一个资源里时用前缀区分,例如网域资源里的http://和https://,或子域名并到子目录时的https://blog.example.com/和/blog/。 - 迁移日期:新网址上线的第一天。
- 改写规则(可选):一行一条,写成
正则 => 替换,作用在旧网址的路径上(去掉前缀之后),\1表示第一个分组。用第一条能改变路径的规则。 - 对照表(可选):旧网址、新网址两列的 CSV 或 TSV,最多 5000 行。认得出 from / to、old / new、source / target 或 Address / Redirect URL(Screaming Frog 的重定向导出)这些列名,否则用前两列。
设置存在你的账号里,每个站点一份;删除这个迁移设置 会删掉它。数字每次都从 Search Console 实时读取,不保存。
两段对比区间
对比天数 可选 7、28 或 90 天。
- 迁移前:迁移日前一天往前这么多天。
- 最近:到有完整数据的最后一天(见 数据说明)为止这么多天,最早从迁移日开始。
两段在图上用灰底标出。数字都按日均算,所以长度不同的两段也能比。Search Console 只保留约 16 个月的数据,迁移日早于这个范围时没有迁移前的数据。
数字和趋势图
- 迁移后:最新数据是迁移后第几天。
- 迁移前日均点击、最近日均点击:两段里旧网址加新网址的日均点击。
- 最近 ÷ 迁移前:后者占前者的比例。
- 旧网址最近日均展示:旧网址最近还有多少展示,下面是迁移前的值。
趋势图是新网址、旧网址和合计的每日点击,从迁移日前 120 天到最新一天,标出迁移日。旧网址和新网址是同一资源里的同一批页面(同一个站、同样的前缀)时,只有一条线。
页面
每个旧网址按下面的顺序配一个新网址:
- 对照表里有这一行就用它。
- 否则用改写规则。
- 否则找相同路径的新网址,忽略 http / https、域名、www、这一边的路径前缀和结尾斜杠。
只差 http / https 或 www 的旧网址合并成一行。各列:旧网址、迁移前 点击/天(旧网址在迁移前的数据)、新网址、最近 点击/天(新网址在最近这段的数据)、变化、旧网址最近 展示/天。按改写规则或对照表配上的会标出来。
筛选:
- 新网址没有数据:配到的新网址在最近这段没有点击和展示。改写规则或对照表给出了新网址时,用灰字显示。
- 只在新站:没有旧网址配到的新网址。
查询词
迁移前在旧网址、或最近在新网址有点击或展示的查询词,两段各自的日均点击和平均排名,以及 排名变化(最近 − 迁移前,负数表示排名变好)。新站没有点击 只看最近在新站没有点击的词,只在新站 只看旧网址没有的词。匿名查询不出现在列表里,所以这里的点击加起来比上面的总数少。
这一页用网页搜索的数据,顶部的日期、筛选和预设在这里不起作用。
搜索和导出
搜索框按网址或查询词筛选表格。导出 CSV 下载表格当前显示的行。每张表最多载入点击或展示最多的 5000 行;Search Console 的某次读取到了 10 万行时会提示。手机上每行占两行,不显示导出按钮。
AI 助手可以通过 MCP 服务器 的 get_migration_compare 拿到同样的对比。