1 down vote favorite I am developing a Wordpress theme that requires testing with multiple devices over my local network. I use the localhost server XAMPP which runs apache on port 80.

When I access my PC's IP ( port 80 using an iPad, it returns the apache directory of which I have two sites:

site1 wordpress The first site is a basic php site, this loads perfectly. The second site is Wordpress, and won't let me access it (see pic).

I have tried changing the setting inside Wordpress:

changing localhost to inside the site and Wordpress address. Can anyone advise me on what I'm doing wrong?

enter image description here enter image description here

  • what is in the .htaccess file in the directory wordpress ? – mmm Sep 21 '17 at 12:17
  • Your second screenshot should be trying though, not localhost? – Rarst Sep 21 '17 at 12:21

Go to Admin Panel > Settings > General and replace localhost with your ip-address for WordPress Address (URL) and Site Address (URL).

Or go to wp-config.php and add


And when you access to from other device you should go

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.