Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Created April 21, 2019 07:33
Show Gist options
  • Select an option

  • Save patrickcoombe/f4ae89c9f1a558e61acc8aa79321e485 to your computer and use it in GitHub Desktop.

Select an option

Save patrickcoombe/f4ae89c9f1a558e61acc8aa79321e485 to your computer and use it in GitHub Desktop.
Ahrefs Blog Post
<script type = 'application/ld+json' class = 'yoast-schema-graph yoast-schema-graph--main'> {
"@context": "https://schema.org",
"@graph": [{
"@type": "WebSite",
"@id": "https://ahrefs.com/blog/#website",
"url": "https://ahrefs.com/blog/",
"name": "SEO Blog by Ahrefs",
"publisher": {
"@id": "https://ahrefs.com/blog/#organization"
},
"potentialAction": {
"@type": "SearchAction",
"target": "https://ahrefs.com/blog/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}, {
"@type": "WebPage",
"@id": "https://ahrefs.com/blog/301-redirects/#webpage",
"url": "https://ahrefs.com/blog/301-redirects/",
"inLanguage": "en-US",
"name": "301 Redirects for SEO: Everything You Need to Know",
"isPartOf": {
"@id": "https://ahrefs.com/blog/#website"
},
"image": {
"@type": "ImageObject",
"@id": "https://ahrefs.com/blog/301-redirects/#primaryimage",
"url": "https://ahrefs.com/blog/wp-content/uploads/2019/04/fb-301-redirects-1.png",
"caption": ""
},
"primaryImageOfPage": {
"@id": "https://ahrefs.com/blog/301-redirects/#primaryimage"
},
"datePublished": "2019-04-16T14:50:44+00:00",
"dateModified": "2019-04-19T17:53:29+00:00",
"description": "Learn what 301 redirects are, how they affect SEO, how to implement them, and most importantly, how to use them to boost organic traffic."
}, {
"@type": "Article",
"@id": "https://ahrefs.com/blog/301-redirects/#article",
"isPartOf": {
"@id": "https://ahrefs.com/blog/301-redirects/#webpage"
},
"author": {
"@id": "https://ahrefs.com/blog/author/joshua-hardwick/#author",
"name": "Joshua Hardwick"
},
"publisher": {
"@id": "https://ahrefs.com/blog/#organization"
},
"headline": "301 Redirects for <span class=\"caps\">SEO</span>: Everything You Need to Know",
"datePublished": "2019-04-16T14:50:44+00:00",
"dateModified": "2019-04-19T17:53:29+00:00",
"commentCount": 0,
"mainEntityOfPage": "https://ahrefs.com/blog/301-redirects/#webpage",
"image": {
"@id": "https://ahrefs.com/blog/301-redirects/#primaryimage"
},
"articleSection": "General SEO,Technical SEO"
}, {
"@type": "Person",
"@id": "https://ahrefs.com/blog/author/joshua-hardwick/#author",
"name": "Joshua Hardwick",
"image": {
"@type": "ImageObject",
"@id": "https://ahrefs.com/blog/#personlogo",
"url": "https://ahrefs.com/blog/wp-content/uploads/2018/04/photo-of-me.jpg",
"caption": "Joshua Hardwick"
},
"description": "Head of Content @ Ahrefs (or, in plain English, I'm the guy responsible for ensuring that every blog post we publish is EPIC). \r\n\r\nFounder @ <a href=\"http://www.theseoproject.org\">The SEO Project</a>.",
"sameAs": ["https://twitter.com/JoshuaCHardwick"]
}]
} < /script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment