Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ow route, and linking improvements Co-authored-by: jaseel0 <225665919+jaseel0@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add SEO optimized meta descriptions and titles for pages
SEO & Bing compliance: fix title duplication, canonical URLs, IndexNow, heading hierarchy, and internal linking
Mar 6, 2026
naheel0
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses Bing Webmaster Guidelines compliance gaps and several concrete SEO bugs across all 5 pages.
Bug Fixes
Title double-suffix — Root layout defines
template: "%s | ReadmeGenAI". All child pages were setting plain string titles like"Documentation | ReadmeGenAI", causing Next.js to render"Documentation | ReadmeGenAI | ReadmeGenAI". Fixed by switching every page totitle: { absolute: "..." }:Broken OG image — Root layout referenced non-existent
/og-image.png; replaced with existing/ReadmeGenAI.pngand improved alt text.Footer GitHub link —
href="#"replaced withhttps://github.com/BeyteFlow/ReadmeGenAI(target="_blank",rel="noopener noreferrer").Navbar logo not crawlable — Brand
<div>wrapped in<Link href="/">witharia-label, making the home link discoverable by crawlers and keyboard users.SEO Enhancements
Canonical URLs — Added
alternates: { canonical: "/<path>" }to all 5 pages to eliminate duplicate-content signals.IndexNow API route — New
POST /api/indexnowsubmits all 5 URLs to Bing's IndexNow API using the existing key file (/public/85f2c293fce3483d896a5d9dc98974e5.txt). Includes network error handling and uses server-onlySITE_URLenv var (falls back toNEXT_PUBLIC_SITE_URLthen the hardcoded production URL).Heading hierarchy — Home page had five competing
<h2>tags inSEOSection. Demoted "Key Benefits" and the four sub-feature headings to<h3>, leaving a single<h2>("Why Use an AI README Generator?") per section.Sitemap lint warning — Removed unused
configparameter fromnext-sitemap.config.js.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/ReadmeGenAI/ReadmeGenAI/node_modules/.bin/next build(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.