• Resolved asyxreds

    (@asyxreds)


    I use Independent Plugin on my WordPress website since a few days. All seems OK.

    QUESTION
    I see that this URL is accessible on my website:
    https://www.equilibre-formation.ch/wp-json/iawp/search

    THE PAGE SAYS
    code: “rest_no_route”
    status: 404

    Google Search Console seems not happy with this page.

    1. Can someone explain to me what this page is for?
    2. Should I redirect it to my website root URL?
    3. Or should I leave it to be? But why this error 404 status?

    Thank you for your help.

    Asyx

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi Asyx,

    Thanks for getting in touch about this.

    That is the REST API endpoint that Independent Analytics uses to record views. For instance, you can see it here recording my view of the homepage: https://d.pr/i/9MQJ1h

    I’ve never seen a REST API URL get picked up by GSC. It is clearly not a page that should be crawled and indexed, so it shouldn’t be creating any kind of errors. In GSC, can you mark it as fixed or verify it as a non-issue?

    Thread Starter asyxreds

    (@asyxreds)

    Thank you for your feedback. I’m not sure I have enough experience yet to understand the problem (if there is any problem). Google Search Console said this:

    Page is not indexed: Not found (404)
    https://drive.google.com/file/d/1H8Q8NEnXa7lrwjct2RPUTWjRkyQAiVEz/view?usp=sharing

    Maybe it’s nothing, but GSC seemed not happy because of this error 404.

    Plugin Author Ben Sibley

    (@bensibley)

    I did some more research on this, and it’s a non-issue. I was surprised that Google is finding this URL at all since it is only in the Javascript, but the 404 error code is the correct response. There’s no need to exclude the REST API from crawling or make any changes (this is the robots.txt Yoast recommends).

    Thread Starter asyxreds

    (@asyxreds)

    Thank you for taking the time to look into my request.
    I’ll continue to monitor it, and get back to you if needed.

    Best regards,

    Asyx

    Hi Ben,

    I’m coming back to you regarding this 404 problem. I have the same problem coming up in the GSC:
    <u>/wp-json/iawp/search</u>
    status: 404

    A 404 is not a good signal. Have you had any other feedback??
    Thank you for your feedback.
    éric

    Plugin Author Ben Sibley

    (@bensibley)

    Hi éric,

    A 404 error is the correct response for that URL because there is not a page found at that URL. It is a REST API endpoint that it is only accessed via a REST API request made internally from your own website. Google is finding the URL in the Javascript snippet and choosing to crawl it, but there are not any links to this page anywhere on the site. They probably shouldn’t be reporting it like it’s an issue when they’re basically taking a guess on that URL in the first place.

    Thanks a lot, Ben.

    Hi there,

    Same problem. Error 404 in the GSC.

    So we leave it like this Ben ? No redirection isnt it ?

    Plugin Author Ben Sibley

    (@bensibley)

    Yes, no need to change anything. 404 is the correct response for that URL, and Google is choosing to crawl a URL that is not part of a link, but rather, found within Javascript on the site. It’s not something they should be reporting as an issue.

    Great ! Thank a lot

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.