sameAs Schema Explained: What It Is, Does It Help SEO, and How to Add It

The first time I saw the word sameAs inside a schema generator, I assumed it was a typo. It looked like something a developer had forgotten to finish. Then I found out it quietly does one useful job: it tells Google that your website, your LinkedIn profile and your other accounts all belong to the same person.

If you run a blog or want to build a personal brand online, this small piece of code is worth understanding. In this guide I will explain what it is in plain language, whether it actually helps SEO, how to add it (with or without a plugin), and what to do when it does not seem to work.

What Is Structured Data in SEO?

When you read a web page, you instantly understand that one line is the author’s name and another is a date. A search engine has to guess. Structured data (also called schema markup) is extra code that labels your content so there is less guessing. It is based on a shared vocabulary at schema.org.

Google explains in its introduction to structured data that this markup helps it understand a page, and that some types can make a page eligible for enhanced results. Think of it as sticking clear labels on the boxes in your storage room.

What Is JSON-LD for Beginners?

There are a few ways to write structured data, but JSON-LD is the one Google recommends and the easiest to work with. It is a small block of text that sits inside a script tag on your page. Visitors never see it, but search engines read it. You do not need to know how to code. You only need to fill in the blanks correctly, which I will show you below.

What Is the sameAs Property? (Meaning in Simple Words)

sameAs is a property in schema markup that points to other web pages that clearly refer to the same person, organization or thing. The official schema.org definition of sameAs describes it as the URL of a reference page that identifies the item, such as an official profile.

Here is the simple version. Your About page says you are Priya, a blogger. Your LinkedIn page also says Priya, a blogger. To a human it is obvious they are the same person. sameAs makes it obvious to a machine too.

A basic example for a blogger:

{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": "Your Name",
  "url": "https://yourwebsite.com/about/",
  "sameAs": [
    "https://www.linkedin.com/in/your-custom-url/",
    "https://x.com/yourhandle"
  ]
}

Only list profiles that really belong to you, and use the full web address of each profile.

What Is Entity SEO?

In SEO, an entity is a clearly defined thing: a person, a brand, a place or an idea. Search engines are moving away from matching only keywords and toward understanding who and what is behind the content. Entity SEO simply means making it easy for Google to understand who you are, what you write about and where else you appear online.

sameAs is one of the tools for that. Using the same name, photo and short bio across your website and profiles is another.

Does sameAs Help SEO? Is It a Ranking Factor?

Honestly, not directly. There is no official statement that adding sameAs will push your pages up the rankings, and structured data in general is not a ranking boost on its own. What it does is reduce confusion. That matters most for people with common names, new websites, and anyone building a personal brand.

So does schema markup improve rankings? Usually the benefits are indirect: clearer understanding, possible rich results for certain content types, and stronger identity signals. If you are still waiting for a new website to get traction, read our guide on the Google sandbox for new websites before you expect any markup to change things overnight.

Is Schema Markup Worth It for Small Blogs?

Yes, as long as your expectations are realistic. It takes about 15 minutes to set up the basics, it costs nothing, and it makes your identity cleaner. Just do not expect a sudden jump in traffic from it. Good content and links still do most of the work.

sameAs for Personal Brand

If you want your name to bring up your website and your LinkedIn profile together, sameAs is a smart small step. Combine it with consistent profile details, an About page that clearly says who you are, and a few mentions on other websites. If you also want your LinkedIn profile to show up well in search, link to it from your author bio and keep your public profile visible to search engines.

How to Add sameAs to Your Website

Here is the process I would follow for a blog:

  1. Pick the right page. Your About page or author page is the best home, since it is about you.
  2. List your real profiles. For example, LinkedIn, X, YouTube or GitHub. To connect your website with social profiles for Google, these are the links that go inside sameAs.
  3. Choose the type. Use Person if the site is your personal blog, or Organization if it represents a company or brand.
  4. Add the code using one of the methods below.
  5. Test it before you move on.

How to Add LinkedIn to Schema Markup

Use your public profile address in the list, ideally your custom URL such as https://www.linkedin.com/in/your-name/. Make sure it is the exact link that opens your public profile.

How to Add Author Schema to a Blog

On each blog post, the article’s markup can include an author that is a Person with its own name and sameAs links. Most SEO plugins do this automatically once your author profile is filled in. That also supports E-E-A-T, which is Google’s way of describing experience, expertise, authoritativeness and trust.

How to Add sameAs Schema in WordPress

With a plugin (easiest). Yoast SEO and Rank Math both let you add your social profiles and set whether your site represents a person or an organization. Fill in those profile fields and the plugin writes the sameAs markup for you. Also complete your user profile so the author markup has your details.

Without a plugin. You can print JSON-LD yourself. Add this to your child theme’s functions.php file or a code snippets plugin, and change the details:

add_action('wp_head', function () {
  if (!is_page('about')) { return; }
  $data = array(
    '@context' => 'https://schema.org',
    '@type'    => 'Person',
    'name'     => 'Your Name',
    'url'      => home_url('/about/'),
    'sameAs'   => array('https://www.linkedin.com/in/your-custom-url/')
  );
  echo '<script type="application/ld+json">' . wp_json_encode($data) . '</script>';
});

If your About page uses a different slug, replace about with it. Take a backup first, because a typo in functions.php can break your site.

sameAs Schema Generator and Free Tools

There are many free schema markup generators online. Fill in your name and profile links, copy the JSON-LD and paste it into your page. They save time, but always validate the output.

How to Test Schema Markup

Open the Schema Markup Validator, paste your page address or code, and check that your Person and sameAs values show up without errors. Google’s Rich Results Test is also useful for checking eligibility for enhanced results, though a plain Person markup will not produce a visible rich result.

Common Problems and Fixes

sameAs schema not showing in Google. This is normal. The markup is invisible, so you will not see it in the results. Check it with a validator instead of looking for it in search.

Schema errors in Search Console. Read the exact message. Most are missing required fields or wrong types.

Invalid JSON-LD. The usual culprits are a missing comma or bracket, an extra comma after the last item, and curly quotes pasted from a word processor. JSON needs straight quotes, so retype them in a plain text editor.

Google not showing my social profiles, or my LinkedIn not showing in search. Search engines decide this themselves. Fresh profiles can take weeks to appear. Make sure the profile is public, link to it from your site, and use your full name consistently. Markup is a hint, not a guarantee.

sameAs vs rel=me vs Canonical

  • sameAs is structured data saying other pages are the same entity.
  • rel=me is a link attribute people use to verify ownership of profiles, popular on some social platforms.
  • Canonical tells Google which version of duplicate content is the main one. It has nothing to do with profiles.

Person Schema vs Organization Schema

Use Person when the site is about you as an individual, such as a personal blog or portfolio. Use Organization when it represents a company, brand or publication. If you run a brand site and also write under your own name, you can use both: Organization for the site and Person for the author.

How to Build an Entity for Your Personal Brand (and Get a Knowledge Panel)

You cannot force Google to show a knowledge panel. What you can do is make your identity easy to confirm:

  • Use the same name, photo and bio everywhere
  • Add sameAs links on your About page
  • Publish consistently on one topic
  • Get mentioned or interviewed on trusted sites
  • Keep your LinkedIn profile complete and public

This takes months, not days, so treat it as a long game.

Quick Checklist

  • Add Person (or Organization) schema to your About page
  • List only your real profile URLs in sameAs
  • Test the code in a validator
  • Keep your name and bio consistent across the web
  • Be patient and keep publishing useful content

For more beginner-friendly guides like this one, browse our SEO section or the blog category.

Final Thoughts

The sameAs property is a small, free, sensible step. It will not rocket your rankings, but it helps Google see that the person behind your blog and the person on LinkedIn are one and the same. Add it once, test it, and spend the rest of your energy on writing things people want to read.

Resources