i use this code to show posts of wp

<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>

but all link are nofollow. why they are nofollow wen there is nofollow rel? how to make tem follow?

  • 1
    Since you have coded the full HTML for the link, the only possible reason this link could become nofollow is if you have a script from a theme or plugin that is adding it. There's not enough information available to say any more than that. Try disabling plugins until the issue is resolved. Then you know the culprit and can either deactivate it or contact the author for a fix. Dec 18, 2019 at 4:29

1 Answer 1


simply add this

<a href="<?php the_permalink() ?>" rel="follow"><?php the_title(); ?></a>
  • is there rel="follow" tag in html? i don think so. it doesnt work. still they are nofollow
    – adam sk
    Dec 19, 2019 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.