Broken Links Added in Header

Topics: ASP.NET 2.0, Themes
Sep 14, 2011 at 6:25 PM

Several references are added to the header like this one:

<link rel="stylesheet" href="/blog/themes/O4B/css.axd?name=style2.0.0.36.css" type="text/css"




When we run an SEO Tool against the site which includes the blog, these are flagged as broken links.  Where is the file style2.0.0.36.css?  Why is the SEO Tool think it's a broken link?  If it is a broken link, why is it added to the header.  We have a perfectly good style sheet already in the theme.  How do we get these types of links to not show up?



Sep 14, 2011 at 8:56 PM

If you go to admin/setting/advanced and uncheck "Trim stylesheets" - you get your regular style.css back.

By default, BE compresses and caches stylesheet and it uses HTTP handler (css.axd) instead of serving directly. If doubted about SEO tool, try accessing stylesheet using this pattern: http://[your/]/themes/[yourtheme]/css.axd?name=style2.0.0.36.css. If you can see it it is not broken.