WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS template issues (8 posts)

  1. HomeWorkers
    Member
    Posted 1 year ago #

    I have been using a site created in the 2011 them as my 'learning' site.

    I've finally managed to get the permalinks changed so i can use the post name option in the URL bar = but the upshot is, all the CSS styling for the theme has been reduced to nothing more than a basic page with no style at all.

    URL: andrewbrown-photography.co.uk

    Any suggestions as to the cause would be welcome, if more info is required please advise and i will supply.

    Andrew

  2. kprimdal
    Member
    Posted 1 year ago #

    Hi Andrew,

    I have experienced that sometimes I help to press update two times in the Permalink Settings. That way you are sure that the .htaccess is set correct up and that all url is flushed

  3. fonglh
    Member
    Posted 1 year ago #

  4. kprimdal
    Member
    Posted 1 year ago #

    If that still does not work, make sure that your .htaccess is setup correct. Mine looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  5. HomeWorkers
    Member
    Posted 1 year ago #

    OK, thanks for your suggestions.

    The CSS style sheet not being available certainly makes sense.
    I'm guessing this is down to the effects of the .htaccessfile - as the 2011 style was fine until i introduced the .thaccess file that fixed the permalinks option not working.

    I'll go and have a look, follow your suggestions and see what happens.

    Andrew

  6. HomeWorkers
    Member
    Posted 1 year ago #

    OK, you will note that all now appears to be working fine.

    What appears to have been the case (i'm assuming) is that there was an .htaccess file in the root of the htdocs folder, and there was another within the wp-contents/twentyeleven/ sub directory.

    After i deleted the one within the sub-directory, all appears to be working ok again.

    I think that is what has happened - your opinions are more than welcome on this solution as i try to replicate my .htaccess file to other sites currently running the twentyeleven theme.

    Andrew

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    You would only need the .htaccess within the root of the site, definitely not in the theme folder

  8. HomeWorkers
    Member
    Posted 1 year ago #

    OK, have now followed this through with 4 other sites and the extra .htaccess file was clearly the issue.

    All working ok now - i'll remember that for future reference.

Topic Closed

This topic has been closed to new replies.

About this Topic