• Resolved mcleare1

    (@mcleare1)


    Hi, I’m trying to nofollow woocommerce block links by class.

    Is it possible for “wc-block-grid__product-link”?

    It’s an internal link so I’m trying to nofollow without affecting other internal links.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry but we don’t have an option for that 🙁
    I will add it to our ToDo list, but in the meantime the closest thing is “Include external links by URL:” under the Exceptions tab. But you will have to add all the URLs that you want to be marked as external.

    Thread Starter mcleare1

    (@mcleare1)

    Thanks, it was a bit head wrecking 🙂 but I eventually found a way of doing it.

    I’m using the rankmath plugin so all the classes are “rank-math-link”. I was able to exclude this in exceptions and mark all other internal links as nofollow and set excluded links as follow.

    Classes like wc-block-grid__product-link don’t fall under rank math so it works OK in this situation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nofollow Links by Class’ is closed to new replies.