WordPress.org

Support

Support » Installation » How to make visible wordpress installed locally?

How to make visible wordpress installed locally?

  • Hi All. I need some help. I have installed wordpress on my notebook. Using mysql, php-cgi, nginx server, all running locally. And all working fine if connect to site from my notebook. But if I tried from another computer on local network it loses css style. Here some code from page: <link rel=”stylesheet” type=”text/css” media=”all” href=”http://localhost/wp-content/themes/twentyeleven/style.css” />
    Is there a way to make site work properly?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Change the url settings to your computers IP in your network from localhost… to something like 192.168.0.24 and open your localwordpress not through http://localhost/wordpress/ better way: http://192.168.0.24/wordpress/ because of localhost is everytime the computer in your front 😉

    Hi egado! Where do I need to change that URL settings exactly? I have windows 7 on a notebook and other computers on the LAN. Notebook running a site has a fixed address on the LAN 192.168.0.11. If you see a site with the same notebook, all is well. If you see a site with another computer on LAN by typing http://192.168.0.11 in browser, the site is displayed without css style.

    Just login the wordpress on localhost and go to settings>general settings and change the site address and wordpress address just replace localhost with the ip.

    Yeah, thats it.

    when you change localhost to ip address is there any security issue with on computer just curious.

    Oh! It’s working now. Thank you all. What kind of security issue? Do you mean viruses or anything else?

    What kind of security issue? Do you mean viruses or anything else?

    When someone can use your ip address to view your wordpress that is on your computer was just curious on if there security issues as host servers have security programs to protect server.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to make visible wordpress installed locally?’ is closed to new replies.
Skip to toolbar