; rel="alternate"; hreflang="x-default"
```
### XML Sitemap
```xml
https://example.com/en/page
```
## Language Codes
### Common Codes
- en: English (general)
- en-US: English (United States)
- en-GB: English (United Kingdom)
- es: Spanish (general)
- fr: French (general)
- de: German (general)
- zh: Chinese (general)
- ja: Japanese (general)
## Best Practices
- Use correct language codes
- Use x-default for default
- Keep URLs consistent
- Test with Google tools
- Update regularly
```
---
## 13. Internal Linking
### Internal Linking Strategy
```markdown
# Internal Linking
## Why Internal Links Matter
- Helps search engines discover pages
- Distributes link equity
- Establishes site hierarchy
- Improves user navigation
## Best Practices
### 1. Link Structure
- Create logical hierarchy
- Use descriptive anchor text
- Link to related content
- Avoid broken links
### 2. Anchor Text
- Use descriptive text
- Include keywords naturally
- Avoid generic text
- Keep it concise
### 3. Link Placement
- Link within content
- Add navigation links
- Use footer links
- Include breadcrumb links
### 4. Link Quantity
- Quality over quantity
- Relevant links only
- Avoid over-linking
- Natural link distribution
## Link Types
### Navigation Links
```html
```
### Contextual Links
```html
Learn more about our web development services.
```
### Breadcrumb Links
```html
```
### Footer Links
```html
```
```
---
## 14. Image Optimization
### Image SEO Best Practices
```markdown
# Image Optimization
## Image SEO Checklist
### 1. File Names
- Use descriptive names
- Include keywords
- Use hyphens
- Keep it short
### Good Names
```
red-running-shoes.jpg
seo-optimization-guide.jpg
company-logo.png
```
### Bad Names
```
IMG_1234.jpg
image1.png
photo.jpg
```
### 2. Alt Text
- Describe image content
- Include keywords naturally
- Keep it concise
- Use empty alt for decorative images
```html
```
### 3. File Size
- Compress images
- Use appropriate format
- Optimize dimensions
- Remove metadata
### 4. Modern Formats
- Use WebP when possible
- Use AVIF when supported
- Provide fallbacks
- Test compatibility
```html
```
### 5. Responsive Images
- Use srcset attribute
- Use sizes attribute
- Provide multiple sizes
- Use lazy loading
```html
```
### 6. Image Sitemaps
```xml
https://example.com/page
https://example.com/image.jpg
Image caption
Image title
```
```
---
## 15. Technical SEO Checklist
### Comprehensive Checklist
```markdown
# Technical SEO Checklist
## Crawlability
- [ ] Robots.txt properly configured
- [ ] XML sitemap created and submitted
- [ ] Sitemap points to important pages
- [ ] No crawl errors in Search Console
- [ ] Internal linking structure is clear
- [ ] No broken internal links
- [ ] No broken external links
## Indexability
- [ ] Meta robots tags correct
- [ ] Noindex on appropriate pages
- [ ] Canonical tags implemented
- [ ] No duplicate content issues
- [ ] Pages are indexed in Search Console
- [ ] Index coverage is good
## URL Structure
- [ ] URLs are clean and descriptive
- [ ] URLs use hyphens
- [ ] URLs are lowercase
- [ ] No unnecessary parameters
- [ ] HTTPS implemented
- [ ] www/non-www redirect configured
## Mobile
- [ ] Site is mobile-friendly
- [ ] Viewport meta tag present
- [ ] Responsive design implemented
- [ ] Mobile performance is good
- [ ] Touch targets are adequate
- [ ] No horizontal scrolling
## Page Speed
- [ ] LCP < 2.5s
- [ ] FID < 100ms
- [ ] CLS < 0.1
- [ ] Images optimized
- [ ] CSS and JS minified
- [ ] Browser caching enabled
- [ ] Gzip/Brotli compression enabled
- [ ] CDN configured
## Security
- [ ] HTTPS implemented
- [ ] SSL certificate valid
- [ ] Security headers configured
- [ ] No mixed content
- [ ] No security vulnerabilities
## Structured Data
- [ ] Schema markup implemented
- [ ] Structured data is valid
- [ ] Rich snippets appearing in SERPs
- [ ] No errors in Structured Data Testing Tool
## International
- [ ] Hreflang tags implemented (if applicable)
- [ ] Language-specific URLs
- [ ] Region-specific URLs (if applicable)
- [ ] Correct language codes used
## Content
- [ ] Title tags optimized
- [ ] Meta descriptions optimized
- [ ] H1 tags present
- [ ] Heading hierarchy correct
- [ ] Content is unique
- [ ] Content is valuable
- [ ] Keyword usage is natural
## Technical
- [ ] No 404 errors
- [ ] No 5xx errors
- [ ] Redirects configured correctly
- [ ] Server response time < 200ms
- [ ] DNS is fast
- [ ] No blocking resources
```
---
## Testing Tools
### Essential Tools
```markdown
# SEO Testing Tools
## Google Tools
### Google Search Console
- Index coverage
- Mobile usability
- Core Web Vitals
- Manual actions
- Links report
### PageSpeed Insights
- Performance scores
- Core Web Vitals
- Optimization suggestions
- Mobile and desktop scores
### Rich Results Test
- Structured data validation
- Rich snippet preview
- Schema markup testing
### Mobile-Friendly Test
- Mobile usability check
- Page rendering
- Touch targets
- Text readability
## Third-Party Tools
### Screaming Frog
- Site crawl
- Technical audit
- Link analysis
- Duplicate content
### Ahrefs
- Backlink analysis
- Keyword research
- Content gap analysis
- Competitor analysis
### SEMrush
- Site audit
- Keyword tracking
- Backlink analysis
- Content optimization
### Moz
- Domain authority
- Keyword research
- Site crawl
- Link analysis
## Browser Tools
### Chrome DevTools
- Performance analysis
- Network analysis
- Lighthouse audit
- Mobile emulation
### Lighthouse
- Performance audit
- Accessibility audit
- Best practices audit
- SEO audit
```
---
## Best Practices
### Technical SEO Best Practices
1. **Monitor Regularly**
- Check Search Console daily
- Monitor performance metrics
- Track indexing status
- Review crawl errors
2. **Fix Issues Quickly**
- Prioritize critical issues
- Fix 404 errors
- Resolve indexing problems
- Address speed issues
3. **Stay Updated**
- Follow Google updates
- Read SEO blogs
- Attend conferences
- Join communities
4. **Test Changes**
- Use staging environment
- Test with Google tools
- Monitor impact
- Rollback if needed
5. **Document Everything**
- Keep change log
- Document decisions
- Track results
- Share knowledge