• 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)
  • Thread Starter wuzzie

    (@wuzzie)

    Because the script is looking for the stylesheet here:
    https://localhost/blog/wp-content/themes/default/style.css
    Now localhost for my machine means something totally different than for your machine ??

    Thread Starter wuzzie

    (@wuzzie)

    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.)

    Thread Starter wuzzie

    (@wuzzie)

    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 https://70.247.170.200/blog for both?

    Thread Starter wuzzie

    (@wuzzie)

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

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

    Thread Starter wuzzie

    (@wuzzie)

    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 https://localhost/blog..
    Do I have to change it to https://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="https://70.247.170.200/blog, https://localhost/blog/wp-content/themes/default/style.css" type="text/css" media="screen" />

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

    That should do it.

    Thread Starter wuzzie

    (@wuzzie)

    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 https://70.247.170.200/blog/wp-content/themes/default/style.css.&#8221;

    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” />

    Thread Starter wuzzie

    (@wuzzie)

    and change to what?

    Hard-code it to <link rel="https://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.