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 -
Should I be concerned our FWE Mentions report shows tons of non-relevant results?
Our brand name also happens to be a common German word and when I ran FWE for the first time this week, I was surprised to see hundreds of returns for the German word rather than our brand name. Does this affect our SEO in anyway and if so, what can we do to mitigate this? Appreciate any insights! Thanks in advance.
Moz Bar | | karrabarron0 -
The Page Optimization tool keeps asking for several changes that are already in place! How can I get it to recognize them?
Hi there...the Page Optimization tool shows a 71 score for one of my pages, but the most critical needs it noted have already been in there for some time. What's the deal with this? Thanks...
Moz Bar | | adirondack0 -
Moz bar problem?
I have a little problem regarding Moz bar. I had a FB and Twitter account earlier for my company. I have lost access to those accounts. Also they did'nt had my likes and followers (less than 10). My current Fb and Twitter account are active. Fb has 123 Like. And that the same account I am mentioned on my website. Still MozBar is only detecting that earlier account. Is there a way I could re-direct moz bar to my new accounts? thanks
Moz Bar | | jogindergujela0 -
MOZ crawler has been finding a lot of 803 and 804 errors
During last 3 weeks MOZ crawler has been finding a lot of 803 and 804 errors. Meanwhile all pages seem to be working fine. What could cause it?
Moz Bar | | Paruyr0 -
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 -
Did the Crawl Test tool go away or was it replaced
I loved that tool as it provided me with all of my URLs and it was easy to catch all errors at once. I had it booked marked but now I am just going to the regular tools page.
Moz Bar | | KJ-Rodgers0 -
Moz On-page is not working
My on-page is not working....I do have 3 keywords in the 1º position of Google.pt and the Moz is not reporting nothing....bug?
Moz Bar | | Popbox0