Google Search Consoleで「ページにリダイレクトがあります」 というエラーが Google Search Console に表示されている場合は、その原因を特定し、適切に修正することでインデックス登録の問題を解消できます。

自分にも出てしまったため、解決方法を探る中で得た知識となりますが、考えられる原因と解決方法は次のようなものがあります。

 

1. リダイレクトの種類を確認する

リダイレクトには主に

301リダイレクト(恒久的):ページが完全に別のURLに移動した場合
302リダイレクト(一時的):ページが一時的に別のURLに転送される場合
メタリダイレクト(HTMLの<meta>タグ):HTML内でリダイレクトが行われる場合
JavaScriptリダイレクト:JavaScriptを使ってリダイレクトする場合

などがあります。対応方法が異なるため、まずどの種類のリダイレクトが原因かを特定しましょう。

 

2. リダイレクトチェーンがないか確認する

リダイレクトチェーンとは、Aページ → Bページ → Cページ のように、複数回リダイレクトが繋がっている状態です。これが原因でGooglebotが正しいページにたどり着けない場合があります。

確認方法

Google Search Consoleの「インデックス登録」レポートで詳細を確認します。
URLチェッカー(Ahrefs、Screaming Frogなど)を使ってリダイレクトチェーンがないか調べましょう。

解決策

リダイレクトチェーンを1回のリダイレクトに短縮(A → C)し、途中のステップを省きます。

 

3. リダイレクトループを確認する

リダイレクトループとは、AページがBページにリダイレクトし、Bページが再びAページに戻るという無限ループです。これもGooglebotがページにアクセスできない原因になります。

確認方法

ブラウザで該当URLにアクセスし、エラーメッセージ(Too Many Redirectsなど)が表示されるか確認。
開発者ツールの「ネットワーク」タブでリダイレクトの動きを追跡する。

解決策

リダイレクトの設定ミスを修正し、ループが発生しないようにする。
.htaccessファイルやサーバー設定を確認。
WordPressの場合は、リダイレクトプラグインやテーマの設定が原因の可能性があります。

 

4. 不適切なリダイレクトがないか確認する

301リダイレクトにすべきケースで 302リダイレクトが使われていることがあります。恒久的な移動であれば 301 に変更しましょう。

具体例

サイトのHTTP版からHTTPS版にリダイレクトする際に設定ミスがないか確認します。

正しい設定例:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

 

5. rel=”canonical” タグとの競合を確認する

リダイレクトが設定されているページに rel=”canonical” タグが間違って設定されていると、Googleが混乱する可能性があります。

確認方法

該当ページのソースコードを確認し、canonicalタグがリダイレクト先と一致しているかチェックします。

解決策

リダイレクト先URLと canonicalタグ が一致していることを確認し、競合がないように修正します。

 

6. Search Consoleで修正したURLの再クロールをリクエスト

問題を修正したら、Google Search Consoleの「URL検査ツール」で修正済みのページをクロールするようにリクエストしましょう。

手順:

Google Search Consoleを開く。
「URL検査」で該当URLを入力。
「インデックス登録をリクエスト」をクリック。

7. CDNやキャッシュによる影響を確認する

CDN(Content Delivery Network)やキャッシュ設定によって古いリダイレクト情報が残っている可能性があります。
CDNを使っている場合は、キャッシュのクリアやリダイレクト設定を確認しましょう。

Google Search Consoleのエラーはよくわからないものも多く、何がいけないのかをネットで探しても出てこない、自分のエラーに当てはまらない、直しているつもりでも解決しないものも多々あります。ただ、そのままにしておくのもよくないので、ここでご提示した情報を参考に修正を施してみていただけると幸いです。

 

英語版

When the error “There is a redirect on the page” appears in Google Search Console, it indicates that Googlebot is unable to access the intended page correctly. Identifying the cause and applying the proper fixes will help resolve the indexing issue. I encountered this error myself and, through my research, discovered several potential causes and solutions.

First, it’s crucial to identify the type of redirect being used. Common types include:

  • 301 redirects (permanent) when a page has permanently moved to another URL.
  • 302 redirects (temporary) when a page is temporarily redirected.
  • Meta redirects using <meta> tags within HTML to perform the redirect.
  • JavaScript redirects, which rely on JavaScript to redirect users.

The type of redirect affects the solution, so determining the specific redirect in use is the first step.

Next, check for redirect chains, which occur when a page is redirected multiple times, such as A → B → C. If Googlebot encounters too many redirects, it may fail to access the correct page. To verify this, you can use the “Index Coverage” report in Google Search Console or tools like Ahrefs or Screaming Frog. To fix this, simplify the chain by reducing it to a single redirect (A → C), skipping intermediate steps.

Redirect loops are another common problem, where a page (A) redirects to another page (B), which then redirects back to page A, creating an infinite loop. This can prevent Googlebot from reaching the content. You can identify this issue by accessing the URL in a browser and checking for errors like “Too Many Redirects” or by monitoring redirects in the network tab of the browser’s developer tools. Fix the loop by reviewing and correcting any misconfigurations in the .htaccess file, server settings, or WordPress plugins responsible for redirects.

Improper redirect usage can also cause issues. For example, a 301 redirect should be used instead of a 302 redirect when the change is permanent. A common scenario involves redirecting HTTP to HTTPS, where the redirect rules must be correctly set.

Additionally, check for conflicts with the rel=”canonical” tag. If the canonical tag on a page points to a different URL than the one specified by the redirect, Googlebot may get confused. Inspect the page’s source code to ensure the canonical tag and redirect destination match, then adjust any discrepancies.

After resolving the issue, you can request a re-crawl through Google Search Console using the URL Inspection tool. Enter the problematic URL and click “Request Indexing” to notify Google of the changes.

Lastly, consider the impact of CDNs (Content Delivery Networks) or caching systems. Old redirect data might be cached, preventing Google from recognizing recent fixes. If you’re using a CDN, clear the cache and ensure your redirect settings are updated.

Google Search Console errors can be frustrating, as the solutions aren’t always clear or easily found online. Even when you think you’ve applied the correct fixes, the errors may persist. However, leaving them unresolved could lead to larger SEO problems. By following these steps, you can troubleshoot and address the common causes of redirect errors effectively.

 

株式会社ASAP
及川知也