Concrete5 Javascript Code in Header and SEO
PermalinkPlease check out the following image: http://screencast.com/t/ZGRlODEw...
I notice that Concrete5 adds about 20 lines of code to the top of the header of a site. Now, this is not the end of the world SEO wise, but it would be nice if it were possible to either a) remove some of this code and/or b) add lines 17 - 27 (see accompanying image) to an external Javascript file. I'd like to give the Search Engine spiders as much as a head start as possible:).
Is this possible? If so, how?
Thanks in advance,
Moshe
You can also look at minifying (http://code.google.com/p/minify/downloads/list) your CSS and JS files to reduce the page load time, which is going to be more of an SEO factor than the few lines of parameters.
Ryan
I even removed it without problems, it's only enabled when logged in.
Simply surroud it with: if (User::isLoggedIn()) {..
Adding an additional, dynamic javascript is also not a good thing because increasing the numbers of tcp connections and/or adding some more dynamic code generation slows down the page rendering process.
This would be worse than have a few lines of code in the header.
You can still customize this if you really think you won't get any visitors from google due to this very very minor detail. Look for header_required.php in elements