Optimize code
-
Hi Guy's,
In Wordpress we've got the plugin "WP Rocket". It's possible to optimize CSS, JS, HTML and Google Fonts.
If i optimize (minify) CSS and JS the website will load faster and the pagespeed will be reduced. So i guess that's always better for SEO results en SERPS...
But what will happen if i optimize my HTML code? It will be much shorter but less organized. Will this also affect SEO results and rankings? I'm awear that less code will increase my text ratio, but don't know if Google will punish the website for having a code that's not very good organized.
Thanks!
-
Top thanks The only strange thing was that when i optimize my HTML code the Text/HTML ratio decreased :S
-
You should minimize / uglify your code - because it speeds up your site (https://developers.google.com/speed/docs/insights/MinifyResources).
Don't worry about readability/organisation of the code - that's for humans. Browsers & bots interpret the code - and as long as it is (more or less) valid HTML it will be rendered/crawled without problems.
Dirk
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
-
Optimal use of keywords in header tag
what does optimal use of keywords in header tag actually mean given you indicate this as hurting seo factor?
Technical SEO | | Serg1550 -
Stop Words and keyword optimization
Ok, so I understand Google doesn't use stopwords (like "a" or "the"). Therefore if I am optimize for a keyword phrase, and say find an opportunity for say: "how to create stuff something" But it actually reads better as (although doesn't sound completely out of place as above) "how to create stuff in something" Which is better for SEO? (ignore usability \ readability in your replies please and assume it reads reasonably either way as that was just an example)
Technical SEO | | TheWebMastercom0 -
Product Code Error in Volusion
I started working with about 800+ 404 errors in September after we migrated our site to Volusion 13. There is a recurring 404 error that I can't trace inside of our source code or in our Sitemap. I don't know what is causing this error so I have no way of knowing how to fix it. Tech support at Volusion has been less than helpful so any feed back would be appreciated. | http://www.apelectric.com/Generac-6438-Guardian-Series-11kW-p/{1} | The error is seemingly starting with the product code. The addendum at the end of the URL "p/" should be followed by the product code. In this example, 6438. Instead, the code is being automatically populated with %7B1%7D Has anyone else this issue with Volusion or does this look familiar across any other platform?
Technical SEO | | MonicaOConnor0 -
SEO-optimized Urls for Japan: English or Japanese Characters
Hi, Anyone got experience with Japanese Urls? I'm currently working on the relaunch of the Japanese site of the troteclaser.com and I wonder if we should use English or Japanese characters for the Urls. I found some topics on the forums about this, but they only tell you that Google can crawl both without problems. The question is if there is a benefit if Japanese characters are used.
Technical SEO | | Troteclaser1 -
Should I Do On Site Optimization For A Website That Will Get A New Design
Would it be wise for me to start implementing onsite optimization changes on a website, such as the changing urls, adding in keywords in meta tags, meta descriptions, etc if the website is about to get a totally new design. For example if I wanted to change the url structure and onsite optimization features would the changes still be on the new website.
Technical SEO | | TSpike10 -
Page Over-optimized?
I read over this post on the blog tonight: http://www.seomoz.org/blog/lessons-learned-by-an-over-optimizer-14730 & it's got me concerned that I might be having a similar issue on our site? Back in March & April of last year, we ranked fairly well for a number of long tail keywords, here is one in particular 'Mio Drink' for this page: http://www.discountqueens.com/free-mio-drink-from-kraft-facebook-offer The page is still indexed, but appears back on page #3 for the search term. During this time we had made a number of different updates to our site & I can't seem to put an exact finger on what might have caused the problem? Can anyone see any issues that might have caused this to drop? Thanks, BJ
Technical SEO | | seointern0 -
Optimizing a website which uses information from a database
Hi, Sorry if this question is very general. I am in the process of building a website for local business, and it it will be heavily dependent on a database. The database will contain loads of information which can be optimized such as business directory listings, articles, forums, questions and answers etc. The businesses will also be able to link to and from the site. Which is the best way to display this information so that it can be optimized the best? I was going to use drop down boxes on a single page, ie main category, sub catagory, then display the business listings based on this. However, as the information on the page changes constantly based on the drop down the robot / user uses, I am assuming this is very hard to get optimized well. Does anyone know a better way? Thanks.
Technical SEO | | PhatJP0 -
Meta description showing in source code but not being detected by SEO Moz or other tools?
Hello fellow SEO enthusiasts, Re www.appetise.com Our developers have added a meta description and I can see it when I right click on pages to 'view source' as follows : Example : BUT - using the on page seo assessment tool on SEO Moz (and also using other tools which assess title, description and keyword optimisation) - they are telling us that the meta description is not present. Please could someone suggest why? If we can get the meta description picked up - we will reach A Grade for our core pages! And this will make us feel good - and hopefully shine through in our results :-). Any help greatly appreciated. Kind Regs, Richard Best - Appetise.com <meta http-equiv="description" content="Online Takeaway Food with appetise.com. 100's of Local Takeaways Menus Online. Order Take Away Food Online for Delivery. Pay by Card Safely. Including Pizza, Chinese, Indian, Italian, Kebab."/>
Technical SEO | | E-resistible0