{"id":3148,"date":"2023-02-18T18:07:00","date_gmt":"2023-02-18T09:07:00","guid":{"rendered":"https:\/\/kanehara.net\/forestcafe-block\/?p=3148"},"modified":"2023-03-14T14:58:02","modified_gmt":"2023-03-14T05:58:02","slug":"canonical%e3%81%ae%e4%bb%95%e6%a7%98%e3%83%bb%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/full-site-patterner.com\/en\/seo-plugin\/3148\/","title":{"rendered":"Specifications and u\u2026"},"content":{"rendered":"\n<p><strong>Meta canonical<\/strong>&nbsp;is mainly&nbsp;<strong>for search engines to describe the URL of the page, especially the URL of the page that should be evaluated with priority when there is a risk of duplicate pages, in the head of the page, and to obtain it in a predetermined format.<\/strong>&nbsp;data to&nbsp;<strong>convey .<\/strong><\/p>\n\n\n\n<p>The program that generates and inserts canonical&nbsp;data is the php file below.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-my-white-background-color has-background\"><tbody><tr><td><img decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/01\/file32-1.png\" alt=\"\"> <strong>canonical.php<\/strong><\/td><td><strong><strong>Display the custom field caconical on the article posting screen<\/strong>\u00a0and save the input content.<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"is-style-decoration-line wp-block-heading\">canonical data inserted<\/h2>\n\n\n\n<p>The canonical data inserted in the head of the page is a single line starting with meta canonical.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"108\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030409-2.jpg\" alt=\"\" class=\"has-border-color has-black-border-color wp-image-3483\" style=\"border-width:1px\" srcset=\"https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030409-2.jpg 711w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030409-2-300x46.jpg 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n\n\n<p>Pages that are particularly likely to become duplicate pages\u00a0are when there are identical or similar articles between\u00a0<strong>individual article pages and category pages .<\/strong><\/p>\n\n\n\n<p>Therefore, in &#8220;fullSite-Patterner&#8221;, a custom field &#8220;canonical&#8221; is displayed on the posting screen of individual articles, and a form that allows input is prepared.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized has-custom-border\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030410-1-1024x135.jpg\" alt=\"\" class=\"has-border-color has-black-border-color wp-image-3485\" style=\"border-width:1px\" width=\"768\" height=\"101\" srcset=\"https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030410-1-1024x135.jpg 1024w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030410-1-300x40.jpg 300w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030410-1-768x101.jpg 768w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023030410-1.jpg 1199w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Normally, you don&#8217;t need to be aware of this, as it only needs to be displayed when necessary.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-my-white-background-color has-background\"><tbody><tr><td><strong>Front-page<\/strong><\/td><td>meta canonical automatically inserts the top page URL.<\/td><\/tr><tr><td><strong>Single-page<\/strong><\/td><td>If meta canonical is entered in the custom field on the article posting screen, Insert that URL. If not entered, the individual page URL is automatically inserted<\/td><\/tr><tr><td><strong>Category-page<\/strong><\/td><td>meta canonical automatically inserts the category page URL.<\/td><\/tr><tr><td><strong>Page<\/strong><\/td><td>meta canonical automatically inserts a fixed page URL.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Decide whether to give priority to individual article pages or category pages based on the contents of the content, search keywords, and the degree of completeness of the content.<\/p>\n\n\n\n<p>When you don&#8217;t need canonical data<\/p>\n\n\n\n<p>If you do not need canonical data, you can stop some functions of the plug-in &#8220;FullSItePatterner-seo&#8221;.<\/p>\n\n\n\n<p>However, you need to modify the following php file in the plugin folder &#8220;fullsite-patterner-seo&#8221; folder from &#8220;Tools&#8221; &#8211; &#8220;Plugin File Editor&#8221; menu.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-my-white-background-color has-background\"><tbody><tr><td><img decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/01\/file32-1.png\" alt=\"\"> <strong>fullsite-patterer-seo.php<\/strong><\/td><td>A configuration file that calls the following files in the folder.<br>shortcode.php, canonical.php, head-tag.php<br>schema-org.php, ogp.php<br>Unnecessary functions do not read php files,<br>Open this file with &#8220;Tools&#8221; &#8211; &#8220;Plugin File Editor&#8221;,<br>Add two slashes (\/\/) at the beginning of the line.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Add two forward slashes (\/\/) to the beginning of the following line in the php file.<\/p>\n\n\n\n<pre class=\"wp-block-code has-my-white-background-color has-background\"><code>\/\/\trequire_once FORESTCAFE_PATH . 'canonical.php';<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Meta canonical&nbsp;is mainly&nbsp;for search engines to describe the URL of the page, especially the URL of the page that should be evaluated with priority when there is a risk of duplicate pages, in the head of the page, and to\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-3148","post","type-post","status-publish","format-standard","hentry","category-seo-plugin"],"_links":{"self":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/comments?post=3148"}],"version-history":[{"count":1,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3148\/revisions"}],"predecessor-version":[{"id":4426,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3148\/revisions\/4426"}],"wp:attachment":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/media?parent=3148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/categories?post=3148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/tags?post=3148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}