Canonical URL of the attachment pages are not the URL of attachment pages.
-
Normally, every page in my site will be automatically set the canonical url to be each page itself. But with the attachment page it is not, the canonical url of the attachment page is the url of the image file.
1. How to set the canonical url of the attachment page to be the attachment page url itelf by without having to go through each media file to manually to input the canonical URL of the attachment page. I have around 3,700 attachemnt pages to do. Doing manually is impossible.
2. Even the current existing canonical url is pointing to the image file, how come the attachemnt pages still rank in google. As far as i understand, if the canonical url is pointing to different page, then the page with canonical pointing out should not be indexed in google search result
Thanks
MetheeThe page I need help with: [log in to see the link]
- The topic ‘Canonical URL of the attachment pages are not the URL of attachment pages.’ is closed to new replies.