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
-
Moz keyword mention on-page counting errors
Hi. Moz is showing 18 mentions of the keyword 'street furniture' on this landing page https://www.broxap.com/street-furniture.html But I can only count 6 in total in the body copy and 13 if you include navigation links. This is the same on other pages too for that keyword. Does anyone know where it's counting these extra keywords from? I don't want to fall foul of keyword stuffing but as far as I can see we're not! Could Moz be miscalculating? Any help appreciated! Thanks Joe
Moz Bar | | iweb_agency0 -
Moz crawler finding my homepage multiple times
Hi and thank you in advance for your help! I have a Moz Pro campaign running (I am a complete Moz novice by the way) for one of my websites (balloonsutah.com). After crawling my site, the Moz crawler informed me that I have 3 pages with duplicate content. While I am not sure why exactly this is happening, the crawler indexed my homepage 3 times under different url's. -balloonsutah.com
Moz Bar | | Keenan-Price
-balloonsutah.com/
-balloonsutah.com/index.html I checked my FTP server and I cannot figure out for the life of me why the crawler is finding anything other than the index.html file. I suppose I need to do something regarding a rel="Canonical" but I am not terribly familiar with that either. Any suggestions would be greatly appreciated!
Keenan0 -
Just discover link not show
Why just discover link not show of my website on open site explorer tool? when all links are shared by bitly then why links are not show?
Moz Bar | | surabhi60 -
Moz Crawl Report showing non-existent Duplicate Errors since new reporting layout
Hi Moz Community, Since Moz changed to the new style of Crawl report, we've seen a jump in duplicate errors for our site. These duplicate errors do not exist and were not present on the Crawl reports before the report change and also we have not made any changes to the flagged pages on our site since then either. When you download the report data in csv it appears that the Moz report is mixing up data for two or more pages on the site. e.g.in csv for 'Page1' data, it will show the meta description for 'Page2' and 'Page2' shows that for 'Page1', so this then gets flagged as duplicate, however looking at the actual Meta description assigned onsite, both Page 1 and Page 2 are completely unique. Has anyone else experienced this and Moz Team - are you looking into this? Thanks, V
Moz Bar | | WWTeam1 -
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 -
Moz Analytics/Reports into PDF
Hey guys The Moz Analytics is great however I don't seem to be able to download the data into a PDF. I used to be able to do this but it won't let me anymore. Its vital we can do this so we can send to our clients anybody got any ideas? Am I being blind or has this been omitted??
Moz Bar | | tempowebdesign1 -
Moz Analytics Beta
Just got the access to this, but my campaigns don't seem to be showing. Anyone know why this might be?
Moz Bar | | Jonathan19791 -
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