Canonical issue
-
Hi,
I’m having an issue with canonical URLs. Google console (Page indexing > Alternative page with proper canonical tag) shows a large number of pages with issues with my business directory.
Here is an example:
Actual (correct link)
https://www.[DOMAIN].com.au/directory-listing/automotive/panel-beater-painters/tru-blue-bodyshop/Canonical URL (incorrect link)
https://www.[DOMAIN].com.au/directory-listing/tru-blue-bodyshop/(The page is accessible from both URLs)
In WP Admin > Settings > Permalinks – Permalink structure is set to
Post name (https://www.[DOMAIN].com.au/sample-post/)In the Directories Pro plugin settings – Permalink structure is set to
https://www.[DOMAIN].com.au/directory-listing/%directory_category%/%slug%/Looking at the Yoast XML sitemap the link appears as it should (as per plugin settings)
https://www.[DOMAIN].com.au/directory-listing/automotive/panel-beater-painters/tru-blue-bodyshop/This issue affects approximately 5,000 pages on my site.
So, I have two questions:
- How can I bulk set the canonical to the correct URL?
- How can I stop the incorrect link being able to access the directory listing (or does just solving the first question negate the need to do anything)?
NOTE: This issue only applies to DIRECTORIES PRO Plugin pages. All other pages are showing the correct canonical link reference.
I look forward to your response.
Thanks
- This topic was modified 2 years, 10 months ago by .
- This topic was modified 2 years, 10 months ago by .
The page I need help with: [log in to see the link]
The topic ‘Canonical issue’ is closed to new replies.