Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
220 views
in Themes by

Hi,

I am using SnowFlat theme. For guest user whenever they access any question, they get following at the bottom of the page:

Please log in or register to answer this question.

But the login and register links are not "nofollow" and due to this Google is indexing all login link for all post. How can I make it nofollow for SnowFlat theme?

Thanks,

Kailash

Q2A version: 1.7.1

1 Answer

+1 vote
by
selected by
 
Best answer

The easiest way is to use robots.txt. If you don't already have one make that file in your site root, and add

User-agent: *
Disallow: /login
Disallow: /register

(Remove the blank lines between them, I'm posting this on mobile and can't do it here.)

by
Thanks! As of now I have blocked it via robots.txt.
...