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!
Code not displaying? Grab it from Github.
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.
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.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.