May 1, 2020 at 2:10 pm #1208834
I cannot get the option to Redirect Attachment URLs to the attachment itself in Enfold. I mean images uploaded unique URL should be shown as:
domain.com/image-example.jpg but also Attachment URLs are created as domain.com/image-example/
May 2, 2020 at 7:40 am #1209056
- This topic was modified 8 months, 1 week ago by seomar.
I’m not sure I understand your question, could you try to explain a bit further please? There are no automatic redirects by default in the theme.
RikardMay 2, 2020 at 5:28 pm #1209115
If I uploaded an image “image-example-media.jpg” the unique should be URL but in this case an automatic & empty
permanent link URL for the image is generated like:
For quality content SEO-related purposes and duplicated URL should be online just the image and not the automatic URL image generated.
Is there a way just to show the images as image-example-media.jpg and not the associated permanent link URL images?
DavidMay 6, 2020 at 6:48 pm #1210417
Please have a look at this article:
If you need further assistance please let us know.
VictoriaMay 6, 2020 at 7:21 pm #1210437
Many thanks Victoria, you guys are so kind.
Where is the image.php file which rules de attachment logic withing Enfold template? can’t find it.
DaveMay 8, 2020 at 6:17 pm #1211115
Enfold does not have the image.php file but you can create it in the child theme and add that line of code there.
VictoriaMay 8, 2020 at 6:24 pm #1211119
Will it work, creating in the child theme a file called image.php which doesn’t exist in the parent theme?
Is there other way to add that code line to functions.php or a similar way?
Many thanks again!
DavidMay 9, 2020 at 5:24 pm #1211438
Well, you can have a look at the solutions here too:
VictoriaMay 9, 2020 at 8:12 pm #1211490May 10, 2020 at 7:00 am #1211593
You must be logged in to reply to this topic.