> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nextd.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SEO

> Optimize your website search engine rankings with Nextd SEO tools and best practices.

## Overview

Search Engine Optimization (SEO) is a key strategy for improving webpage rankings in search engines like Google. Nextd provides developers with comprehensive SEO optimization tools to help your website achieve better search visibility.

## Core SEO Strategies

### 1. Automated Metadata Generation

Nextd can intelligently generate the following key elements:

| SEO Element                       | Description                                       | Benefits                   |
| --------------------------------- | ------------------------------------------------- | -------------------------- |
| **Optimized Title Tags**          | Ensure each page has unique and relevant titles   | Better search rankings     |
| **AI-Generated Description Tags** | Automatically create compelling page descriptions | Higher click-through rates |
| **Relevant Keyword Suggestions**  | Intelligently recommend keywords based on content | Improved content targeting |

<Tip>
  **Pro Tip**: When interacting with Nextd, include "follow SEO best practices" in your instructions for more optimized results.
</Tip>

### 2. Custom Sitemap

Sitemaps are important tools for search engines to index your website.

**Creation Steps:**

1. Instruct Nextd: `"Create sitemap using my custom domain"`
2. Publish or update your project
3. Submit sitemap to Google Search Console
4. Optional: Add sitemap URL to robots.txt file

### 3. Robots.txt Configuration

Robots.txt files control search engine crawler access permissions:

**Configuration Steps:**

1. Prompt Nextd to `"generate robots.txt file"`
2. Customize page access permissions
3. Upload file to website root directory

### 4. SEO-Optimized Heading Structure

Good heading structure is the foundation of SEO success:

| Heading Level           | Usage Guidelines                         | SEO Impact                   |
| ----------------------- | ---------------------------------------- | ---------------------------- |
| **H1 Tags**             | Use only one per page, ensure uniqueness | Primary ranking signal       |
| **H2/H3 Tags**          | Organize content hierarchy               | Content structure clarity    |
| **Keyword Integration** | Naturally incorporate target keywords    | Relevance scoring            |
| **Best Practices**      | Keep concise and descriptive             | User experience optimization |

### 5. Internal Link Optimization

Strategic internal linking can:

* Suggest relevant internal page links
* Ensure clear website architecture logic
* Boost page authority
* Use descriptive anchor text

### 6. Schema Structured Data

Schema markup enhances search result display:

**Supported Types:**

* Basic Schema for articles, FAQs, products
* SEO-optimized structured data
* Validate using Google's Rich Results Test tool

## Advanced SEO Techniques

### Image Optimization

* Add descriptive alt text to all images
* Use appropriate image formats and compression

### Content Strategy

* Avoid duplicate content
* Use long-tail keyword strategy
* Regularly update and optimize content

### Technical Optimization

* Ensure mobile-friendliness (Nextd handles automatically)
* Optimize page loading speed
* Implement HTTPS security protocol

## Social Media Image Customization

Nextd provides two social media image optimization methods:

| Method                    | Description                                        | Use Case               |
| ------------------------- | -------------------------------------------------- | ---------------------- |
| **AI-Assisted Selection** | Intelligently recommend suitable preview images    | Automated optimization |
| **Manual GitHub Updates** | Directly manage image resources through repository | Custom control         |

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="How long does it take Google to index my pages?" icon="clock">
    Usually within a few hours to a few days. Submitting a sitemap can accelerate the indexing process.
    You can monitor indexing status through Google Search Console to track when your pages are discovered and indexed.
  </Accordion>

  <Accordion title="How does Nextd ensure mobile SEO?" icon="mobile">
    Nextd automatically ensures all generated pages comply with mobile-friendly SEO standards. This includes responsive design, proper viewport settings, and mobile-optimized loading speeds.
  </Accordion>

  <Accordion title="Do I need to manually optimize each page?" icon="wand-magic-sparkles">
    No. Nextd's AI system automatically applies SEO best practices; you just need to include relevant instructions in your prompts.For best results, include "follow SEO best practices" in your prompts to ensure optimal optimization.
  </Accordion>
</AccordionGroup>

## Best Practices Summary

1. **Continuous Monitoring**: Regularly check performance data in Google Search Console
2. **Content Quality**: Always prioritize user experience and content value
3. **Technical Foundation**: Ensure website technical architecture supports SEO requirements
4. **Keyword Research**: Regularly update and optimize target keyword strategies
5. **Competitive Analysis**: Understand industry SEO trends and competitor strategies

By following these guidelines, you can maximize Nextd's SEO capabilities and improve your website's performance in search engines.
