Hi,
I have extra Attachment Pages for my images like:
The Permalinks of these pages are very long. It uses the Permalink of the post + /attachment/ + Title of the photo
Is is possible to shorten the permalink of the Attachment Pages with this structure:
https://one-million-places.com/bilder/category/picture-title
So for the 2 Attachment Pages above it should be:
https://one-million-places.com/bilder/mauritius/kirche-cap-malheureux-06
https://one-million-places.com/bilder/luxemburg/luxemburg-kirchberg-01
Is it possible to add a function for this to my X Child Theme?
Michael