Can a localhosted wordpress website only seen with good layout on one pc?
Posted by: LoneDog (---.direct-adsl.nl)
Date: June 28, 2014 10:43PM

Hello guys,
I am new here because i have a problem. I am hosting a local wampserver with wordpress 3.9.1.
All went well and according to plan until i tried viewing the pages on another computer on the same network.
It worked but the layout fucked up everything/

[i.imgur.com] This is the default page and the view from the pc where the server is hosted upon.

[i.imgur.com] this is the view form another pc.


We know it should not look like this. Will this be happening with a rented server as well or is this only for locally hosted servers? does this happen often?

Thanks (:



Edited 1 time(s). Last edit at 06/28/2014 10:44PM by LoneDog.

Options: ReplyQuote
Re: Can a localhosted wordpress website only seen with good layout on one pc?
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: June 28, 2014 10:59PM

You have obscured some of the useful stuff, but the most likely reason is that you have installed WP into a subfolder of \wamp\www but not created a virtual host for it

See thsi doc WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

Its very common with WP sites that people dont create a virtual hosts and they get exactly this situation.

Its not an issue with WAMPServer, more an issue of lack of understanding of Apache and PHP.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Can a localhosted wordpress website only seen with good layout on one pc?
Posted by: LoneDog (---.direct-adsl.nl)
Date: June 29, 2014 12:40PM

The issue has been resolved. It was defentaly not the lack of knowledge about PHP or Apache. I had a virtual host up and running.
It was a settings problem to which it would only stream to my pc and not others. A settings problem within wordpress not wampserver.

Options: ReplyQuote
Re: Can a localhosted wordpress website only seen with good layout on one pc?
Posted by: Fiction03 (---.columbus.res.rr.com)
Date: June 29, 2014 04:23PM

LoneDog, can you explain how you fixed the issue? I appear to be running into the exact same problem. Googling this has been less than fruitful.

Answer found, for anyone else who gets here, I fixed this as well by following [codex.wordpress.org] . I edited the wp-config as well as adding the update_option() to functions.php. After a refresh, all of my links now correctly point to 'http://www.mysite.com/page/post', rather than 'localhost/mysite/page/post'.



Edited 1 time(s). Last edit at 06/29/2014 04:41PM by Fiction03.

Options: ReplyQuote


Sorry, only registered users may post in this forum.