you should no use nofollow, you should use noindex for internal links that you dont want to be indexed.
https://searchengineland.com/googles-matt-cutts-nofollow-attributes-on-internal-links-dont-hurt-but-dont-do-it-173128
even you dont need to do noindex as well because google will exclude login?* and register?* links as contents are exactly same.
but if you still want to do it go to your qa-theme-base.php find public function head_metas().
under it put this
$to = qa_get('to'); if( ($this->template === 'login' || $this->template === 'register') && isset($to) ) { $this->output('<meta name="robots" content="noindex, nofollow" />'); } else { $this->output('<meta name="robots" content="index, follow" />'); }
$to = qa_get('to');
if( ($this->template === 'login' || $this->template === 'register') && isset($to) ) {
$this->output('<meta name="robots" content="noindex, nofollow" />');
} else {
$this->output('<meta name="robots" content="index, follow" />');
}
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.