SEMRushのサイトマップの非正規URLのエラーを修正する方法

に遭遇したことがある方は、ぜひ参考にしてください。 “non-canonical URL in Sitemap” error on your e-commerce website, don’t worry, this blog post will show you how to fix it in just a few simple steps and help you with your technical SEO task and become a webmaster anytime soon! So read on and get your site back on track!

正準URL

非正規のURLとは何ですか?

A canonical URL or canonical page is the preferred URL for a web page. A non-canonical URL is any other variation of the page’s address. Canonicalization is the process of determining which version of a URL is the “true” or “preferred” version of the page.

正規のURLの例

https://seonorth.ca/

非対象の例正規のURL 同頁の

https://seonorth.ca/
https://seonorth.ca/
https://seonorth.ca/?=1
https://seonorth.ca/utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_id=Isaac&utm_term=seo&utm_content=outreach

サイトマップには、ユーザーのミスや、コンテンツ管理システム(CMS)が誤った正規版を選択したために、正規URLと非正規URLが含まれることがあります。

Why shouldn’t you have non-canonical URLs in your sitemap?

A サイトマップは検索エンジンのインデックスを助ける the site’s content. However, some pages should not be included in a sitemap, as they are not intended to be indexed by search engines. These pages are known as non-canonical URLs. Non-canonical URLs can include pages that have duplicate content issues  (duplicate URLs) of other pages on the site or that are only accessible through different URL parameters. Including these pages in a sitemap can confuse search engines. For this reason, it is essential to understand how to identify and exclude non-canonical URLs from a sitemap.

サイトマップの非正規URLを修正するにはどうすればよいですか?

サイトマップは、ウェブサイト上のすべてのURLのリストを含むファイルです。このリストによって、検索エンジン クロール and index your site more efficiently. Non-canonical URLs or non-canonical pages are duplicate page versions of the same page, which can occur for various reasons (e.g., WWW vs. non-WWW, HTTP vs. HTTPS). These identical contents or similar pages can cause problems for your website because they can be indexed by search engines, hurting your site’s ranking. Continue reading to learn how to これらのエラーを修正する を早くしてください:

  1. 非正規URLの特定

    非正規のURL

    First, Identify which URLs are Non-canonical in your Sitemap. The non-canonical URL error shows up in the SEMrush Audit under “incorrect pages found in sitemap.xml” or using a website crawler like Screaming Frog. In Screaming Frog, you can find the errors under the Canonicals tab in a scan.  

  2. 正しいCanonical URLの検索

    正準URL

    Open the error reports non-canonical URL in your browser, then determine what the correct canonical should be. You can do this by comparing the browser URL and by viewing the HTML ソースコード.

    での ソースコード, you will be looking for the rel 正準タグ or also known as a canonical link:

    What should be the correct 正準タグ? It’s typically the most human-friendly version of the URL, something you could easily share with a friend.

  3. URLを更新する

    ヨーストの正規化設定

    Using a CMS such as ワードプレス そして ヨースト プラグイン, you can update the 正規のURL logged into your website under the Advanced ヨースト Settings. Other SEO プラグイン use a similar approach; if you created your sitemap manually, you would need to edit the file.

  4. WWWと非WWWの比較

    URL設定

    If you noticed that the majority of your website has mismatched URLs or redirects creating a non-canonical error:

    e.g., www.seonorth.ca vs. seonorth.ca (or HTTP vs HTTPS)

    It’s easier and faster to fix the ワードプレス Address + Site Address, along with using Better Search n Replace プラグイン to resolve your issue to add absolute URLs, rather than repairing individual pages.

  5. SSLと非SSLの比較

    かんたんエスエスエル

    Really Simple SSL automatically detects your settings and configures your website to run over HTTPS. The entire site will move to SSL. That includes your homepage, pages, posts, custom post types, categories, tags, images, widgets… Everything!

    ですから、もしセキュリティで保護されていないコンテンツが非正規のエラーを生み出していることに気づいたら、これが最も早く、簡単な修正方法です。

結論

If you still have issues with the “non-canonical URL in Sitemap” error after following these instructions, please do not hesitate to contact us for help. Our team of experts is more than happy to assist you in getting your website back up and running as smoothly as possible. Thanks for reading!

よくあるご質問

  • カノニカルURLはSEOに不利か?

公開日: 2022-08-24
Updated on: 2024-04-04

アイザック・アダムス=ハンズのアバター

アイザック・アダムス・ハンズ

アイザック・アダムス・ハンズは、検索エンジン最適化サービスを提供するSEO North社でSEOディレクターを務めています。SEOのプロフェッショナルとして、アイザックはオンページSEO、オフページSEO、テクニカルSEOの分野で豊富な専門知識を持ち、競合他社を圧倒している。
jaJapanese