Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.1k views
in Q2A Core by
I want to make the links "Login", "Register" and "Send Feedback'' as "nofollow" links. How can this be done? Thanks.

2 Answers

0 votes
by

Use an advanced HTML theme and override the nav_link(...) function - check based on $navtype which navigation menu it's within.

BTW, I don't think there's much value in doing this, since Google doesn't reassign the 'juice' from nofollow links to other links on the page - see this article.

by
Thanks GidGreen. Using nofollow would tell the bot not to get there (there are many variations to ?forgot etc. from different pages. In addition to blocking using robots.txt, a nofollow would make it cleaner. I agree about having no link juice advantage, though. Thanks again.
0 votes
by

I would suggest adding those pages to robots.txt instead to stop them showing in search results (also helps avoid the dupe content on login?to=some-page).

I have this in my robots.txt:

User-agent: *
Disallow: /pokebase/login
Disallow: /pokebase/forgot

by
Thanks buddy. Robots.txt has the stuff.
...