I want to make sure when a user accesses images via Google:
That they are automatically and force redirected to parent posts:
I'm using Yoast and have 'redirect attachment URLs to parent post URLs' but that's not working.
Any ideas? Thks!
Hi Brad, strange. Doesn't seem to work. Thanks regardless.
There's also a link in that code to 4 other ways to redirect image attachment url's to the post.
Brad Dalton has written 1000 + Genesis tutorials & 4000+ Code Snippets .
Tried these options. Regardless, the below image File URLs are still accessible (i.e. in Google Image Search by clicking 'View Original Image'.
Have had Yoast activated a long time, yet that hasn't work either. Can't see any plugin conflicts. Any idea why the above URLs are still displayed?
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!