Redirect Attachments does not work as expected
-
Hi
I uploaded images to wordpress. then I used the images in product page so used them in the product gallery. for instance I have an image like this with the URL:
https://lelika.se/wp-content/uploads/2025/02/Photo_lelika-scaled.webp
and the product page is: https://lelika.se/klassiskt-smyckeskrin-i-vit/
I activated redirect attachment to the post they appear in but it does not work and still clicking on the image URL ends up in a single image page.
I added seevral PHP codes but they all failed the redirection. In every change I made sure that I empty the cache, save resave the permalink, checked the htaccess and there is no other redirect rules but still this is not working. Is there a solution to fix it or it is the normal behavior?
Kind RegardsPym
The page I need help with: [log in to see the link]
The topic ‘Redirect Attachments does not work as expected’ is closed to new replies.