SEO-wordpress网站SEO

SEO-wordpress网站SEO

1、TDK
2、canonical
3、schema

4、
<meta property="og:type" content="article"> 首页 ,单页面,列表页使用website;文章详情页 article;产品详情 product;
<meta property="og:site_name" content="某某 Machinery">
<meta property="og:title" content="页面标题">
<meta property="og:description" content="页面描述">
<meta property="og:url" content="当前页面规范网址">
<meta property="og:image" content="完整的图片绝对地址">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="图片说明">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="页面标题">
<meta name="twitter:description" content="页面描述">
<meta name="twitter:image" content="完整的图片绝对地址">

5、Sitemap Sitemap、站内链接、canonical 应使用同一套标准网址

6、<meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1">

7、让抓取,不传递权重 <meta name="robots" content="noindex,follow"> (一般,搜索页,TAG页,日期归档) 不要同时在 robots.txt 中禁止抓取

8、多语言
<link rel="alternate" hreflang="en" href="https://www.example.com/product/">
<link rel="alternate" hreflang="es" href="https://www.example.com/es/product/">
<link rel="alternate" hreflang="fr" href="https://www.example.com/fr/product/">
<link rel="alternate" hreflang="x-default" href="https://www.example.com/product/">

9、<link rel="icon" href="/favicon.ico"> 至少大于 48×48px;

10、HTML 根标签设置页面语言:<html lang="en">

11、面包屑与网站结构

示例

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 页面标题和描述 --> <title>Automatic Water Filling Machine Manufacturer | HZM Machinery</title> <meta name="description" content="HZM Machinery manufactures automatic bottled water filling machines and complete water bottling lines."> <!-- 规范网址 --> <link rel="canonical" href="https://www.example.com/water-filling-machine/"> <!-- 索引和预览控制 --> <meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1"> <!-- 网站图标 --> <link rel="icon" href="https://www.example.com/favicon.ico" sizes="any"> <link rel="icon" type="image/svg+xml" href="https://www.example.com/favicon.svg"> <link rel="apple-touch-icon" href="https://www.example.com/apple-touch-icon.png"> <!-- 多语言,仅在有对应语言页面时添加 --> <link rel="alternate" hreflang="en" href="https://www.example.com/water-filling-machine/"> <link rel="alternate" hreflang="es" href="https://www.example.com/es/water-filling-machine/"> <link rel="alternate" hreflang="x-default" href="https://www.example.com/water-filling-machine/"> <!-- Open Graph --> <meta property="og:type" content="website"> <meta property="og:site_name" content="HZM Machinery"> <meta property="og:locale" content="en_US"> <meta property="og:title" content="Automatic Water Filling Machine Manufacturer"> <meta property="og:description" content="Automatic bottled water filling machines and complete water bottling lines."> <meta property="og:url" content="https://www.example.com/water-filling-machine/"> <meta property="og:image" content="https://www.example.com/images/water-filling-machine.jpg"> <meta property="og:image:secure_url" content="https://www.example.com/images/water-filling-machine.jpg"> <meta property="og:image:type" content="image/jpeg"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"> <meta property="og:image:alt" content="Automatic bottled water filling machine"> <!-- Twitter Card --> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="Automatic Water Filling Machine Manufacturer"> <meta name="twitter:description" content="Automatic bottled water filling machines and complete water bottling lines."> <meta name="twitter:image" content="https://www.example.com/images/water-filling-machine.jpg"> <meta name="twitter:image:alt" content="Automatic bottled water filling machine"> <!-- 性能优化:只添加真正使用的关键第三方域名 --> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <!-- 性能优化:只预加载首屏关键图片 --> <link rel="preload" as="image" href="https://www.example.com/images/water-filling-machine.webp"> <!-- 当前页面对应的 Schema --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Product", "@id": "https://www.example.com/water-filling-machine/#product", "name": "Automatic Water Filling Machine", "url": "https://www.example.com/water-filling-machine/", "image": [ "https://www.example.com/images/water-filling-machine.jpg" ], "description": "Automatic bottled water filling machine manufactured by HZM Machinery.", "brand": { "@type": "Brand", "name": "HZM Machinery" } } </script> </head>