Sorry, you do not have permission to ask a question, You must login to ask a question.

Sorry, you do not have permission to ask a question.

brainchime.com

brainchime.com

brainchime.com Navigation

  • Home
  • About Us
  • Contact Us

Mobile menu

Close
  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

brainchime.com Latest Questions

Admin
Admin
Asked: October 5, 20242024-10-05T17:18:54+05:30 2024-10-05T17:18:54+05:30In: SEO

How Google interprets the default rules generated by Yoast plugin in the robots.txt file?

Suppose, here are the default rules generated by the Yoast plugin installed on the WordPress site for the robots.txt file located in the root directory https://example.com/robots.txt

# START YOAST BLOCK
# ---------------------------
User-agent: *
Disallow:

Sitemap: https://example.com/sitemap_index.xml

# ---------------------------
# END YOAST BLOCK

and here are the robots meta tags ?robots=1 generated by Yoast for individual pages on the site: https://example.com/?robots=1.

# START YOAST BLOCK
# ---------------------------
User-agent: *
Disallow: /?s=
Disallow: /page/*/?s=
Disallow: /search/
Disallow: /wp-json/
Disallow: /?rest_route=

Sitemap: https://example.com/sitemap_index.xml
# ---------------------------
# END YOAST BLOCK

What is the meaning of these rules for robots.txt and robots meta tag ?robots=1 generated by the Yoast SEO plugin on a WordPress site.

robots.txtyoast
  • 0
  • 0
  • 11
  • 12
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • How do I disallow specific page from robots.txt
  • how can i do seo using Yoast Premium for Q&A website
  • Should I no index category and tag pages wordpress?
  • Robots.txt file not getting updated in WordPress site using Advanced Crawl optimization setting in Yoast premium
  • what is the difference between the two files ?robots=1 and robots.txt?
Leave an answer

Leave an answer
Cancel reply

Browse
Browse

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Admin
    Admin
    2024-10-05T17:30:43+05:30Added an answer on October 5, 2024 at 5:30 pm

    This is the default output generated by the Yoast SEO plugin is installed on the WordPress site which is a standard rule for indexing a complete site.

    # START YOAST BLOCK
    # ---------------------------
    User-agent: *
    Disallow:
    
    Sitemap: https://example.com/sitemap_index.xml
    
    # ---------------------------
    # END YOAST BLOCK

    Lines 1, 2, and 8,9: Comments
    Line 3: User-agent: * The rules apply to all web crawlers, such as Googlebot, Bingbot, DuckDuckbot, Slurp, Yandexbot, Baiduspider, etc.
    Line 4: Disallow: As we can see, nothing is specified after the Disallow specification, meaning no pages are blocked from being crawled by the web crawler. They can crawl the complete site.
    Line 6: Sitemap: https://example.com/sitemap_index.xml This is the sitemap location of your WordPress site which search engine refers to index the web pages on your site.

    Here is the explanation of the meta robots tag ?robots=1 rules generated by the Yoast plugin for individual website pages.

    # START YOAST BLOCK
    # ---------------------------
    User-agent: *
    Disallow: /?s=
    Disallow: /page/*/?s=
    Disallow: /search/
    Disallow: /wp-json/
    Disallow: /?rest_route=
    
    Sitemap: https://example.com/sitemap_index.xml
    # ---------------------------
    # END YOAST BLOCK

    Lines 1, 2, and 11,12: Comments
    Line 3: User-agent: * means the rules apply to all web crawlers.
    Line 4: Disallow: /?s= This rule does not allow the web crawlers to crawl internal website search result pages starting with the/?s= query parameter.
    Line 5: Disallow: /page/*/?s= This rule does not allow the web crawlers to crawl paginated search result pages starting with /page/*/?s= query parameter.
    Line 6: Disallow: /search/ This rule does not allow the web crawlers to crawl alternative search result pages starting with /search/ query parameter.
    Line 7: Disallow: /wp-json/ This rule does not allow the web crawlers to crawl WordPress REST API at /wp-json/.
    Line 8: Disallow: /?rest_route= This rule does not allow the web crawlers to crawl the routes that are part of the REST API.
    Line 10: Sitemap: https://example.com/sitemap_index.xml This is the sitemap location of your WordPress site which search engine refers to index the web pages on your site.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Statistics

  • Questions 143
  • Answers 177
  • Comments 0
  • Popular
  • Answers
  • Admin

    Why do we use OVERLAY keyword in data structure subfields ...

    • 12 Answers
  • Admin

    How to call sql stored procedure with output parameter from ...

    • 6 Answers
  • Admin

    How to use declare global temporary table statement in RPGLE?

    • 5 Answers
  • Admin
    Admin added an answer CPF4131 is a record format level check error. This indicates… October 18, 2024 at 1:58 am
  • Admin
    Admin added an answer To open the command prompt with administrator rights you can… October 17, 2024 at 12:27 am
  • Admin
    Admin added an answer In AS400, "AS" stands for Application system. This article discusses… October 13, 2024 at 12:49 pm

Related Questions

  • Admin

    How do I disallow specific page from robots.txt

    • 1 Answer
  • Admin

    how can i do seo using Yoast Premium for Q&A ...

    • 1 Answer
  • Admin

    Should I no index category and tag pages wordpress?

    • 0 Answers
  • Admin

    Robots.txt file not getting updated in WordPress site using Advanced ...

    • 1 Answer
  • Admin

    what is the difference between the two files ?robots=1 and ...

    • 1 Answer

Trending Tags

.htaccess (1) as400 (123) bing-webmaster (2) control-language (12) db2 (33) ftp (8) google-adsense (1) google-search-console (3) https-redirect (1) iasp (4) ifs (22) jar (4) operations (3) php-my-admin (1) qshell (3) robots.txt (4) rpg (26) stored-procedure (3) stroed procedure (1) triggers (1) yoast (4)

Explore

  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

Footer

BrainChime

BrainChime is a blog that posts question-and-answer-based format articles on diverse topics and engages in discussions by allowing people to provide answers/comments without the need to register and log in.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • FAQs
  • Categories
  • Tags

© 2024 BrainChime. All Rights Reserved
by BrainChime.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.