SEO support
See original GitHub issueWhen creating a site I want to set description, image, title set on page (and have default values) so that have good SEO
There are really two parts to this:
- Site-wide SEO: common and/or default SEO values for the whole site (and especially the front page)
- Per-page SEO: SEO per page that overrides default SEO values. These would derive from frontmatter and/or be calculated e.g. title from markdown first heading etc (nb: any work to calculate title etc is out of scope for this issue - this issue can assume those values are available)
Priority right now is the first
We can follow the work we did in web3 for this e.g. https://github.com/life-itself/web3/issues/114
Acceptance
- Can configure default SEO - full stack of next-seo options in config and these get used on every page (can get overriden) ✅2022-08-16 see https://flowershow.app/docs/seo and https://socialsharepreview.com/?url=https://flowershow.app
- This SEO shows up on front page ✅2022-08-16 see https://socialsharepreview.com/?url=https://flowershow.app
- SEO shows up on every other page where not explicitly overridden ✅2022-08-16 this works
- Docs page explaining how to set and referencing options in next-seo ✅2022-08-16 https://flowershow.app/docs/seo
- Per page SEO values for title, description, image etc which come from frontmatter or elsewhere 🚧2022-08-16 done for title, description but not image yet. An example can be see on https://flowershow.app/docs/seo where title is different
Proposed Default Next SEO (note other SEO values would get set from other config values e.g. title and description)
nextSeo: {
openGraph: {
images: [
{
url: "https://web3.lifeitself.us/img/home-page-screenshot-social-preview.png",
alt: "",
width: 1200,
height: 627,
type: "image/jpg",
},
],
},
twitter: {
handle: "@forlifeitself",
site: "web3.lifeitself.us",
cardType: "summary_large_image",
},
},
Tasks
- Create docs
- …
Issue Analytics
- State:
- Created a year ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Google SEO Help and Support | Google Search Central
Get SEO support from Google Search Specialists. We can help with search appearance and rankings, rich results, security, Search Console, and more.
Read more >SEO Support & Help Guide | Do You Need an SEO Agency?
Investing in professional SEO support is a big decision. Learn when to hire an SEO, plus how to hire an SEO consultant or...
Read more >Search Engine Optimization (SEO) | Help Center | Wix.com
Search Engine Optimization (SEO) means making your website more readable to search engines so they can better index your site. This improves search...
Read more >What is SEO? - Support | one.com
SEO stands for Search Engine Optimization. It is the process of improving a website for search engines so it ranks higher in search......
Read more >Managing SEO in WordPress | WordPress.com Support
WordPress.com is very search friendly by default. This support guide covers tips for showing up in search engines and SEO (search engine optimization)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, I’d keep SEO-related stuff from other (e.g. presentation-related) stuff separate.
@olayway @khalilcodes i would keep these as we could use these outside of SEO, at least the title would be used in the navbar by default i think if you hadn’t set a logo or something. Description maybe not so much. That said, for now i think we could go this way - i actually think @olayway is right that we move this to the SEO and have a separate value (if we need it) for say the navbar.
And btw @olayway very good, thorough comments.