Permalinks on all sites’ media have changed to the file path
-
I don’t know what to do. I have put the whole network into safe mode, switched themes and switched off all the plugins. My code on dev appears to match prod, the config files seem the same, and yet on dev, when I go to edit an attachment, the permalink shows a link to the attachment URL. On prod, the permalink shows the path to the file itself.
This is a problem because my templates are meant to have links to attachment pages, and now they don’t work because get_permalink() is returning the URL of the file and not the attachment. What could have happened here? I have even disabled mu-plugins. I’ve done everything I can think of.
You must be logged in to reply to this topic.