-
-
Notifications
You must be signed in to change notification settings - Fork 476
Implement Dynamic SEO Meta Tags for User Profile Pages #1073
Copy link
Copy link
Open
Labels
Dev Pioneer🌟 Label 1 for first-time contributors who join the DevDisplay Community by adding their profile. 🚀🌟 Label 1 for first-time contributors who join the DevDisplay Community by adding their profile. 🚀DevDisplay🌟 This label recognizes every contributor to the DevDisplay Community for their support...💌🌟 This label recognizes every contributor to the DevDisplay Community for their support...💌GSSoCLabel for our valued contributors of 🌟 GSSoC '25Label for our valued contributors of 🌟 GSSoC '25GSSoC'25Label is used for Issues and pull request related to GSSoC 2025 open source contribution.Label is used for Issues and pull request related to GSSoC 2025 open source contribution.
Metadata
Metadata
Assignees
Labels
Dev Pioneer🌟 Label 1 for first-time contributors who join the DevDisplay Community by adding their profile. 🚀🌟 Label 1 for first-time contributors who join the DevDisplay Community by adding their profile. 🚀DevDisplay🌟 This label recognizes every contributor to the DevDisplay Community for their support...💌🌟 This label recognizes every contributor to the DevDisplay Community for their support...💌GSSoCLabel for our valued contributors of 🌟 GSSoC '25Label for our valued contributors of 🌟 GSSoC '25GSSoC'25Label is used for Issues and pull request related to GSSoC 2025 open source contribution.Label is used for Issues and pull request related to GSSoC 2025 open source contribution.
Is your feature request related to a problem? Please describe.
Currently, all user profile pages (e.g.,
/some-user) have the same static HTML title: "DevDisplay". This negatively impacts SEO, as search engines cannot distinguish between different user profiles. It also provides a poor user experience when sharing links on social media or having multiple profiles open in browser tabs, as they all have the same title.Current Behavior:
<meta name="description">tag is generic or missing.Describe the solution you'd like
I propose to implement dynamic metadata for user profile pages using the built-in Next.js 13+ Metadata API.
For a user profile at
/[username], the metadata should be generated as follows:<title>[User's Name] | DevDisplay</title><meta name="description" content="[User's Bio or a generated summary]">This will be accomplished by exporting an async
generateMetadatafunction from thesrc/app/[username]/page.jsfile. The function will fetch the user's data and construct the metadata accordingly.Why this is important
Additional context
This seems like a valuable enhancement for the project. As a GSSoC '25 contributor, I would be happy to work on implementing this feature.