• I have a page that I have now put in the draft because it has a satus error. I did the SEO adjustment in YOAST for no index, however, when I view the page through the Devtools tool, the page responds with status 200 I need to return status 404. How can I make this change every time I need it?
    I also have the cart (https://www.gabster.com.br/cart/) page, but it does not exist in the pane and is returning status 200.

    • This topic was modified 5 years, 11 months ago by tiicaa.
    • This topic was modified 5 years, 11 months ago by tiicaa.

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

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Both are returning 404 for me. Either you’ve since resolved this or the results you were seeing are a result of caching by your browser.

    Noindexing a published page would normally still return a 200 status. Noindex only tells search bots that you do not wish the page to be indexed. Otherwise it’s still a normal page. To completely hide a page from the public, change it to draft, private, or delete the page. Any requests will then 404, though it may take a while for caching to catch up.

Viewing 1 replies (of 1 total)
  • The topic ‘Return the status 404’ is closed to new replies.