admin管理员组文章数量:1122832
I am on a fresh install of Wordpress on Ubuntu / LAMP, and noticed that none of my site's images are showing. I tried to install a theme (Sydney) and none of the images were showing up. I was able to fix this by manually installing the theme to the wp-content directory. You can see in the image below that all of the files being requested from wp-content are returning 404 errors. I tried uploading images, but they are returning a 404 error as well. I tried finding them in the wp-content/uploads folder but that folder didn't exist. As far as I can tell, the images just disappeared after I uploaded them. I am sure I configured something wrong, but I don't know what. How do I correctly configure the uploads folder so that my images show up? If anyone knows the solution to the problem of the themes not installing correctly, that would also be greatly appreciated.
Thanks
I am on a fresh install of Wordpress on Ubuntu / LAMP, and noticed that none of my site's images are showing. I tried to install a theme (Sydney) and none of the images were showing up. I was able to fix this by manually installing the theme to the wp-content directory. You can see in the image below that all of the files being requested from wp-content are returning 404 errors. I tried uploading images, but they are returning a 404 error as well. I tried finding them in the wp-content/uploads folder but that folder didn't exist. As far as I can tell, the images just disappeared after I uploaded them. I am sure I configured something wrong, but I don't know what. How do I correctly configure the uploads folder so that my images show up? If anyone knows the solution to the problem of the themes not installing correctly, that would also be greatly appreciated.
Thanks
Share Improve this question asked Jul 25, 2017 at 17:56 MatthewMatthew 1011 silver badge2 bronze badges1 Answer
Reset to default 0First, did you check your LAMP configuration ? Try to access a static HTML page with images, then a simple php script. If it's ok, then try to disable any plugin, mu-plugin and use a native wordpress them (such as twentyseventenn). You can also turn debug on in wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
to display php error in the UI. Perhaps it could help to find the issue.
本文标签: All files being pulled from wpcontent returning 404 error
版权声明:本文标题:All files being pulled from wp-content returning 404 error 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736288302a1928067.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论