PressPi (Wordpress) Broken Layout
We have a Raspberry Pi running PressPi which is a wordpress server. Our goal is to setup a Captive Portal using dnsmasq where users who connect to the Pi using a USB WiFi adapter see the PressPi home page when they attempt to surf the web. /etc/networks/interfaces
(Rasbian) has been configured with a static IP address and correctly leases an IP address to clients. When these clients navigate to the PressPi server using the Pi's IP address, they see a broken layout whereas connecting to the Pi at http://localhost/
using the Pi's desktop renders the PressPi home page correctly.
Tried and failed:
- I'm not familiar with Nginx and thinking it could be an issue with its configuration, I installed and configured Apache2 but this didn't fix the issue.
- Confirmed that the entire directory including its content is owned by
www-data
and tried different permissions (775
,755
,777
), all to no avail. - Setup a fairly complex HTML site and that rendered properly over the network.
- Viewed all associated log files and there was no information related to my current problem. And that was expected since there were no errors.
- Manually updated
WordPress Address (URL)
andSite Address (URL)
to the Pi's static address (http://192.168.1.185
) by defining them in thewp-config.php
file and confirmed the change from the Admin CP.
I can't think of any reason why I get a broken display over the network, but not on the Pi's desktop. I appreciate any suggestions.
UPDATE This is a Wordpress problem. I suspect something to do with a path update as other applications render properly over the network.