1

I have an Ecommerce website, and there will be a customer profile page which is password protected. As it is protected, I assume crawler will be getting a 302 to an unprotected route(e.g. /) when visit that page, so it will not be meaningfully crawled.

In this case should I noindex the page or disallow crawler from crawling it completely? What is the best practise for SEO for password protected pages?

1 Answer 1

2

Some suggestions

  • You should use a noindex on the profile pages.
  • If you are able to, then don't have a link to these pages on your site. You can do this in the backend by removing the link if the user is not logged in.
  • Otherwise set a nofollow on the pages with the links.
  • And a 302 is the right code to return.
2
  • I have a link for the user to click on to navigate to this profile page. Should I set rel="nofollow" for the <a> tag? Commented Jul 5, 2023 at 22:02
  • Yes. And be aware that adding "noindex" to the content of page that the bot can't see won't be much help - it needs to be in the header.
    – symcbean
    Commented Jul 12, 2023 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.