-
Hello,
It looks like RankMath uses the sites. “site_url” settings to generate the canonical URL.
We run our website on a cloudflare reverse proxy so the site_url is set to “/blog”This makes our canonical be generated as (unknown) on the front end.
I would like to set the domain name manually using hooks/filters or any other way.
Can you tell us how this can be done and if there’s an example snippet for this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The ticket ‘Setting the canonical domain using hooks and filters.’ is closed to new replies.