-
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/BitcoinWhat 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” />***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 /spanI hope someone can help me.
Thank you very much.
The ticket ‘How to remove string in canonical?’ is closed to new replies.