ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Weirdness linking to template stylesheets

May 15, 2011 3:50pm

Subscribe [2]
  • #1 / May 15, 2011 3:50pm

    rorourke

    113 posts

    This is really driving me up the wall, my site:
    http://rourkery.com (looks as it should)

    BUT if you visit it with a www. prepended… it can’t find the stylesheets:
    http://www.rourkery.com

    Which makes no sense to me as they have an absolute path to them in the source.?

    I’m linking them in my header.php template like so:

    <link rel="stylesheet" href="{stylesheet=css/reset}">
    <link rel="stylesheet" href="{stylesheet=css/media}">
    <link rel="stylesheet" href="{stylesheet=css/core}" title="core">

    Any thoughts on why this is occurring?

  • #2 / May 15, 2011 5:40pm

    Rob Allen

    3114 posts

    Did you fix this - both URL versions work fine for me.

  • #3 / May 15, 2011 6:30pm

    rorourke

    113 posts

    Hmm. Seems to only be occurring in Safari. Maybe not an EE issue after all?  Still, not sure what to do about it. Can you replicate in Safari?

  • #4 / May 15, 2011 6:43pm

    Rob Allen

    3114 posts

    Still works fine here - tested in Windows: Firefox, Safari, Chrome, Opera and IE7/8

    I have had colleagues with cache issues on Mac Firefox/Safari, refreshing/clearing out their cache seems to solve it.

  • #5 / May 16, 2011 6:31am

    John Henry Donovan

    12339 posts

    Ryan,

    Works for me too. It might be a good idea to force one version of the domain name with a htaccess

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases