1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Add nofollow to some links

Discussion in 'XenForo Questions and Support' started by clubpromos, Jun 8, 2015.

  1. clubpromos

    clubpromos Active Member

    Hi,

    I'd like to add rel='nofollow' to some link such as: ?order=reply_count, ?order=view_count and ?direction=asc.
    What would be the best way to do this?
     
  2. Mike

    Mike XenForo Developer Staff Member

    You generally need to identify the template in question and change the HTML. Here, it's going to be forum_view or thread_list.
     
  3. Kintaro

    Kintaro Well-Known Member

    I need to add nofollow to profile link like the one beside the postdate.
    I found in the "post" template this line:

    Code:
    <span class="authorEnd"><xen:username user="$post" class="author" />,</span>
    where I can add the rel="nofollow" to that link?
     
  4. Kintaro

    Kintaro Well-Known Member

    done!

    HTML:
    <span class="authorEnd"><xen:username user="$post" class="author" rel="nofollow"/>,</span>
     

Share This Page