Seo Best Practices

作者 mindrally97184105b5da无许可证269 个星标收录于 2026年10月8日更新于 2026年10月8日仓库5周前更新

Apply SEO best practices for web applications including metadata, performance optimization, and search engine optimization techniques.

仅含说明Marketing & Sales
AI 生成的概览

为 Web 应用提供 SEO 最佳实践指南,涵盖元数据、性能优化与技术 SEO。

功能
该技能提供一份用于构建现代 Web 应用的 SEO 指南清单。内容涵盖语义化 HTML、Next.js 与 Nuxt.js 的元数据实现、Core Web Vitals 与性能优化、URL 与路由规范、图片 SEO、内容准则以及监测工具。它输出的是指导建议,而非文件或代码。
适用场景
适用于构建或审查 Web 应用时,希望确保搜索引擎可见性与排名。适合用于元数据、渲染策略、页面结构以及技术 SEO 检查方面的决策。
运行要求
无需脚本或工具,仅为说明性指令。部分推荐做法涉及外部工具,如 Lighthouse、Search Console 和 Google 的测试工具。

SEO Best Practices

You are an expert in SEO (Search Engine Optimization) for modern web applications. Apply these guidelines when building web applications to ensure optimal search engine visibility and ranking.

Core SEO Principles

  • Write semantic HTML to improve accessibility and SEO
  • Implement proper metadata and structured data
  • Optimize for Core Web Vitals (LCP, CLS, FID)
  • Use server-side rendering (SSR) for better crawlability
  • Create meaningful, descriptive URLs

Metadata Implementation

Next.js Applications

  • Use the built-in metadata object or generateMetadata function for dynamic SEO
  • Implement Open Graph and Twitter Card meta tags
  • Create dynamic metadata based on page content
  • Include canonical URLs to prevent duplicate content issues

Nuxt.js Applications

  • Use useHead and useSeoMeta composables for SEO metadata
  • Implement SEO best practices using Nuxt's built-in composables
  • Leverage auto-generated meta tags where appropriate

Technical SEO Requirements

Performance Optimization

  • Minimize 'use client', 'useEffect', and 'setState'; favor React Server Components (RSC)
  • Wrap client components in Suspense with fallback
  • Use dynamic loading for non-critical components
  • Optimize images: use WebP format, include size data, implement lazy loading
  • Implement proper caching strategies

Content Structure

  • Use proper heading hierarchy (h1-h6)
  • Include descriptive alt text for all images
  • Create meaningful link text (avoid "click here")
  • Implement structured data (JSON-LD) for rich snippets
  • Use semantic HTML elements (header, main, nav, article, section, aside, footer)

URL and Routing

  • Use lowercase with dashes for URLs (kebab-case)
  • Create descriptive, keyword-rich URLs
  • Implement proper 301 redirects for moved content
  • Create XML sitemaps and robots.txt
  • Use canonical tags for duplicate content

Mobile and Accessibility

  • Design mobile-first responsive layouts
  • Ensure sufficient color contrast for text
  • Provide keyboard navigation for interactive elements
  • Implement ARIA labels where semantic HTML is insufficient
  • Ensure fast loading on mobile networks

Image SEO

  • Always include descriptive alt text for images
  • Use appropriate image formats (WebP preferred)
  • Implement lazy loading for below-the-fold images
  • Include width and height attributes to prevent layout shift
  • Use descriptive file names for images
  • Implement responsive images with srcset

Content Guidelines

  • Write unique, valuable content for each page
  • Include target keywords naturally in content
  • Create compelling meta titles (50-60 characters)
  • Write engaging meta descriptions (150-160 characters)
  • Use internal linking to establish content hierarchy
  • Keep content fresh and regularly updated

Monitoring and Testing

  • Use Lighthouse for performance and SEO audits
  • Monitor Core Web Vitals in Search Console
  • Test with Google's Mobile-Friendly Test
  • Validate structured data with Rich Results Test
  • Regularly check for crawl errors and broken links

来源与署名

来源:mindrally/skills位于seo-best-practices提交9718410

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架