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 6, 20242024-10-06T20:45:15+05:30 2024-10-06T20:45:15+05:30In: Wordpress

How do I disallow specific page from robots.txt

I am getting the Soft 404 error on Google Search Console which means when a URL returns a 200 (success) status code along with a page informing the user that the page does not exist. It means that it returns a user-friendly message Sorry, No Results found but not a 404 HTTP response code. This page is an error page based on its content, therefore Google Search Console will show a soft 404 error in the site’s page indexing report. These pages are not indexed or served on Google. Suppose, The page is https://example.com/?s={search_term_string} and I do not want the Google bot to even discover it when it crawls on website pages through a submitted sitemap. How can I disallow it in the robots.txt file so that the Google bot ignores it during the next crawl? Thanks

robots.txt
  • 0
  • 0
  • 11
  • 3
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • 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?
  • How Google interprets the default rules generated by Yoast plugin in the robots.txt file?
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-06T20:53:38+05:30Added an answer on October 6, 2024 at 8:53 pm

    You can edit your robots.txt file in WordPress by following the below steps:

    1. Install the FileSter plugin.
    2. Once the FileSter plugin is installed and the File Manager option is created in the WordPress dashboard menu. Click on it to open the FileSter plugin.
    3. This will show you the root folder files like .Htaccess, robots.txt, etc.
    4. Double-click the robots.txt file and open it with textarea.
    5. Now edit the robots.txt file and add the following code to the robots.txt file and save it:[Disallow: /?s=*]
      User-agent: *
      Disallow:/wp-admin/
      Disallow:/wp-includes/
      Disallow: /*?show
      Disallow: /*search?search
      Disallow: /?s=*
    6. Now, visit the Google Search console pages section, go to the soft 404 error, and start validation again. This time this page will be ignored.

    Hi, You can also refer to Google’s robot.txt file at any time to understand how this file works.

      • 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

    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
  • Admin

    How Google interprets the default rules generated by Yoast plugin ...

    • 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.