WordPress themes won't load

John W

Basic Pleskian
My WordPress installs aren't loading themes at all. These two test sites are on the same VM, shared IP, behind a proxy server.
http://eristest1.partners.org/ <== manual installation via the terminal
http://eristest2.partners.org/ <== installed via Plesk

Interesting find is that when I request an image, even though the log file shows status 200 (OK), it shows error 404 on the browser. The file is definitely there, and it displays fine when I copy it to another computer.
http://eristest2.partners.org/wp-content/themes/twentythirteen/screenshot.png

Access/error logs aren't showing any errors. Plesk login for user/admin both work well.

Please advise!

Thanks,
John
 
Hi John Weng,

both mentioned sites are loading, but you seem to forget, that wordpress needs additional rewrite rules, when using nginx ( or any other proxy ).

Code:
http://eristest1.partners.org/wp-content/themes/twentyfifteen/genericons/genericons.css?ver=3.2 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:39.948 http://eristest1.partners.org/wp-content/themes/twentyfifteen/style.css?ver=4.3 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:39.948 http://eristest1.partners.org/wp-includes/js/jquery/jquery.js?ver=1.11.3 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:39.948 http://eristest1.partners.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:40.099 http://eristest1.partners.org/wp-content/themes/twentyfifteen/js/functions.js?ver=20150330 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:40.354 http://eristest1.partners.org/wp-includes/js/wp-emoji-release.min.js?ver=4.3 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:05:46.991 http://eristest1.partners.org/wp-content/themes/twentyfifteen/genericons/genericons.css?ver=3.2 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:05:46.998 http://eristest1.partners.org/wp-content/themes/twentyfifteen/style.css?ver=4.3 Failed to load resource: the server responded with a status of 404 (Not Found)

Code:
http://eristest2.partners.org/wp-content/themes/twentythirteen/genericons/genericons.css?ver=3.03 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.487 http://eristest2.partners.org/wp-content/themes/twentythirteen/style.css?ver=2013-07-18 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.487 http://eristest2.partners.org/wp-includes/js/jquery/jquery.js?ver=1.11.3 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.703 http://eristest2.partners.org/wp-content/themes/twentythirteen/js/functions.js?ver=20150330 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.703 http://eristest2.partners.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.722 http://eristest2.partners.org/wp-includes/js/wp-emoji-release.min.js?ver=4.3 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:43.933 http://eristest2.partners.org/wp-content/themes/twentythirteen/js/functions.js?ver=20150330 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:03:44.146 http://eristest2.partners.org/wp-content/themes/twentythirteen/images/headers/circle.png Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:07:12.779 http://eristest2.partners.org/wp-content/themes/twentythirteen/genericons/genericons.css?ver=3.03 Failed to load resource: the server responded with a status of 404 (Not Found)
2015-09-11 16:07:12.823 http://eristest2.partners.org/wp-content/themes/twentythirteen/style.css?ver=2013-07-18 Failed to load resource: the server responded with a status of 404 (Not Found)

Please see the wordpress documentation for further informations, when using nginx, or use the Google search, as for example: site:wordpress.org "wordpress" "nginx"
 
Thanks UFHH01 and IgorG. It was indeed the external proxy server/WordPress combo. Instead of having to manually modify proxy rules for each site, we've decided to remove the proxy server from the equation and use a direct public IP instead. So far so good.
 
Back
Top