I've just installed Wordpress 3.5 on my laptop (LAMP on Ubuntu 12.10) and when I'm trying to access the site from my phone but it doesn't load static files (css and images). I tried with Opera Mobile Emulator on my laptop and it works perfectly. I also have another Drupal site on my localhost which I can load from my phone without any issues. Both directories have chmod 777 permissions. What can cause that? Just tried to open the site from my sister's laptop but it except static file I can't access any post or page.
|
It was from the Wodpress Settings, it uses localhost for the site address which is not accessible over the home network so I changed with my laptop's IP (in the home network) from Settings -> General Change WordPress Address (URL) and Site Address (URL) from : localhost/wordpress to my.laptop.ip/wordpress and everything works just fine |
|||||
|
|
Make sure that your CSS files are called in respect to what they are being viewed from - what I mean by that is that your CSS/images are correctly linked to via the html. For example, for my website I use
You may have something like |
|||
|
It'll be the lamp that your using is not forwarding the information to the outside. You say you have Drupal running and its working fine, yet is this on another lamp? In Ubuntu Lamp check your IPtables and check it has internet access, Ping Google.co.uk for example. |
|||
|
|
