Trailing slash in canonical when the blog is in a subdirectory
-
I have a problem with the canonical URL for the home page when the site is in a subdirectory.
My homepage is
https://example.com/blog/
But the canonical URL is https://example.com/blog (not https://example.com/blog/)I have made a temporary fix by modifying the function generateCanonical of the class SQ_Models_Services_Canonical. I realise that changing the code of the plugin is not the best way to fix this.
There is another way to fix this?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trailing slash in canonical when the blog is in a subdirectory’ is closed to new replies.