When i Store CSS Stylesheets as Files, google can't see the css of the site. How can i fix that problem ?
"Store CSS Stylesheets as Files" Google cache issue
Collapse
X
-
Are you referring to the problem discussed in this thread?
https://www.vbulletin.com/forum/show...e!-big-problem! -
Simple solution, add this script to headinclude:
<!-- Fix Base Path IN Google Cache, Code by: Vũ Thanh Lai - http://sinhvienit.net & http://kenhsinhvien.net -->
<script type="text/javascript">
<!--
var curBaseTag = document.getElementsByTagName('base')[0], correctBasePath = "{vb:raw basepath}";
if (typeof curBaseTag!='undefined' && curBaseTag!=null && curBaseTag.href != correctBasePath)
curBaseTag.href = correctBasePath;
if(correctBasePath=='')
{
curBaseTag.href=window.location.protocol+'//'+window.location.host+'/forum/';
}
-->
</script>
Comment
Related Topics
Collapse
-
by randomdriverRight now there are far too many CSS and JS files making page downloads slower. It is common practice today to minify files and condense them. No need to download 10, yes 10! CSS files. That's a lot...
-
Channel: vBulletin 5 Connect Feedback
-
Comment