تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الاثنين 26 حزيران (يونيو) 2023
تم طرح بروتوكول خرائط الموقع في العام 2005
لمساعدة محركات البحث في اكتشاف عناوين URL جديدة وجدولة عمليات الزحف إلى عناوين URL التي تم اكتشافها. وهو بروتوكول رائج جدًا ولم يتم تغييره على مدار 15 عامًا.
ورغم أنّ فكرته ما زالت مفيدة بشكل عام، هناك بعض الجوانب التي أصبحت أقلّ ملاءمة في عالم الإنترنت حاليًا.
لهذا، نُعلن عن إيقاف نقطة نهاية "إشعار" خرائط الموقع نهائيًا ونقدّم اقتراحات
إضافية لاستخدام العنصر lastmod.
إشعار خريطة الموقع
يحدد بروتوكول خريطة الموقع
طريقة REST غير مُصدَّق عليها
لإرسال خرائط الموقع إلى محركات البحث. من خلال دراساتنا الداخلية، بالإضافة إلى
محركات البحث مثل Bing، يتبيّن
لنا أنّه في هذه المرحلة لم تعُد هناك فائدة كبيرة من عمليات الإرسال غير المُصدَّق عليها لخرائط الموقع. في الواقع،
في حالة "بحث Google"، تؤدي الغالبية العظمى من عمليات الإرسال إلى محتوى غير مرغوب فيه. بعبارة أخرى، لن نتيح
إشعار خرائط الموقع وستتوقف نقطة النهاية عن العمل خلال 6 أشهر. مع ذلك،
يمكنك
إرسال خرائط موقعك من خلال robots.txt وخدمة Search Console،
ولكنّ طلبات HTTP ("الإشعارات") المُرسَلة إلى نقطة النهاية REST ستؤدي إلى الخطأ 404. ولن تؤدي أي رموز أو مكوّنات إضافية تستخدم نقطة النهاية هذه إلى حدوث مشاكل في "بحث Google"، وليس عليك إجراء أي تغييرات (ولكنّ استخدام نقطة النهاية لن يكون له أي فائدة).
العنصر lastmod
لاحظنا خلال السنوات الماضية تفاوتًا في مستوى الفائدة من عنصر lastmod
على المواقع الإلكترونية التي توفّره. ربما كان ذلك بسبب نوع المحتوى الذي يتم
نشره، أو بسبب نظام إدارة المحتوى، ولكنّ العنصر lastmod مفيد فعلاً
في عدّة حالات ونحن نستخدمه كإشارة لجدولة عمليات الزحف إلى عناوين URL التي اكتشفناها
في السابق.
لكي يكون العنصر lastmod مفيدًا، يجب أولاً أن يكون بتنسيق تاريخ صالح
(وهو موثَّق على
sitemaps.org)، ومن خلال خدمة
Search Console، ستعرف ما إذا لم يكن بالتنسيق المطلوب عند إرسال خريطة الموقع. ثانيًا، يجب أن يكون العنصر متوافقًا مع الواقع بشكل مستمر:
فإذا تم تغيير صفحتك قبل 7 سنوات، ولكنّك تخبرنا من خلال العنصر
lastmod بأنّها تغيّرت أمس، ستفقد مصداقيتك بعد ذلك
في ما يتعلّق بتاريخ آخر تعديل لصفحاتك.
يمكنك استخدام عنصر lastmod مع جميع الصفحات في خريطة موقعك،
أو مع الصفحات التي تكون متأكدًا منها فقط. فمثلاً، قد لا تتمكن بعض برامج الموقع الإلكتروني من تحديد تاريخ
آخر تعديل للصفحة الرئيسية أو إحدى صفحات الفئات لأنّها تعرض فقط الصفحات الأخرى
على الموقع. في هذه الحالات، يمكن استبعاد العنصر lastmod لتلك الصفحات.
إننا نستخدم عبارة "آخر تعديل" للدلالة على آخر تعديل مهم. فإذا غيّر نظام إدارة المحتوى (CMS) جزءًا غير مهم من النص في الشريط الجانبي أو التذييل،
لن يكون عليك تعديل قيمة lastmod لتلك الصفحة.
في المقابل، إذا غيّرت النص الرئيسي أو أضفت بيانات منظَّمة أو غيّرتها، أو عدّلت بعض الروابط، سيكون عليك
تعديل قيمة lastmod.
ملاحظة بسيطة: بالنظر إلى السمة xmlns في مقتطف خريطة الموقع،
سيتبيّن لك أنّ معرّف الموارد المنتظم (URI) هو في HTTP، وليس في HTTPS. يعمل ذلك على النحو المطلوب، فهو
مرجع للمحللات اللغوية بشأن العناصر بتنسيق XML. لذلك يُرجى عدم إرسال المزيد من الملاحظات عن المستندات
في هذا الخصوص.
changefreq وpriority
حتى الآن، لا يستخدم محرك بحث Google العنصر changefreq أو العنصر priority مطلقًا.
ومن الناحية النظرية، يتداخل العنصر changefreq أيضًا مع العنصر lastmod.
ويُعدّ العنصر priority حقلاً ذاتيًا بشكل كبير واستنادًا إلى دراساتنا الداخلية،
فإنّه عمومًا لا يعكس بدقّة الأولوية الفعلية لإحدى الصفحات مقارنةً بالصفحات الأخرى على
موقع إلكتروني.
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],[],[[["\u003cp\u003eGoogle Search is deprecating the sitemaps ping functionality; the endpoint will stop working in 6 months and return a 404 error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elastmod\u003c/code\u003e element in sitemaps is recommended for indicating the last significant modification date of a page to help Google schedule crawls.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Search does not use the \u003ccode\u003echangefreq\u003c/code\u003e and \u003ccode\u003epriority\u003c/code\u003e elements in sitemaps.\u003c/p\u003e\n"],["\u003cp\u003eWhile the sitemap ping functionality is being deprecated, submitting sitemaps via robots.txt and Search Console remains supported.\u003c/p\u003e\n"]]],["The sitemaps \"ping\" endpoint is being deprecated due to its ineffectiveness and association with spam, and will cease functioning in six months. While sitemaps can still be submitted via robots.txt and Search Console, HTTP requests to the ping endpoint will result in a 404 error. The `lastmod` element's utility is emphasized for scheduling crawls, requiring correct date formats and consistent accuracy. The `changefreq` and `priority` elements are not utilized.\n"],null,["# Sitemaps ping endpoint is going away\n\n| The sitemaps ping endpoint deprecation is complete.\n\nMonday, June 26, 2023\n\n\n[The Sitemaps Protocol was introduced in 2005](https://googleblog.blogspot.com/2005/06/webmaster-friendly.html)\nto help search engines with the discovery of new URLs, and also to help with scheduling new crawls\nof already discovered URLs. It's a wildly popular protocol that hasn't changed for over 15 years.\nWhile the general idea is still useful, some aspects have become less practical in today's internet.\n\n\nTo that end, we're announcing deprecation of the sitemaps \"ping\" endpoint and providing additional\nrecommendations for the use of the `lastmod` element.\n\nSitemap ping\n------------\n\n\nThe sitemap protocol defines an\n[unauthenticated REST method](https://sitemaps.org/protocol.html#submit_ping)\nfor submitting sitemaps to search engines. Our internal studies---and also other\n[search engines such as Bing](https://blogs.bing.com/webmaster/may-2022/Spring-cleaning-Removed-Bing-anonymous-sitemap-submission)---tell\nus that at this point these unauthenticated sitemap submissions are not very useful. In fact,\nin the case of Google Search, the vast majority of the submissions lead to spam. To wit, we're\ndeprecating our support for sitemaps ping and the endpoint will stop functioning in 6 months. You\ncan still\n[submit your sitemaps through robots.txt and Search Console](/search/docs/crawling-indexing/sitemaps/overview),\nbut the HTTP requests (\"pings\") to the deprecated REST endpoint will result in a `404`\nerror. Any existing code or plugins which use this endpoint will not cause problems for Google\nSearch; you don't need to make any changes (but using the endpoint will also not do anything\nuseful).\n\nThe `lastmod` element\n---------------------\n\n\nOver the years we've observed a varying level of usefulness of the `lastmod` element\nacross the sites that provide it. This may have been the result of the kind of content that's\npublished, or perhaps the content management system, but nowadays `lastmod` is indeed\nuseful in many cases and we're using it as a signal for scheduling crawls to URLs that we\npreviously discovered.\n\n\nFor the `lastmod` element to be useful, first it needs to be in a supported date format\n(which is documented on\n[sitemaps.org](https://sitemaps.org/protocol.html#lastmoddef));\nSearch Console will tell you if it's not once you submit your sitemap. Second, it needs to\nconsistently match reality: if your page changed 7 years ago, but you're telling us in the\n`lastmod` element that it changed yesterday, eventually we're not going to believe you\nanymore when it comes to the last modified date of your pages.\n\n\nYou can use a `lastmod` element for all the pages in your sitemap, or just the ones\nyou're confident about. For instance, some site software may not be able to easily tell the last\nmodification date of the homepage or a category page because it just aggregates the other pages on\nthe site. In these cases it's fine to leave out `lastmod` for those pages.\n\n\nAnd when we say \"last modification\", we actually mean \"last **significant**\nmodification\". If your CMS changed an insignificant piece of text in the sidebar or footer, you\ndon't have to update the `lastmod` value for that page.\nHowever if you changed the primary text, added or changed structured data, or updated some links, do\nupdate the `lastmod` value. \n\n```text\n\u003curlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\u003e\n \u003curl\u003e\n \u003clastmod\u003e2005-01-01\u003c/lastmod\u003e\n \u003cloc\u003ehttp://www.example.com/\u003c/loc\u003e\n \u003cchangefreq\u003emonthly\u003c/changefreq\u003e\n \u003cpriority\u003e0.8\u003c/priority\u003e\n \u003c/url\u003e\n\u003c/urlset\u003e\n```\nExample of a simple sitemap with all the possible elements; source: [sitemaps.org](https://sitemaps.org/protocol.html)\n\n\nGoing on a small tangent, if you look at the `xmlns` attribute in the sitemap snippet,\nyou'll see that the URI is on HTTP, and not on HTTPS. This is working as intended: it's a\nreference for parsers about the elements in the XML. Please don't file more documentation feedback\nabout this.\n\n`changefreq` and `priority`\n---------------------------\n\n\nGoogle still doesn't use the `changefreq` or `priority` elements at all.\n`changefreq` specifically is also conceptually overlapping with `lastmod`.\nThe `priority` element is a heavily subjective field and based on our internal studies,\nit generally doesn't accurately reflect the actual priority of a page relative to other pages on a\nsite.\n\n\nWant to read more about sitemaps? Check out\n[our documentation](/search/docs/crawling-indexing/sitemaps/overview), but also\n[sitemaps.org](https://sitemaps.org),\nand if you want to just chat with us about sitemaps, you can find us in the\n[Google Search Central forums](https://goo.gle/sc-forum) and on\n[Twitter](https://twitter.com/GoOgLeSeArChC).\n\n\nPosted by [Gary Illyes](/search/blog/authors/gary-illyes)"]]