Implementing NextSEO

Hasanur Rahman
Hasanur Rahman
Thumbnail

Firstly install the nextseo pack by

yarn add next-seo

or

npm install next-seo

Add SEO to Page

Example with just title and description:

import { NextSeo } from 'next-seo';

const Page = () => (
  <>
    <NextSeo
      title="Simple Usage Example"
      description="A short description goes here."
    />
    <p>Simple Usage</p>
  </>
);

export default Page;
Hasanur Rahman

About Hasanur Rahman

Mario is a Staff Engineer specialising in Frontend at Vercel, as well as being a co-founder of Acme and the content management system Sanity. Prior to this, he was a Senior Engineer at Apple.

Copyright © 2023 . All rights reserved.