WordPress.org

Support

Support » Installation » run wordpress on LAN

run wordpress on LAN

  • My website looks OK on localhost, but on LAN it looks like its designed using basic HTML. Anyone to help me get round this??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    but on LAN it looks like its designed using basic HTML

    Check your Site URL via Settings -> General, you are probably still pointing to localhost or 127.0.0.1.

    Give your webserver a static IP, then use that IP as the WordPress Address and Site Address in wp-admin->General Settings. I’ve been doing that for years with no issues. And don’t hardcode ‘localhost’ or ‘127.0.0.1’ anywhere in your themes or plugins. You can use ‘localhost’ or ‘127.0.0.1’ in wp-config.php for your MySQL contact data if the MySQL server is on the same machine as PHP and Apache.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘run wordpress on LAN’ is closed to new replies.
Skip to toolbar