Wordpress will only fully load on localhost

后端 未结 5 738
栀梦
栀梦 2021-02-06 15:29

I have recently set up wordpress on my wamp server and when loading up the webpage through localhost it will always fully load up the entire page but when i try to access the we

5条回答
  •  -上瘾入骨i
    2021-02-06 16:01

    The way to make a localhost install work on other computers on the network you need to do a couple things.

    1. The localhost needs a dedicated address either IP or fake domain.

    2. WordPress needs to be configured with that address

    3. the other machines need to be told where that address is, usually in the hosts configuration file like

    192.168.30.1 wp.dev

    where the above is an network IP assigned to your localhost with WAMP and wp.dev is the fake dev domain. This pretty much needs to be set on all machines so they know where the host lives.

提交回复
热议问题