Wordpress Blog system display setup problem - wordpress

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

Related

wordpress on apache2 not display correctly css only on windows host

I did a recently installation of wordpress with apache2 on ubuntu server . The web can be displayed correctly on any host just display the html
I am new in the web world, so I don't have much skills in it
I was looking for and I suspect is a css problem compatibility
In windows host I have the following
windows browser
I tried with all the possible wk , clear my cookies,other browser . etc
without results
Both machines live in the same network with the web server
Hope you can give some ideas
Thanks
I finally found the problem.
When I was inspecting the page with google. I saw some objects like wp-config.php is not working, It have a message of resources can not be loaded, connection refused so I change the address url and site url on the wordpress configuration to my domain, and I enter on the web server(ubuntu) a entry for my domain in /etc/hosts with the local ip of my webserver

Accessing local installed Wordpress from a mobile device in the same network

I have set up the latest Wordpress version 5.3.2 on my local machine by using XAMPP 3.2.4.
Since I want to check out my homepage also on a mobile device (not only an emulator on my desktop) I tried to access it from my phone. I always get the error "ERR_CONNECTION_REFUSED" when I try to call it with "http://192.168.0.170/wordpress". This is the IP of my notebook where XAMPP is running.
Interesting thing to add: It works without issues from another notebook in the same network. What I have seen is, that the mobile phone redirects from the IP address to "localhost/wordpress" while the notebooks do not redirect.
Now, I am aware that this is not a new problem and I have read most likely all posts on this topic in the internet. What did I already tried and changed in order to get it running:
Add an entry in the Firewall settings to allow connections on port 80
Change the site URL and home URL in the wordpress settings to the local IP
There are multiple suggestions to change settings in the Apache config files from XAMPP. I did not do any changes there as the code which is proposed to be changed cannot be found in the files.
Do you have any idea why it could not work on a mobile device while it does work from another notebook?
Thank you very much!
Regards,
Philip

need assistance on my local wordpress

I just finished building my basic website using wordpress and wamp. installation directory is at C:\wamp64\www\wordpress and i'm currently accessing my site at localhost/wordpress
now i have 2 problems:
1. how can i trick my localhost to use http://www.tracking-site.com instead of localhost/wordpress? I tried changing site and wordpress address but all i get is page not found.
after changing my url, i am planning to access my local wordpress (which will now be http://www.tracking-site.com) from another PC.
2a. do i need to copy all the wordpress files to pc#2?
2b. do i need to install wamp to pc#2?
edit: i can skip problem #1 if changing site url is not important. cause my main target here is to access my localhost wordpress from another PC with same LAN. I tried adding tracking-site.com in hosts file to redirect to 127.0.0.1 then in PC#2 added in hosts file 192.168.x.xxx (my ip) then tracking-site.com. not working tho.
I don't want to host it online because my website will only be used internally in my workplace.
This should work, haven't done it in Windows in forever.
Set your site to a different URL, this is probably a bad idea honestly since WP hardcodes a lot of urls like the images, you can get past this by using wp-cli.phar to search and replace in the db but that's not a simple procedure either.
That being said it can be done.
Right click Notepad and open as administrator.
Click Open and change the file type to all files.
open the following file: c:\Windows\System32\Drivers\etc\hosts
Add the following line: 127.0.0.1 www.tracking-site.com
Question 2. Is answered here: How to access my localhost from another PC in LAN?

MAMP PRO testing local WordPress website with xip.io over LAN from iPhone not loading images css correct links etc

Hiall,
I’m trying to simply test my local MAMP PRO wordpress site on my iPhone through my local LAN network.
I test my on my Mac via the URL which works fine
http://mysite:8888/
For my iPhone
If I go to MAMP PRO select my website/host from the left column and check the via Xip.ic (LAN only) option/checkbox
it provides a URL which is
http://mysite.10.0.1.6.xip.io:8888
I then send myself an email with this link which I click from the iPhone
When I load http://mysite.10.0.1.6.xip.io:8888 in my iPhone, the URL loads and I can see my website but there is no images, or CSS styling, the sites links are not correct and I only see the sites text.
I understand I need to change the site to load like its loading from mac to my iPhone urls and that I can change the
WordPress Address (URL)
Site Address (URL)
without having to do it in the wp-admin settings screen by adding by doing
define('WP_HOME','http://mysite.10.0.1.6:8888');
define('WP_SITEURL','http://mysite.10.0.1.6:8888');
but this does not make a difference either
I’ve also tried
define('WP_HOME', 'http://mysite.10.0.1.6.xip.io:8888');
define('WP_SITEURL', 'http://mysite.10.0.1.6.xip.io:8888');
I’ve found various examples like
https://wordpress.stackexchange.com/questions/98386/testing-local-server-with-mamp-wordpress-on-mobile-device
http://www.designshifts.com/view-local-wordpress-website-on-your-iphone-or-ipad-with-mamp/
which I have spent hours trying to replicate but I just can’t figure it out!
I’m not sure if it’s because I’m typing my urls / ports different/incorrectly and typing my URL’s incorrectly to include ports etc, or because I have the latest version of MAMP PRO and Yosemite and these examples are a few years old etc, or maybe I need to be clearing the the word press / MAMP cache, restarting on every atempt etc?.
Any help would be greatly appreciated!
If you already have replaced the home and siteurl in the General Settings. Note: Wp-config alternative hack as you mentioned didn't work for me.
In Mamp Pro, select your host e.g. (example.dev).
Check "via Xip.io (LAN only)
Under Alias Name, Add your system's static IP (e.g. 192.168.15.4). Default settings will work
Save and Restart servers.
Your Images and CSS should appear. BUT links are still not working. I hope you'd help me improving the answer.
In the Wordpress settings, change the below:
define('WP_HOME', 'http://mysite.10.0.1.6.xip.io:8888');
define('WP_SITEURL', 'http://mysite.10.0.1.6.xip.io:8888');
To your device local network I.P. address, for example:
define('WP_HOME', 'http://192.168.0.71');
define('WP_SITEURL', 'http://192.168.0.71');
This will work!
To be honest, the simplest way I have found is to just go into your database and look for siteurl and home which are normally record 1 & 2 in the database, and update it to your network IP address.
It can then be visited in the browser from that IP address for anyone on the network.
Wordpress just isn't built to make xip.io work because it defines the site name statically.

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.

Resources