Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm currently redirecting users to a login page when they try to hit their home page.

For example: http://www.goals.com/login.php?from=%2Fhome.php

Unfortunately, I'm also told that 302 redirection hurts SEO, and this type of redirection is showing up as a 302. Is this the correct HTTP status code for this type of redirection, or is there a better practice I should be following?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
272 views
Welcome To Ask or Share your Answers For Others

1 Answer

SEO doesn't matter if the homepage is password protected. Crawlers can't login to see the content, so your concern is moot.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...