XF 2.0 SEO, how to desactivate quotes links.

tymillzz

Member
Hello all :)

Sorry for my poor English.

I have a lot of google cover errors with my index. I have quotes pages that are referenced problems.

How to put them in nofollow no index?

Thank you so much for your help
 
Hello,

You mean this link?
191444



Template: bb_code_tag_quote

find:
Code:
<a href="{{ link('goto/' . {$source.type}, null, {'id': $source.id}) }}"
                    class="bbCodeBlock-sourceJump"
                    data-xf-click="attribution"
                    data-content-selector="#{$source.type}-{$source.id}">{{ phrase('x_said:', {'name': $name}) }}</a>

replace with this:
Code:
<a href="{{ link('goto/' . {$source.type}, null, {'id': $source.id}) }}"
                    class="bbCodeBlock-sourceJump"
                    rel="noindex"
                    data-xf-click="attribution"
                    data-content-selector="#{$source.type}-{$source.id}">{{ phrase('x_said:', {'name': $name}) }}</a>


as you can see the link now has the rel attribute "noindex". Once they have been removed from the G index (takes a while), I would also lock it via robots.txt.
 
Back
Top Bottom