{"id":2991606,"date":"2019-11-14T00:00:00","date_gmt":"2019-11-14T00:00:00","guid":{"rendered":"http:\/\/www.wpallimport.com\/documentation\/import\/plugins-themes\/yoast-wordpress-seo\/"},"modified":"2025-12-08T18:50:57","modified_gmt":"2025-12-08T18:50:57","slug":"yoast-wordpress-seo","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/","title":{"rendered":"Yoast WordPress SEO"},"content":{"rendered":"\n<p>In this tutorial, you\u2019ll learn how to import posts into WordPress along with their settings for the Yoast WordPress SEO plugin. WP All Import makes it easy to import data into almost any plugin or theme.<\/p>\n\n\n\n<p>You can complete this import manually, as described below, or you can use the Yoast Add-On for WP All Import: <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/yoast-seo-settings-xml-csv-import\/\" target=\"_blank\">https:\/\/wordpress.org\/plugins\/yoast-seo-settings-xml-csv-import\/<\/a><\/p>\n\n\n\n<p>The settings for Yoast are stored in custom fields attached to every post. Watch the video tutorial below to see how easy it is to import these settings: <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Importing to Yoast WordPress SEO Custom Fields with WP All Import\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/_qMYp9o0MUQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Just like importing other custom fields, you can manually enter the field name into WP All Import, or you can choose to have WP All Import auto-detect all of the custom fields attached to the post type you\u2019re importing to. Remember, for WP All Import to detect these custom fields, there must be at least one post on your site using them.<\/p>\n\n\n\n<p>Yoast uses thirteen different custom fields to store settings for your posts. If you don\u2019t import a value to a custom field, then Yoast WordPress SEO will simply assign your post the default for that field.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular pure-table pure-table-horizontal pure-table-striped\"><table><thead><tr><th>Name<\/th><th>Custom Field<\/th><th>Values<\/th><\/tr><\/thead><tbody><tr><td>Focus Keyword<\/td><td>_yoast_wpseo_focuskw<\/td><td>Text string<\/td><\/tr><tr><td>SEO Title<\/td><td>_yoast_wpseo_title<\/td><td>Text string<\/td><\/tr><tr><td>Meta Description<\/td><td>_yoast_wpseo_metadesc<\/td><td>Text string<\/td><\/tr><tr><td>Meta Robots Index<\/td><td>_yoast_wpseo_meta-robots-noindex<\/td><td>Blank for default, 1 for noindex, or 2 for index<\/td><\/tr><tr><td>Meta Robots Follow<\/td><td>_yoast_wpseo_meta-robots-nofollow<\/td><td>Blank for follow, 1 for nofollow<\/td><\/tr><tr><td>Meta Robots Advanced<\/td><td>_yoast_wpseo_meta-robots-adv<\/td><td>Blank for default, none, noodp, noydir, noimageindex, noarchive, or nosnippet<\/td><\/tr><tr><td>Include in Sitemap<\/td><td>_yoast_wpseo_sitemap-include<\/td><td>Blank for auto, always, or never<\/td><\/tr><tr><td>Sitemap Priority<\/td><td>_yoast_wpseo_sitemap-prio<\/td><td>Blank for auto, 1 to .1<\/td><\/tr><tr><td>Canonical URL<\/td><td>_yoast_wpseo_canonical<\/td><td>Canonical URL of post<\/td><\/tr><tr><td>301 Redirect<\/td><td>_yoast_wpseo_redirect<\/td><td>URL to redirect post to<\/td><\/tr><tr><td>Facebook Title<\/td><td>_yoast_wpseo_opengraph-title<\/td><td>Text string<\/td><\/tr><tr><td>Facebook Description<\/td><td>_yoast_wpseo_opengraph-description<\/td><td>Text string<\/td><\/tr><tr><td>Facebook Image<\/td><td>_yoast_wpseo_opengraph-image<\/td><td>URL to image<\/td><\/tr><tr><td>Twitter Title<\/td><td>_yoast_wpseo_twitter-title<\/td><td>Text string<\/td><\/tr><tr><td>Twitter Description<\/td><td>_yoast_wpseo_twitter-description<\/td><td>Text string<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Here\u2019s an example of how your import template might look while importing Yoast WordPress SEO settings: <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg\" alt=\"Yoast Custom Fields\" class=\"wp-image-522\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"import-seo-to-taxonomies\">Importing SEO Data for Taxonomies<\/h2>\n\n\n\n<p>Yoast stores taxonomy SEO data via the&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Options_API\" target=\"_blank\" rel=\"noreferrer noopener\">Options API<\/a>, so the Term Meta section won\u2019t work. Instead, you\u2019ll need to use our add-on for Yoast:&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/yoast-seo-settings-xml-csv-import\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/wordpress.org\/plugins\/yoast-seo-settings-xml-csv-import\/<\/a>. In the import settings, you\u2019ll still use the term meta section to decide which fields to update. Here are all of the available taxonomy fields:<\/p>\n\n\n\n<figure class=\"wp-block-table pure-table pure-table-horizontal pure-table-striped\"><table><thead><tr><th>Name<\/th><th>Custom Field<\/th><th>Values<\/th><\/tr><\/thead><tbody><tr><td>Focus Keyword<\/td><td>wpseo_focuskw<\/td><td>Text string<\/td><\/tr><tr><td>SEO Title<\/td><td>wpseo_title<\/td><td>Text string<\/td><\/tr><tr><td>Meta Description<\/td><td>wpseo_desc<\/td><td>Text string<\/td><\/tr><tr><td>Meta Robots Index<\/td><td>wpseo_noindex<\/td><td>Blank for default, 1 for noindex, or 2 for index<\/td><\/tr><tr><td>Include in Sitemap<\/td><td>wpseo_sitemap_include<\/td><td>Blank for auto, always, or never<\/td><\/tr><tr><td>Canonical URL<\/td><td>wpseo_canonical<\/td><td>Canonical URL of post<\/td><\/tr><tr><td>Facebook Title<\/td><td>wpseo_opengraph-title<\/td><td>Text string<\/td><\/tr><tr><td>Facebook Description<\/td><td>wpseo_opengraph-description<\/td><td>Text string<\/td><\/tr><tr><td>Facebook Image<\/td><td>wpseo_opengraph-image<\/td><td>URL to image<\/td><\/tr><tr><td>Twitter Title<\/td><td>wpseo_twitter-title<\/td><td>Text string<\/td><\/tr><tr><td>Twitter Description<\/td><td>wpseo_twitter-description<\/td><td>Text string<\/td><\/tr><tr><td>Twitter Image<\/td><td>wpseo_twitter-image<\/td><td>URL to image<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import Any CSV, XML, or Excel to WordPress<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Categories &amp; tags<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/import-wordpress-csv-xml-excel\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>This overview explains how to import into Custom Fields using WP All Import.<\/p>\n\n\n\n\n\n<p>Learn how to export Custom Fields using WP All Export.<\/p>\n\n\n\n\n\n<p>This documentation explains how to bulk edit data using our plugins.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.<\/p>\n","protected":false},"author":96198,"featured_media":2990300,"parent":5838362,"menu_order":0,"template":"","tags":[],"content_author":[213],"search_tags":[],"class_list":["post-2991606","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Import Settings to Yoast SEO - WP All Import<\/title>\n<meta name=\"description\" content=\"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Import Settings to Yoast SEO - WP All Import\" \/>\n<meta property=\"og:description\" content=\"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T18:50:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"885\" \/>\n\t<meta property=\"og:image:height\" content=\"854\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/\",\"name\":\"Import Settings to Yoast SEO - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg\",\"datePublished\":\"2019-11-14T00:00:00+00:00\",\"dateModified\":\"2025-12-08T18:50:57+00:00\",\"description\":\"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg\",\"width\":885,\"height\":854},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Import Settings to Yoast SEO - WP All Import","description":"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/","og_locale":"en_US","og_type":"article","og_title":"Import Settings to Yoast SEO - WP All Import","og_description":"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.","og_url":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T18:50:57+00:00","og_image":[{"width":885,"height":854,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/","url":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/","name":"Import Settings to Yoast SEO - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg","datePublished":"2019-11-14T00:00:00+00:00","dateModified":"2025-12-08T18:50:57+00:00","description":"Yoast SEO uses Custom Fields, so WP All Import can import any file to it. This page lists the Custom Fields used by Yoast SEO.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/yoast-wordpress-seo\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/yoast-custom-fields.jpg","width":885,"height":854},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991606\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5838362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/2990300"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=2991606"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=2991606"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=2991606"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=2991606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}