一般SEO问题是非主题。 Stack Overflow上只接受与编程相关的SEO问题。应该在http://webmasters.stackexchange.com上的Webmasters.SE上询问非编程SEO问题。如果有人指示您阅读此警告,请返回并删除您的问题。
我在react js中有一个电子商务单页应用程序,我想添加caronicaltag以使我的应用程序的seo更好,但是如果我将其添加到我的<link rel="canonical" href="http://example.com/" />中,则可以在所有页面上适用. 我我理解这一点吗? 我对每种数百页的产品都有一个index.html,我该如何添加到那些规范的标签? 我会很高兴的帮助,我是新手。 您可以使用Helmet更改规范标签。 在渲染路线上更改的任何组件中使用它。 示例: product page import { Helmet } from 'react-helmet-async'; <Helmet> <title>{pageTitle}</title> <link rel="canonical" href={pageURL} /> </Helmet>
用于我的应用程序,出于SEO的目的,我正在使用URL中的erentes。 因此,为了响应
我正在尝试在 PHP 中 ping(称为“ping”的 SEO 策略用于新内容,以使机器人更快地对其进行索引)Google。我唯一知道的是我需要将请求发送到以下网址: http://博客...
在 WordPress 上禁用自定义帖子类型的标签存档时出现问题
我的标签有问题。它们在 Yoast SEO 中被禁用,但 WordPress 生成的页面给我 404 未找到。 它们看起来像这样 标签/服装/cine-ne-recomanda/ 哪里有电影推荐...
如何解决Google Search Console“已抓取 - 目前未编入索引”
我有一个博客网站。我有大约 190 篇文章。我的网站已被谷歌收录。但从 2024 年 10 月开始,谷歌开始对我的网站进行取消索引。目前 200 页中只有 3 页被索引...
这个问题与文章部分和旁白标签有关,因为它与最佳 SEO 实践相关。 我看到一些教程教导您应该放置文章标签并在文章标签内
我为我的旧哇公会建立了一个小型烧瓶网站,但我未能成功让谷歌读取我的 sitemap.xml 文件。我能够使用谷歌搜索控制台成功验证我的网站并且......
Google 搜索结果中出现意外的元描述以及 Google Search Console 中的站点地图错误
我有一个 WordPress 网站 https://abodeinfo.com,我面临一个问题,即 Google 搜索结果中出现意外的元描述/片段。例如,Google 显示的文本如下: &qu...
我最近有一位客户告诉我,他们的 SEO 公司表示,页面上同一菜单的多个版本会对他们的 SEO 排名产生负面影响。我有点困惑...
出于 SEO 原因,我正在尝试加快我的网站速度,但由于某些原因,我在 WordPress 商店仪表板上收到错误消息,显示存在插件兼容性问题,并且它是
网站重新设计后,我有几个页面需要重定向。所有内容都保留在同一个域中,只有一些内容被重新组织和/或重命名。他们是...
我正在启动这个大型数据库(1.5+ 百万条记录)驱动的网站,我想先了解一些 SEO 技巧.. 我需要将哪些链接标记为 rel="nofollow"、rel="me" 等? 如何防止搜索...
我为我的博客文章创建了一个模式 BlogPosting,这是我从源复制的输出: { “@type”:“博客发布”,...</desc> <question vote="0"> <p>我为我的博客文章创建了一个模式 BlogPosting,这是我从源复制的输出:</p> <pre><code><script type="application/ld+json"> { "@type": "BlogPosting", "headline": "title", "datePublished": "2024-07-30T09:05:20+03:30", "dateModified": "2025-01-01T09:13:18+03:30", "articleSection": "cat1, cat2", "author": { "@id": "https://example.com/mag/author/abc/", "name": "abc" }, "publisher": { "@id": "https://example.com/#organization", "name": "site" }, "description": "description", "name": "title", "mainEntityOfPage": { "@id": "https://example.com/mag/train-refund-guide/" }, "isPartOf": { "@id": "https://example.com/#website" }, "primaryImageOfPage": { "@id": "https://example.com/wp-content/uploads/2024/07/train-cancel-1-e1734600689487.webp" }, "inLanguage": "fa-IR", "subjectOf": { "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a8%d8%b9%d8%af-%d8%a7%d8%b2-%d8%ae%d8%b1%db%8c%d8%af-%d8%a8%d9%84%db%8c%d8%b7-%d9%82%d9%82%d8%a7%d8%b1-%d9%85%db%8c%d8%aa%d9%88%d8%a7%d9%86%d9%85-%d8%a2%d9%86-%d8%B1%d8%a7-%da%a9", "name": "question1", "acceptedAnswer": { "@type": "Answer", "text": "answer1" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a2%db%8c%d8%a7-%d9%85%db%8c%d8%aa%d9%88%d8%a7%d9%86%d9%85-%d8%a8%d9%84%db%8c%d8%b7-%d8%ae%d9%88%d8%af-%d8%b1%d8%a7-%d8%af%d8%b1-%d9%87%d8%b1-%d8%b2%d9%85%d8%a7%d9%86%db%8c-%d8%a7%d8%b3", "name": "question2", "acceptedAnswer": { "@type": "Answer", "text": "answer2" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a2%db%8c%d8%a7-%d8%a8%d8%b1%d8%a7%db%8c-%d8%a7%d8%b3%d8%aa%d8%b1%d8%af%d8%a7%d8%af-%d8%a8%d9%84%db%8c%d8%b7-%d8%a8%d8%a7%db%8c%d8%af-%d9%87%d8%b2%db%8c%d9%86%d9%87%d9%87%d8%a7%db%8c-%d9%be", "name": "question3", "acceptedAnswer": { "@type": "Answer", "text": "answer3" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%aa%d8%a7-%da%86%d9%87-%d8%b2%d9%85%d8%a7%d9%86%db%8c-%d8%af%d8%b1-%d8%b5%d9%88%d8%b1%d8%aa-%da%a9%d9%86%d8%b3%d9%84%db%8c%d8%8c-%d9%85%d8%a8%d9%84%d8%ba-%da%a9%d9%84-%d8%a8%d9%84%db%8c%d8%b7", "name": "question4", "acceptedAnswer": { "@type": "Answer", "text": "answer4" } } ] } } </script> </code></pre> <p>在谷歌验证器中,我输入我的网址,并且在架构类型中它显示“https://example.com/mag/train-refund-guide/BlogPosting”,并且在到达结果中它甚至不被识别为有效架构。我的输出有什么问题吗?</p> </question> <answer tick="false" vote="0"> <p>代码缺少参考 schema.org 的 <pre><code>@context</code></pre> 属性,这就是它无法映射术语且无法检测代码片段的原因。</p> <p>因此,根据需要添加上下文关键字:</p> <pre><code>"@context": "https://schema.org", </code></pre> <p>完整代码:</p> <pre><code><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BlogPosting", "headline": "title", "datePublished": "2024-07-30T09:05:20+03:30", "dateModified": "2025-01-01T09:13:18+03:30", "articleSection": "cat1, cat2", "author": { "@id": "https://example.com/mag/author/abc/", "name": "abc" }, "publisher": { "@id": "https://example.com/#organization", "name": "site" }, "description": "description", "name": "title", "mainEntityOfPage": { "@id": "https://example.com/mag/train-refund-guide/" }, "isPartOf": { "@id": "https://example.com/#website" }, "primaryImageOfPage": { "@id": "https://example.com/wp-content/uploads/2024/07/train-cancel-1-e1734600689487.webp" }, "inLanguage": "fa-IR", "subjectOf": { "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a8%d8%b9%d8%af-%d8%a7%d8%b2-%d8%ae%d8%b1%db%8c%d8%af-%d8%a8%d9%84%db%8c%d8%b7-%d9%82%d9%82%d8%a7%d8%b1-%d9%85%db%8c%d8%aa%d9%88%d8%a7%d9%86%d9%85-%d8%a2%d9%86-%d8%B1%d8%a7-%da%a9", "name": "question1", "acceptedAnswer": { "@type": "Answer", "text": "answer1" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a2%db%8c%d8%a7-%d9%85%db%8c%d8%aa%d9%88%d8%a7%d9%86%d9%85-%d8%a8%d9%84%db%8c%d8%b7-%d8%ae%d9%88%d8%af-%d8%b1%d8%a7-%d8%af%d8%b1-%d9%87%d8%b1-%d8%b2%d9%85%d8%a7%d9%86%db%8c-%d8%a7%d8%b3", "name": "question2", "acceptedAnswer": { "@type": "Answer", "text": "answer2" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%a2%db%8c%d8%a7-%d8%a8%d8%b1%d8%a7%db%8c-%d8%a7%d8%b3%d8%aa%d8%b1%d8%af%d8%a7%d8%af-%d8%a8%d9%84%db%8c%d8%b7-%d8%a8%d8%a7%db%8c%d8%af-%d9%87%d8%b2%db%8c%d9%86%d9%87%d9%87%d8%a7%db%8c-%d9%be", "name": "question3", "acceptedAnswer": { "@type": "Answer", "text": "answer3" } }, { "@type": "Question", "url": "https://example.com/mag/train-refund-guide/#faq-question-%d8%aa%d8%a7-%da%86%d9%87-%d8%b2%d9%85%d8%a7%d9%86%db%8c-%d8%af%d8%b1-%d8%b5%d9%88%d8%b1%d8%aa-%da%a9%d9%86%d8%b3%d9%84%db%8c%d8%8c-%d9%85%d8%a8%d9%84%d8%ba-%da%a9%d9%84-%d8%a8%d9%84%db%8c%d8%b7", "name": "question4", "acceptedAnswer": { "@type": "Answer", "text": "answer4" } } ] } } </script> </code></pre> </answer> </body></html>
如果我的网站有 2 个区域设置,例如 www.example.com/en 和 www.example.com/es,这些是否被视为重复项,因此规范元标记应用于其中之一,以便海.. .