I am developing buddypress using a WAMP server.
My enqueue_Script/Style functions work fine when viewing the theme on the PC the wamp server is installed on.
I run into issues when I am accessing the wordpress installation over the local area network from another PC, Tablet Device or Smartphone as content_url, bloginfo(“template_url”) and get_template_directory_uri() all return a string that includes http://localhost/ at the beginning, This works fine on the machine that’s running the localhost testing environment but for other users on the network it causes a 404 as http://localhost does not exist.
If anybody knows of a solution to this problem it would be greatly appreciated.
Thank you for reading, and thank you your time.
- The topic ‘Enqueuing scripts/stylesheets, Local Area Networking users getting 404’ is closed to new replies.