WordPress.org

Ready to get started?Download WordPress

Forums

plain text on other computers (22 posts)

  1. wuzzie
    Member
    Posted 8 years ago #

    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?

  2. wuzzie
    Member
    Posted 8 years ago #

  3. moshu
    Member
    Posted 8 years ago #

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

  4. wuzzie
    Member
    Posted 8 years ago #

    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

  5. moshu
    Member
    Posted 8 years ago #

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

  6. wuzzie
    Member
    Posted 8 years ago #

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

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

  8. wuzzie
    Member
    Posted 8 years ago #

    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?

  9. wuzzie
    Member
    Posted 8 years ago #

    am I able to have to URIs?

  10. moshu
    Member
    Posted 8 years ago #

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

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

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

  13. wuzzie
    Member
    Posted 8 years ago #

    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

  14. vkaryl
    Member
    Posted 8 years ago #

    Search for this line instead:

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

  15. wuzzie
    Member
    Posted 8 years ago #

    and change to what?

  16. vkaryl
    Member
    Posted 8 years ago #

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

  17. wuzzie
    Member
    Posted 8 years ago #

    hehe..
    i'm considering of not renting a web space, and instead get a domain for a few bucks a year, which will direct to my computer, where the web contents will be hosted

    does that make sense?

  18. wuzzie
    Member
    Posted 8 years ago #

    that's my home ip, so don't be hackin'!

    :]

  19. vkaryl
    Member
    Posted 8 years ago #

    *rolls eyes* Oy. You need to seriously consider some security.... and I'm not the one to discuss that with - my home server never connects to the 'net and I have numerous layers of security anyway....

    Right now, you need to change that IP. RIGHT NOW. I'm not into going fishing in others' boxes, but the world is full of others who are....

  20. wuzzie
    Member
    Posted 8 years ago #

    how?
    i got norton antivirus..
    would that help?
    lol

  21. Antivirus is not a firewall...

  22. wuzzie
    Member
    Posted 8 years ago #

    i guess not

Topic Closed

This topic has been closed to new replies.

About this Topic