Why does the Moz Tool Bar show code as HTML text for my site?
-
When I run my site in the Moz Tool bar, all of the page elements are read correctly except for HTML text.
Sample page: http://www.lifeionizers.com/blog/alkaline-water/electrolyzed-reduced-water
Instead of the text on that page, the tool shows Javascript code:
/*
With a very high character count for text (14,247).
-
We have a partial victory! The Moz Bar works on the blog, but it appears we have a problem with a noscript script on other pages of the site, such as the homepage. The Moz On Page grader works for blog pages now as well. Before this fix, it was showing all F's, no matter how well optimized the page was.
Thanks!
-
Hey,
I took a closer look at your page and it looks like what's happening is that you had a Facebook Script snippet in your body.
I used Chrome's Dev tools to move the script from the body to the end of the head and Mozbar is showing proper words now: http://goo.gl/Zpcwme
It's important to note that I'm not a Javascript developer, so I don't know if there was an explicit reason to have that code there. Generally scripts will need to go in the head tag or on a separate page and referenced. You'd want to confer with your dev team on this to make sure that's a viable solution for you.
But that is what's going on.
I hope that helps.
Cheers,
Joel. -
I removed the Javascript comments but it didn't fix the problem. The Moz Bar now shows the same line of code without the comment code:
(function(d, s, id) { var js, fjs = d.getElementsB...
-
Hi Karasd,
Thanks for writing in. Looks like the MozBar crawler isn't quite smart enough to figure out some of the code on the page, specifically this snippet:
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Site search solution?
Hey guys, since google site search is going away we are looking for an alternative. I saw that you guys are using a pretty nice looking site search solution. Can you tell me what it is?
Moz Bar | | snapstream0 -
New Spam Analysis Tool Results Questions
First off, I am incredibly excited about this tool. Secondly, I have a slew of questions, but the ones that are lingering for me are as follows. There are a few URLS that we used to control which are showing up in our list as spammy. The websites no longer exist as of roughly a week ago and I presume they still show up simply because of the last indexing. That being said, if a website doesn't exist anymore, yet the link is showing up in our GWMT or MOZ, is it still necessary to disavow? Is that overkill? http://alcoholdrugrehablosangeles.com/ is an example of a website we used to control and I have removed. My second lingering question is if there are a handful of links that are registering as spammy, and I presume it is due to lack of content/duplicate content, and I move that content to its appropriate place on another website and 301 that domain to its new home, will the "spam score" carry over?
Moz Bar | | HashtagHustler0 -
Signed up for moz reports - have received Moz error report - need someone who is capable to take report and perform cleanup edits within Joomla site?
Looking for someone in the US - please contact me at Mary@workingwebsolutions.com If available and interested in task. Thanks Mary
Moz Bar | | PortlandWebDesign0 -
Does SEOMOZ bot not know where to look for AJAX site snapshots?
snapshot://www.fubo.tv/?escaped_fragment=video/Nigeria_out_to_stop_Messi page: http://www.fubo.tv/video/Nigeria_out_to_stop_Messi
Moz Bar | | FuboTV0 -
Checking Do-follow using Moz Bar
Does anyone know how to check if a link is a do-follow or no-follow using the Moz bar? I believe there's a function that highlights and color codes the link so as to tell? Can't seem to turn this function on in my Moz Bar settings. Am I missing something completely obvious?
Moz Bar | | Gavo0 -
Whats wrong with the typography of moz?
Seems moz is testing webfonts? On Chrome its hard to read not to say horrible. On FF its a little better.Or is this just on my computer?
Moz Bar | | inlinear0 -
Can Moz use canconical links to prevent notices about duplicate content issues?
if so how do we enable this - we've an average size site with a few hundred products but they appear in multiple categories, canonical url points to it's primary category (but a new page exists for each section... so for /cat-a/abc there will be another page cat-b/abc and again but the canonical points to cat-a always for that product) basically I see this kind of duplication error / notice as a false positive... help me
Moz Bar | | SEOAndy0