Dumb SEO Questions

(Entry was posted by Adì Dee on this post in the Dumb SEO Questions community on Facebook, 02/24/2022).

Indexed, though blocked by robots.txt

Hello everyone! I have a search option of my companies` site. As the url ".../search" is a 404 (unless you made a search), I blocked it from being indexed. But because the form on all site does lead to this page, it is visible by google, and I got a google search console error: "Indexed, though blocked by robots.txt". What is the solution in this case?
This question begins at 00:22:33 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:22:33
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions Facebook & G+ community.

  • Christine Hansen: A 404 code is a page that does not exist. You need to do a redirection, OR make the page, OR correct the link. Btw - Have you made your must-have standard 404-page that pops up when such errors occur? You could include 3-4 links to your best-performing pages on your 404-page. Look up "404 design" to see how others have designed their 404 pages. In your HTAccess file, you tell the server to load your 404 page every time the error occurs - that is being service-minded. Please remove your blocking of the page (that does not exist).

    2d
  • Dario Ferreira: Remove the 404Add a canonical tag to the page, so Google and co. only "see" one page.e.g.:

    No issue with having one search page indexed.

    2d
  • Michael Martinez: This isn`t a problem requiring a solution. Google is simply telling you it knows about the URL but won`t crawl it.

    2d
  • Adì Dee: Thanks for answering ! wasn`t sure if it`s an issue or not. The other people just explained a web developer how to design a page and add a canonical tag

    2d

View original question in the Dumb SEO Questions community on Facebook, 02/24/2022).