I'm working with Lay theme on a new website for a client. When I upload photos and add them to a page they don't appear on the page when loaded. The photos upload to the media library without any problem, and appear in the gridder and update OK – but do not load when refreshing the web page.
I’ve checked the browser console, which gives a 404 error message. I’ve noticed on the file path the ‘wp’ prefix is removed for some reason?
So instead of the file path being: https://nataliebradbury.co.uk/wp-content/uploads/NB_Home_01.jpg – as it should be.
It shows as being: https://nataliebradbury.co.uk/-content/uploads/NB_Home_01.jpg – in the console, the wp is not showing, hence the error message.
I've contacted the client‘s web host to investigate this further, as I thought it might be something at their end, but they say it's the theme that’s removing the ‘wp’ prefix, hence the error?
When in the media library the ‘wp’ prefix appears in the file path for images.
I've attached a screenshot with the browser console errors for you to see.
Any thoughts on this would be appreciated – thank you.