WordPress.org

Ready to get started?Download WordPress

Forums

2010 theme will not read stylesheet (9 posts)

  1. Preeminent
    Member
    Posted 3 years ago #

    Hey all,
    I just did a new install of wordpress and it won't read the stylesheet. I can't figure out why. I've changed the permissions of the stylesheet file to: 0755. I also tried 777. Which is the correct one? Either way though, can anyone think of why it won't read the file?

    Nothing has been changed to the header.php file:

    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

    You can view the page in question here:

  2. Preeminent
    Member
    Posted 3 years ago #

    link button isn't working:
    http://lifemedwarehouse.co.za/news/

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    link button isn't working:

    It works fine if you use it properly.

    Where exactly did you install WordPress within your domain? And did you change the urls in Settings -> General after the installation? Right now, your stylesheet cannot be found at the appropriate url.

  4. Preeminent
    Member
    Posted 3 years ago #

    I didn't change any settings after installing. It's in a directory called news of course, which is in a directory called HTML_public. I tried installing at the root, but wouldn't work. Thanks for your reply.

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you checked the twentyten theme folder using FTP? Does it contain a style.css file?

  6. Preeminent
    Member
    Posted 3 years ago #

    Yes, it sure does. That is what is so odd.

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    Right now. I'd suggest that you scrap that install completely and re-install WordPress.

  8. s_ha_dum
    Member
    Posted 3 years ago #

    Attempts to view your stylesheet at http://lifemedwarehouse.co.za/news/wp-content/themes/twentyten/style.css are redirected to http://lifemedwarehouse.co.za/notfound.php, as are most attempts to view directories like http://lifemedwarehouse.co.za/news/wp-content/themes/twentyten/ or http://lifemedwarehouse.co.za/news/wp-content/themes/. 'Normal' behavior when attempting to view directories like that is to get an empty white screen, not a redirect, so I'm thinking that something in the primary site is preventing access to some of the directories within WordPress. Possibly you have a .htaccess file in the root directory with an overly restrictive rule-- something like that.

  9. Preeminent
    Member
    Posted 3 years ago #

    Ugh. Yeah that sounds right about the main site causing the problem. Someone else developed it using osCommerce. It's been so much hassle dealing with this stupid thing! Thanks for the replies, I will keep trying.

Topic Closed

This topic has been closed to new replies.

About this Topic