نحن الآن على LinkedIn:
تابِعنا على LinkedIn للحصول على أخبار وموارد من "بحث Google" تساعدك في تسهيل العثور على موقعك الإلكتروني.
علامة برامج الروبوت الجديدة: indexifembed
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الجمعة 21 كانون الثاني (يناير) 2022
نقدّم اليوم علامة جديدة لبرامج الروبوت،
وهي indexifembedded
،
التي تتيح لك التحكّم بشكل أكبر في وقت فهرسة المحتوى الخاص بك. باستخدام العلامة indexifembedded
، يمكنك إخبار محرّك البحث Google بأنك لا تزال تريد فهرسة المحتوى الخاص بك عندما يكون مضمّنًا في صفحات أخرى من خلال iframes
وعلامات HTML مشابهة، حتى عندما تحتوي صفحة المحتوى على العلامة noindex
.
تعالج العلامة indexifembedded
مشكلة شائعة تؤثر بشكل خاص في
ناشري الوسائط الذين قد يريدون فهرسة المحتوى الخاص بهم عند تضمينه في صفحات خارجية،
ولكنهم لا يريدون بالضرورة فهرسة صفحات الوسائط الخاصة بهم بحدّ ذاتها. وبما أنهم لا يريدون
فهرسة صفحات الوسائط، فهم يستخدمون حاليًا علامة noindex
في هذه الصفحات. وتمنع العلامة noindex
أيضًا تضمين المحتوى في صفحات أخرى أثناء الفهرسة.
لا تتوافق علامة برامج الروبوت الجديدة indexifembedded
مع
العلامة noindex
إلا عندما يتم تضمين الصفحة التي تحتوي على علامة noindex
في صفحة
أخرى من خلال سمة iframe
أو علامة HTML مشابهة، مثل
object
.
على سبيل المثال، إذا
كانت الصفحة podcast.host.example/playpage?podcast=12345
تحتوي على كلٍّ من العلامة noindex
والعلامة indexifembedded
، يعني ذلك أنّه يمكن لمحرّك البحث Google تضمين المحتوى المستضاف على تلك الصفحة في
recipe.site.example/my-recipes.html
أثناء الفهرسة.
لتفعيل فهرسة المحتوى فقط عندما يكون مضمّنًا في صفحات أخرى، يجب إضافة العلامة indexifembedded
مع العلامة noindex
. مثلاً:
<meta name="googlebot" content="noindex" />
<meta name="googlebot" content="indexifembedded" />
<!-- OR -->
<meta name="googlebot" content="noindex,indexifembedded" />
بدلاً من ذلك، يمكنك تحديد العلامة في عنوان HTTP:
X-Robots-Tag: googlebot:noindex
X-Robots-Tag: googlebot:indexifembedded
...
OR
…
X-Robots-Tag: googlebot:noindex,indexifembedded
في الوقت الحالي، لا تتوافق العلامة indexifembedded
إلا مع Google.
نأمل أن تجد هذه العلامة الجديدة مفيدة. وإذا كانت لديك أسئلة أو تعليقات، يمكنك التواصل معنا على
Twitter ومن خلال
منتديات المساعدة.
الناشران: وايتزي وانغ وغاري إليس
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
[null,null,[],[[["\u003cp\u003eGoogle introduces a new robots tag, \u003ccode\u003eindexifembedded\u003c/code\u003e, allowing content to be indexed when embedded on other sites, even if the original page has a \u003ccode\u003enoindex\u003c/code\u003e tag.\u003c/p\u003e\n"],["\u003cp\u003eThis tag addresses the issue faced by media publishers who want their content indexed when embedded but not as standalone pages.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eindexifembedded\u003c/code\u003e should be used in conjunction with the \u003ccode\u003enoindex\u003c/code\u003e tag to enable indexing only when the content is embedded via iframes or similar HTML tags.\u003c/p\u003e\n"],["\u003cp\u003eThe tag is currently supported by Google only and can be implemented in either the HTML \u003ccode\u003e<meta>\u003c/code\u003e tag or the HTTP header.\u003c/p\u003e\n"]]],["Google introduced the `indexifembedded` robots tag, designed to work with the `noindex` tag. When a page with `noindex` is embedded via `iframe` or similar tags, `indexifembedded` allows Google to index the content during indexing. This addresses media publishers' need to prevent indexing of their media pages while enabling indexing of embedded content on third-party sites. Implement it with `\u003cmeta\u003e` tags or HTTP headers, using `noindex` and `indexifembedded` together. Currently, only Google supports `indexifembedded`.\n"],null,["# New robots tag: indexifembedded\n\nFriday, January 21, 2022\n\n\nToday, we're introducing a new robots tag,\n[`indexifembedded`](/search/docs/crawling-indexing/robots-meta-tag#indexifembedded),\nthat brings you more control over when your content is indexed. With the\n`indexifembedded` tag, you can tell Google you'd still like your content indexed when\nit's embedded through\n[`iframes`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)\nand similar HTML tags in other pages, even when the content page has the `noindex` tag.\n\n\nThe `indexifembedded` tag addresses a common issue that especially affects media\npublishers: while they may want their content indexed when it's embedded on third-party pages,\nthey don't necessarily want their media pages indexed on their own. Because they don't want the\nmedia pages indexed, they currently use a `noindex` tag in such pages. However, the\n`noindex` tag also prevents embedding the content in other pages during indexing.\n\n\nThe new robots tag, `indexifembedded`, works in combination with the\n`noindex` tag only when the page with `noindex` is embedded into another\npage through an `iframe` or similar HTML tag, like\n[`object`](https://developer.mozilla.org/docs/Web/HTML/Element/object).\nFor example, if\n`podcast.host.example/playpage?podcast=12345` has both the `noindex` and\n`indexifembedded` tag, it means Google can embed the content hosted on that page in\n`recipe.site.example/my-recipes.html` during indexing.\n\n\nTo enable your content to be indexed only when it's embedded on other pages, make sure to add\n`indexifembedded` in combination with the `noindex` tag. For example: \n\n```ecl\n\u003cmeta name=\"googlebot\" content=\"noindex\" /\u003e\n\u003cmeta name=\"googlebot\" content=\"indexifembedded\" /\u003e\n\u003c!-- OR --\u003e\n\u003cmeta name=\"googlebot\" content=\"noindex,indexifembedded\" /\u003e\n```\n\n\nAlternatively, you can specify the tag in the HTTP header: \n\n```\nX-Robots-Tag: googlebot:noindex\nX-Robots-Tag: googlebot:indexifembedded\n...\nOR\n…\nX-Robots-Tag: googlebot:noindex,indexifembedded\n```\n\nPresently, only Google supports the `indexifembedded` tag.\n\n\nWe hope you find this new tag useful. If you have questions or comments, find us on\n[Twitter](https://twitter.com/googlesearchc) and in our\n[Help Forums](https://support.google.com/webmasters/community).\n\n\nPosted by [Weizi Wang](https://www.linkedin.com/in/weizi-wang-2a32ab111/) and [Gary Illyes](https://garyillyes.com/+)"]]