大网数据广告活动
网站运营与故障问答

Google Webmaster finding url with redirects

· 52CE 我爱测

I have been scratching my head about this for months, we have about 100 Not found links with 404 response codes. The response code is correct as these pages do no exist anymore, however the thing that is confusing when i look to …

问题原文

原帖链接 · Adam Allen · CC BY-SA 3.0

I have been scratching my head about this for months, we have about 100 Not found links with 404 response codes.

The response code is correct as these pages do no exist anymore, however the thing that is confusing when i look to see which pages they are linked from they are calling from page which do not exist and have redirects on them or from the site map.

For example if the page "/red-boots" had a response code of 404. I check where it is linking from and it says /boots/shoes" and the sitemap.

When i check the url "/boots/shoes", it has a redirect to "/shoes" however google isnt seeing that redirect it is just finding the old links on "/boots/shoes".

I have regenerate a sitemap and that hasn't helped, i marked them all as fixed and within 2 days they were all back. So if somebody could shine a bit of light on why google is looking at unpublished pages and not following the redirects that would be brilliant.

已采纳解答

原帖链接 · abhinsit · CC BY-SA 3.0

There are two types of redirects :

1) 301 : permanent redirect -> If you have added this, then google will know that you have permanently moved this page and will store this in its index.

2) 302 : temporary redirect -> This will not let crawler index the redirection permanently.

Firstly make sure that the redirection is 301 permanent redirect. Also google takes some time(may be a week or even a month) to reflect these redirection changes. These outdated links/old behavior on pages will continue to exist for sometime and then eventually will leave the index.

Also if some of your pages are permanently discontinued, then its better to throw HTTP code 410 to let crawler know that you have removed this page from site and hence crawler should also remove it from index. In case of 404 it continues to hit that page as it see it like a temporary issue on site.

Do check the sources from where the old pages are still linked. It might be the case that you have updated the sitemap, but some of the old pages which you have not removed continue to have old links and hence crawler reach them. If you are using webmaster tool it will show you all details in linked from tab in errors section.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-04-04)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。