Using the X-Robots-Tag
Directive on an Apache server Using the X-Robots-Tag directive on an Nginx server Using meta robots tags in HTML code If you can edit the HTML of your page, simply add the meta robots tags directly to the <head> section of the page. If you want search engines not to index the page but to follow the links, use for example: <meta name="robots" content="noindex, follow" /> Using meta robots tags on WordPress If you use Yoast SEO, open the “advanced” tab in the block below the page editor.You can set the "noindex" directive by Last Review setting the "Allow search engines to show this page in search results?" to no or prevent links from being followed by setting "Should search engines follow links on this page?" on no . For any other directives, you will need to implement them in the "Meta robots advanced" field. yoast advanced If you're using RankMath, you can select the bot directives you want to apply directly from the Advanced tag in the meta box: Image courtesy of RankMath Using meta robots tags on Shopify.
https://lh7-us.googleusercontent.com/JR_Rhx_TNFWXT8-vu1plwucjST-JtdrxcMoUpqDdF9RkHt93JytQMLtXhzz4qK4z5uMrtme4LYGy8fZ-06smdH_23aozCjaYUM0Xsh3p3Jc03tCOq-52tu9SfM_t7fpc7CBgZSMvlvpXelrzNwBGTW8
If you need to implement robots meta tags on Shopify, you will need to do so by editing the <head> section of your theme.liquid layout file. To set the directives for a specific page, add the code below to this file: {% if handle contains 'page-name' %} <meta name="robots" content="noindex, follow"> {% endif %} This code will tell search engines not to index /page-name/ but to follow all links on the page. You will need to make separate entries to set the guidelines on different pages. Using the X-Robots-Tag directive on an Apache server To use the x-robots tag on an Apache web server, add the following.
頁:
[1]