2
  • <a href="http://example.com/wordpress/wishlist" rel="nofollow"></a> or
  • <a href="http://example.com/wordpress/wishlist" rel="nofollow">

I want to nofollow all the links to http://example.com/wordpress/wishlist. So I want to put the above code into header.php. Is that correct?

  • Are you using WordPress ? – Nandla Dec 28 '18 at 17:33
  • Yes, I am using WordPress. Is that correct? – DAYE Dec 30 '18 at 5:28
1

I want to nofollow all the links to http://example.com/wordpress/wishlist. So I want to put the above code into header.php. Is that correct?

  • NO, if you're trying to put this into header if all links from your website does not have this link. (Even though you get a nofollow, you're just trying to show an irrelevant link)
  • YES, If every single page of your website contains this URL from your header, yes, putting the code below in header.php will help you:

<a href="http://example.com/wordpress/wishlist" rel="nofollow"></a>

or

<a href="http://example.com/wordpress/wishlist" rel="nofollow">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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