After performing an SEO Audit on my client’s website I found out that several images have a double slash in their URLs. This seems to be happening just to media files, and the double slash is appearing this way: “/uploads//”.
Here’s an example:
– https://akmicorp.com/wp-content/uploads//2018/10/heavy-duty-truck-mountain-1024×682.jpeg
How can I fix this?
Notes:
I have checked the wp-config.php file and the htaccess file and there is no define( lines related
I have checked the WordPress Media Settings and the Full URL path to files option is properly configured (https://akmicorp.com/wp-content/uploads)
Warm Regards,
Leandro
post_content
then it's just written that way. No setting will change it. You'll need to do a search-replace on the database to fix it.