Support » Installing WordPress » plain text on other computers

  • I tried logging onto my site today with a different computer, and my site is in plain text. I tried with different computers, same results. However, mine shows up correctly..Why?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Because the script is looking for the stylesheet here:
    http://localhost/blog/wp-content/themes/default/style.css
    Now localhost for my machine means something totally different than for your machine 🙂

    so what does that mean? Should I tweak the style or something? If you don’t me asking, how?

    Sorry for being a newbie and thanks for the fast reply

    I’d try replacing “localhost” with that IP from your URI. Though I have no idea whether it will work or not.
    (What I meant above is that my computer understands “localhost” as itself, as my own machine and it’s looking for your stylesheet here, where it doesn’t exist.)

    the apache server’s on my computer, so I’d have to have ‘localhost’

    Which means only you will see it, and only from the computer running the site.

    What settings do you have for “WordPress address” and “Blog address” on the general options page? Have you tried entering http://70.247.170.200/blog for both?

    I have http://localhost/blog..
    Do I have to change it to http://70.247.170.200/blog?

    If so, doesn’t that mean I can’t access my site on my own computer?

    am I able to have to URIs?

    In the six hours between your two posts couldn’t you just try whether it works or not?

    I have http://localhost/blog..
    Do I have to change it to http://70.247.170.200/blog?

    If so, doesn’t that mean I can’t access my site on my own computer?

    Yes and probably.

    am I able to have to URIs?

    No, two URLs does not work. This is not valid:

    <link rel="stylesheet" href="http://70.247.170.200/blog, http://localhost/blog/wp-content/themes/default/style.css" type="text/css" media="screen" />

    Set your site URL to http://70.247.170.200/blog. Set your WordPress URL to http://localhost/blog. Manually edit your header.php file in your theme’s folder and set the CSS path to http://70.247.170.200/blog/wp-content/themes/default/style.css.

    That should do it.

    wait…
    I’m lost at the step of “Manually edit your header.php file in your theme’s folder and set the CSS path to http://70.247.170.200/blog/wp-content/themes/default/style.css.”

    I used Dreamweaver and opened htdocs\blog\wp-content\themes\default\header.php, used the find tool to find style.css, but it’s not in there

    Search for this line instead:

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    and change to what?

    Hard-code it to <link rel="http://70.247.170.200/blog/wp-content/themes/default/style.css">

    Mind, I don’t KNOW that this will work. What I’m wondering is if the 70.247.170.200 is an actual “web host”? I run a server on my home machine with XAMPP where I test blog themes and other website coding, but I have a web host for my “real” stuff. I don’t know what it is you’re doing with your “apache server” etc….

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘plain text on other computers’ is closed to new replies.