Meta Tags
<title>LearnCodePro - React Tutorials</title> <meta name="description" content="Learn React, Node.js, and web development with tutorials."> <meta name="keywords" content="React, Node.js, tutorials"> <meta name="robots" content="index, follow">
Open Graph & Twitter Cards
<meta property="og:title" content="React Course"> <meta property="og:description" content="Master React step by step."> <meta property="og:image" content="/cover.png"> <meta name="twitter:card" content="summary_large_image">
Sitemaps
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2025-09-20</lastmod>
<priority>1.0</priority>
</url>
</urlset>
- Submit in Google Search Console.
Robots.txt
User-agent: * Disallow: /admin/ Allow: / Sitemap: https://example.com/sitemap.xml
Best Practices
- Always have a title & description.
- Submit sitemaps for better crawling.
- Use semantic HTML (h1, h2, nav, article).
- Optimize images with alt attributes.