Redirect from attachment to parent page with hach
-
Hi, Yoast!
I’m very happy to use your plugin for huge things on my site.
Thank you very much!But i have some problem with redirect from attachment page to the parent post page (or item card).
I have used your Yoast SEO: Search index purge plugin to avoid duplicates.
But i recieved huge attachment pages in sitemap.
So i switched off the site map wich was made by Yoast (not only by this reason) and do sitemap now with new other plugin.
Anyway, now
1. Yoast SEO: Search index purge is deactivated. I want to try with using extra code in functions.php in child theme.
2. No redirect rules about attachment pages in my htaccess.But
1. attachments still redirects to the parent pages. Why?
2. Attachment pages has hash in the end Final link (item page or other parent page) has hash in the end too. for examplehttps://u-star.cz/produkt/converse-boty-star-player-ox-athletic-navy/#main
Examples of attacjment pages:
https://u-star.cz/?attachment_id=48784#main
https://u-star.cz/?attachment_id=48741#main
https://u-star.cz/?attachment_id=48689#main
https://u-star.cz/?attachment_id=48663#main
https://u-star.cz/?attachment_id=48665#main
https://u-star.cz/?attachment_id=48742#main
https://u-star.cz/?attachment_id=48706#main
https://u-star.cz/?attachment_id=48662#mainHow to delete #main from endpoint links?
Regards, Sergey.
The page I need help with: [log in to see the link]
- The topic ‘Redirect from attachment to parent page with hach’ is closed to new replies.