Trouble viewing locally served (MAMP) Wordpress site over WiFi - wordpress

I'm building a site using MAMP and Wordpress on my MacBook. When I try and view it over WiFi on my Windows PC I can see the html but images and CSS files are not loading.
Does anyone know where I can begin to try and find the problem? What I might be able to do to fix it?
Thanks

Looks like your WiFi routner has its own subnet. If possible, configure it as an Access Point - or buy one. This is cheaper then working with routing tables.
Peter

Related

How to test localhost site on cell phone?

My scenario is like, I want to test my website on cell phone, which is located on my localhost. It is WordPress site.
My website is not deployed yet on any server. so, Is there anyway to test my localhost site on cell phone?
The question you were referring me it's having a different kind of solution, when compare to my question. because i didn't modified http.config file. i didn't modified my wamp settings.
can anyone help me on this issue?
You check your localhost IP and you will run it on your phone.
But your system and cell phone will be connected with internet.

Trying To Access A Wordpress Site Over The Internet

I have a wordpress site on the Ubuntu computer that I am using as a webserver. I have the wordpress system installed in /var/www/html. I have created pages which display nicely from any computer, tablet or handheld within my lan environment.
I am going crazy trying to access my website from the internet. Can anybody please help?
I have a noip address and a BTHub which allows me to set up dynamic dns to inform my noip account automatically when the ip changes and this works fine.
I have set up port forwarding for http and https to the computer hosting my wordpress site
I have tried assigning DMZ to my wordpress hosting computer
I have made sure I own the wordpress folders and files within them
my LAMP installed without a hitch and over the LAN access is no problem with one exception - I can only use the default permalinks or wordpress can not find my pages - no idea why? I had to cut wordpress into var/www/html as it initially went into www and could not be found
I have spent DAYS with this! It is a part of a bigger project where I want to run some projects across the internet. I dispair that if I cant get a simple wordpress site to work that my projects are doomed! lol.
When I try to access my site from another location across the internet, I get the first page, but without the media picture that should be on it. When I try to change pages I get the not found message. I also get the initial page without a style sheet in some instances. I have no clue about how to fix this. I took up Linux about three months ago, having been a windows and OSx man for years. I am in love, but have a steep learning curve!
It looks like a location issue or a WAN address issue or something I cant figure out!
I would appreciate any help that anyone out there can give me.
Eric
Thank you for your feedback. I have just this moment sorted it out. I read up the permalinks wiki thoroughly and I found out how to change the URLs from within the wp- files in the theme I was using. After a few refreshes it now works. I will post up a how-to for any others who may be experiencing the same frustration.

Viewing Wordpress Sites Stored On LocalHost From Another Device

Ok so I don't know if this question is suitable for StackOverflow or not so I apologize if it's not. Here is the problem, I develop my wordpress themes on my localhost 'localhost/~jamiemcardle/wordpress' and thats fine. I can go to my iPhone and type in '192.168.0.8/~jamiemcardle/website' or whatever the address number is to access a website stored in that folder. But if I type '192.168.0.8/~jamiemcardle/Wordpress' it loads the wordpress site without any styling. Why? How can I fix this? Also Safari and Chrome do this on iPhone but all browsers are ok on Macbook.
Thanks
Easiest fix would be to change the site URL in the WP options to the IP address (so replace localhost with your I.P).
The lack of styling is due to the fact that the site is looking for "localhost/wp-content/themes/theme-name/style.css" but is obviously unable to find it due to the fact that that's NOT the address you're visiting.
Always use the IP instead of localhost to avoid problems of this nature.

Wordpress theme does not work online

I have installed wordpress and a theme, customized that on my localhost.
Everything is ok on that pc where xampp is installed.
But if I go to that page (on the same network) from another pc - I see no css, no style, just messy text.
Even when I move it to the live server I get the same mess.
Anyone could tell me why?
Go to your Wordpress settings. And in URL enter URL with IP address of pc. instead of localhost/sitename change it to192.168.../sitename
Then access it from other pc using same address like 192.168.../sitename
This will solve the issue hopefully.

Wordpress Blog system display setup problem

I had followed all the installation step on the wordpress.org and working fine on the host machine . Everything including image ,flash, text can be display on the Host pc. However, when i try to connect the hose via local IP(eg.192.168.0.112) from another LAN PC. In come out only shows words On the local PC. No image no flash at all..
Can't find any info on the web anyone who know how to fix it please help
Solved.. -_- very simple question
it is just because the wordpress engine try to load CSS from Localhost/wordpress/.../default.css
it should be load from the host machine. which is /192.168.0.112/wordpress/.../default.css
so go the the admin setting
type in your wordpress address and site address with ur local ip
it should be working

Resources