Support » Themes and Templates » 2010 theme will not read stylesheet

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • link button isn’t working:
    http://lifemedwarehouse.co.za/news/

    esmi

    (@esmi)

    Forum Moderator

    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.

    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.

    esmi

    (@esmi)

    Forum Moderator

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

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

    esmi

    (@esmi)

    Forum Moderator

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

    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.

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘2010 theme will not read stylesheet’ is closed to new replies.