seo - In Django, disable @login_required for search engine spiders -


i'm looking clean way let search engine spiders bypass @login_required, viewing pages typically require logged-in user. write middleware automatically log search engines dummy account, that's not i'd call clean. suggestions better solution? thanks.

don't this. 'cloaking', , can banned google's index.

cloaking refers practice of presenting different content or urls users , search engines. serving different results based on user agent may cause site perceived deceptive , removed google index.

instead, need implement google's first click free solution. in setup, first click google search result able see full content, subsequent clicks trapped. can done on referrer basis, or cookie basis. can read more first click free here:


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -