i want to ask how to access wordpress multisite in local network.
I`m using xampp-win32-5.6.14-4-VC11 as the server, and wordpress v4.3.1.
I can access XAMPP and a normal wordpress from another computer in the same network already.
However, after updated to wordpress multisite i can no longer access it from another computer in the same network, the address will automatically redirect to localhost and i try to change this line in
wp-config.php
from:
define('DOMAIN_CURRENT_SITE', 'localhost');
to:
define('DOMAIN_CURRENT_SITE', '[current_ip_address]');
it will no longer automatically redirect to “localhost
” but i still can not access wordpress multisite form another computer.
Finally i found a way
In my server computer in the local network
Note: the wordpress ‘siteurl’ and ‘home’ in the database is ‘www.website.com’
I need to set
I disable Require local
After that from the computer in the local network who want to access it
*This one fix my problem
1. C:WindowsSystem32driversetchosts
but in this i need to change the ip address for the server if i want to access the wordpress every time the ip changed and i can’t access another web in the server if i don’t add another virtualhost, is there a better way than this?
Try these: