How can i remove rel=”noreferrer”

#217318
  • Hello Rankmath support team . i am facing some problam
    when I am not using Rank Math SEO Plugins then show my inspect eliminate is
    https://www.exmple.com/
    and when I am active my Rank Math SEO Plugins then show my inspect eliminate is
    https://www.savitrading.com
    automatic add new line ( rel=”noopener” ) how can I remove this ( rel=”noopener” )
    I need normaly https://www.exmple.com/ this tipe of hyperlink
    in my sits with out deactive Rank Math SEO Plugins.
    thanks rankmath support team

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    You can add this filter to your site to remove the rel=”noopener” to your external links:

    /**
     * Filter code to remove noopener rel from external links.
     */
    add_filter( 'rank_math/noopener', '__return_false');

    And here’s a link on how to add a filter:
    https://rankmath.com/kb/filters-hooks-api-developer/

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Love You Rankmath support team and Especially Reinelle

    Hello,

    We are glad we addressed your concern. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Sarah
    business

    Hi there, this subject is remove noreferrer but has code for noopener, what is the code for removing noreferrer? Thanks

    Hello,

    The filter is for noopener as Rank Math only adds the rel="noopener" to your external links. The noreferrer is added by WordPress when you set your links to open in a new tab.

    Here’s a screencast for your reference:
    https://i.rankmath.com/Cnk3HV

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.