How to remove string in canonical?

#4697
  • Resolved Viralalert
    Rank Math free

    I have tried adding shortcodes in the canonical url under SEO meta. It works but some html elements were included.

    QUESTIONS:
    What did I put in the canonical field?
    Ans. `https://domain.com/market/[cmc-coin-name type=”symbol”]/[cmc-coin-name type=”name”]

    What should it looks like? –The way I want to
    Ans. `https://domain.com/market/BTC/Bitcoin

    What is the output after placing shortcode?
    Ans. `<link rel=”canonical” href=”https://domain.com/market/span%20class=cmc-coin-symbolBTC/span/span%20class=cmc-coin-nameBitcoin/span&#8221; />

    ***The output text “BTC” and “Bitcoin” are correct. However, there are html elements that were included that I want to remove.

    PROBLEMS:
    What I want to remove?
    1. `span%20class=cmc-coin-symbol /span
    2. `span%20class=cmc-coin-name /span

    I hope someone can help me.

    Thank you very much.

    • This topic was modified 5 years, 7 months ago by Viralalert.
    • This topic was modified 5 years, 7 months ago by Viralalert.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Todd
    Rank Math free

    Hello,,

    Thank you for getting in touch.

    Unfortunately, we do not support shortcodes in the canonical tags or the URL. Sorry.

    Not to say it can’t be done but it is outside the level of support/customization we provide. Sorry.

    If you need help with anything else, please do not hesitate to ask.

    Who to contact if I want customization? I am willing to pay. I don’t want to use Yoast SEO coz I really love Rank Math SEO as it is compatible with my wpreview pro.

    Todd
    Rank Math free

    Hello,

    Please email us on s******@r*********** and we will see what we can do about that.

    Thank you.

    I have sent you an email. I hope you can act as fast as possible. Thank you.

    Hi there,

    Thanks for the follow up.

    Someone from our team will be reaching out in short while to discuss this.

    Feel free to contact us if you have additional questions or suggestions.

    Thank you.

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

The ticket ‘How to remove string in canonical?’ is closed to new replies.