Connect with us

SEO

10 Ways Coding Skills Can Improve SEO Efforts

Published

on

10 Ways Coding Skills Can Improve SEO Efforts

It’s not necessary to know how to code to be a good SEO.

Coding skills are not a prerequisite for SEO competency, but additional skills always make one more effective.

Here are 10 ways that understanding code can help turn a good SEO into a great one.

1. HTML Coding Standards And SEO Go Together

An SEO familiar with HTML understands how a web document should be structured and is alert to the consequences of poor coding practices.

An important building block of a webpage is the HTML elements, which are to a webpage what a foundation, door, floor, and roof are to a house.

Search engines may be unable to properly crawl a web page if HTML elements are used incorrectly.

The official HTML specifications limit what HTML elements are used in the <head> section (location of metadata that only browsers and bots see) and which HTML elements are used in the <body> section (the document itself that users see).

But when you put <body> elements (like <a> or <div>) inside the <head> section where the metadata is supposed to be, search engines will begin rendering the webpage from the normally hidden <head> section, resulting in the metadata being indexed as part of the content itself. It means that Google will fail to index that webpage the way it’s supposed to be indexed.

That error can happen when a Facebook pixel code is placed in the wrong place within the <head> section of a webpage.

Another example of how a lack of coding knowledge influences SEO is the 400 error response message.

Some SEOs believe a 400 error code is a bad thing because they see that word “error” and instantly think it needs to be fixed because we understand errors as something to be fixed, especially when they’re displayed in Google Search Console as errors.

But an SEO who knows HTML coding standards understands that the 400 error response code only means that the browser REQUEST for a page is in error (because the page does not exist).

In most cases, that’s a good thing, it’s what’s supposed to happen, and there is nothing to fix.

Knowing HTML standards makes a person a better SEO because they have the ability to spot even more problems than an SEO who lacks coding knowledge.

They are also better positioned to dismiss common SEO misinformation that springs from a lack of coding ability.

2. Structured Data

Structured data is a markup language, which means the code has rules that govern how it is written.

There are a few different ways to express Schema.org structured data, but Google’s preference, JSON-LD structured data, is arguably the easiest to understand, which makes it easier to troubleshoot.

Like HTML, JSON-LD has rules that govern how it is written, with a nested structure where you have a subject of the structured data (called a Type) and then the attributes of that subject (called a Property).

Understanding JSON-LD structured data is easy, regardless if you know HTML or any other markup language.

The benefits of understanding how to code structured data cannot be overstated.

Correct structured data markup is essential for achieving many of the highly coveted rich results positions at the top of Google’s search engine results pages (a.k.a. SERPs).

Incorrect structured data markup will make that webpage ineligible for rich results.

One can rely on Google’s structured data markup checker to verify if the JSON-LD structured data is valid and if it’s eligible for a rich result.

But just because the tool says the code is valid doesn’t mean it’s eligible for rich results. This is where the ability to analyze JSON-LD comes into play to fix the structured data, so that rich results become an option.

Manual troubleshooting ability is important because Google’s structured data checker tells you when it’s broken and provides a general idea of where it’s broken. Still, it doesn’t tell you how to fix it.

One can rely on plugins, of course. There are benefits to setting something and forgetting about it.

But structured data specifications constantly evolve, and plugins don’t always keep up fast enough. Also, they aren’t always specific enough for every situation.

When ranking high in the search results, it’s generally best to know how to code JSON-LD structured data to obtain the highest advantage over the competition.

3. Communicate Better With Clients

Knowing how to code enables a person to simplify an explanation so that a non-coding client can understand the why of a particular problem and the solution.

One cannot explain what they do not understand.

For example, knowing how to code structured data empowers the SEO to explain that not only it is okay to combine structured data, but also explain to explain the benefits of doing so and how to do it.

Knowing how to code allows one to explain that a client only needs to drop in a few lines of code into their WordPress website’s child theme functions.php file to avoid installing a bloated plugin to do the same thing.

Leaving aside that an SEO without coding skills wouldn’t even know about the functions.php file solution, a person who codes and is literate in PHP can understand when it’s better to use a plugin over the coding solution and then explain it to the client.

Knowing how to code confers the ability to look at the HTML code and zero in on why the site isn’t indexed adequately or is performing poorly.

I once audited an ecommerce site that used a custom-made template and (poorly) featured a crazy level of incompetent coding. Just fixing those codes sitewide enabled the site to have its content indexed accurately.

Knowing HTML allowed me to catch the errors and then explain to the client why it was broken and how they could fix it.

4. .htaccess Knowledge Is Power

.htaccess is (in my opinion) a tricky language to learn but reasonably easy to understand how to use it.

Simply learning about the benefits of .htaccess and what it’s useful for, and then how to add it to a file can generally take a person far.

For example, you can use a plugin to redirect HTTP to HTTPS, a plugin to redirect specific pages that changed, and a plugin to fix broken URLs to the correct URL.

But all that can be accomplished with a .htaccess file.

Taking the time to educate oneself on .htaccess can help understand how to improve a website without resorting to another plugin.

A .htaccess file can also be used to prevent other sites from linking to your images and other media files (hotlinking).

The use of a .htaccess file can even be used to stop rogue bots from copying your content by blocking the IP address ranges of bad bots that repeatedly access a website.

Doing something like that with a .htaccess file is significantly better than using a plugin or mod that writes the IP addresses to a database because adding tens of thousands to millions of IP addresses to a database will dramatically slow your site down.

5. Diagnose Hidden Problems

In general, coding-related problems are tucked away from view in the HTML code.

Because most sites are templated, the errors will be multiplied across every page that shares the templated structure. Learning how to use an HTML validator is straightforward, but understanding HTML is important for interpreting the results.

Coding errors can be glaring and obvious, like omitting a closing bracket (>).

Or it could be subtle, like the use of a non-standard character in the code, like a smart quote, the curly type of quotation mark (“ ”) instead of the expected straight form of quotation mark (” “).

This error commonly occurs when someone copies code from a software device that inserts smart quotes as a default feature.

The curly quotes issue can dramatically disrupt how a webpage is indexed and parsed.

That means that if you use something like this in the HTML code:

<meta name=robots content=noindex>

Google will not see it because the curly quotes (smart quotes) stop it from seeing it as a meta robots tag and will therefore proceed to index the content.

Here’s another example.

If you code a link in this manner:

<a href="https://www.searchenginejournal.com/coding-skills-for-seo/458232/example.com/test.htm">example</a>

The link will be interpreted like this:

https://example.com/test.htm

If, however, you use curly quotes for the same code:

<a href=“example.com/test.htm”>example</a>

The link will be interpreted like this:

https://%E2%80%9Cexample.com/test.htm%E2%80%9D

These kinds of errors are not the kind of thing that an auditing tool is going to automatically find and conveniently add to a list.

You need to know how to code to recognize broken code on a visual inspection or at scale if it shows up as an anomaly on a Screaming Frog scan.

Otherwise, the source of a crawling error will stay hidden until someone who can read HTML or understands the output from an HTML validator can inspect the site.

6. Coding Can Help Break SEO Stalemates

The word stalemate is from the game of chess. It describes a situation where the gameplay is brought to a standstill in which neither side can move to win. It’s essentially a state that counts as a tie.

The same situation happens in competitive industries where everyone uses the same publishing platforms, the same optimization plugins, the same content strategies, and the same link promotion strategies.

The competition between the sites is largely equal, with no site having a clear advantage over the other.

An SEO with coding skills can break that kind of stalemate.

Coding skills allow an SEO to implement solutions that improve templates, CSS, and JavaScript.

For example, many templates ship with liberal use of headings for things that don’t require a heading element, like the navigation on the side panel.

With coding skills, it’s easy to create a child theme and fix the rogue heading elements so that they use CSS and not headings for styling on-page elements.

I’ve used my coding skill to completely change sections of a template so that it’s more user-friendly, change the colors of various on-page elements so that they’re more accessible for color-blind visitors, and add dynamic bits of content using PHP to custom-make title tags as well as to remove superfluous parts of a webpage.

Coding skills help provide a ranking edge to any site and can be used to improve the user experience beyond what a template offers.

It is especially important in competitive niches where competitors are optimized to the highest degree and where squeezing out advantage is at a premium.

7. Troubleshoot A Hacked Site

Website security doesn’t seem something an SEO should be concerned about.

But it becomes very clear that website security is indeed an SEO problem when the search rankings of a hacked site start to disappear.

Knowing how to code, particularly with gaining a general understanding of how PHP files work within a given content management system (CMS), can help demystify a hacking event.

Just knowing the broad outlines of how PHP works and how all the parts of the CMS work together goes a long way to understanding what went wrong and how to fix the problems.

Knowledge of JavaScript is also helpful. Many hacks are based on uploading JavaScript files or injecting JavaScript into other files.

Analyzing recently modified JavaScript files can help confirm that a site has been hacked. More to the point, it can help pinpoint if a specific plugin or WordPress itself is responsible for the hacking.

Some vulnerabilities can lay hidden for months or years before they are discovered. WordPress 5.9.2 was released to address cross-site scripting vulnerabilities that were in the WordPress core itself.

In the case of the WordPress vulnerability, the problem arose due to an arcane coding mistake where the order in which security processes were coded created the situation where a hacker could bypass those same security measures.

It illustrates how mistakes can sneak in through legitimate software and not necessarily be caught in time to prevent a hacking event.

Google might notify the site owner through Google Search Console about a hacked site, but Google Search Console won’t fix it for you.

Some knowledge of how HTML, JavaScript, and/or PHP works can go a long way toward confidently troubleshooting a hacked site.

8. Knowing How To Code Provides Control

When working in a corporate or educational environment where the templates are locked in, and one can’t plug in their way out of a predicament, knowing how to code can speed up the otherwise painful process of publishing webpages.

Whether one works in a Drupal or WordPress environment, having the ability to keep a cheat sheet of code snippets saves so much time, even with something trivial like changing a link without having to go through 10 steps using the native WYSIWYG interface and dealing with idiosyncratic code.

9. Optimize For Page Speed

The suggestions for improving page speed that Google’s PageSpeed Insights provides will no longer be cryptic once one learns how to code.

It’s not like one has to learn how to code an entire website from scratch, either.

All it takes is a general understanding of JavaScript, CSS, and HTML to make sense of what one is supposed to do to make a website work faster.

Concepts like inlining CSS, combining JavaScript, and minifying JavaScript makes more sense when one understands how servers deliver webpages and browsers render the data for site visitors.

10. Master Python

Python is a programming language that can be used to automate a wide range of SEO tasks from crawling, data analysis, natural language processing (NLP), and much more.

One of the great things about Python is that there might not be a need to code a tool from scratch because there are many Python SEO scripts that can be downloaded online.

A great thing about Python is that one doesn’t have to code scripts for all the different SEO tasks that are needed. Many of those scripts are available as downloadable Python libraries containing the relevant modules.

A Python library is a collection of modules. Python modules are the files themselves.

According to Ruth Everett in her Introduction to Python, these are some useful Python libraries:

  • “Pandas: Used for data manipulation and analysis.
  • NumPy: Useful for scientific computing.
  • SciPy: Used for scientific and technical computing.
  • SciKit Learn: Machine learning for data mining and analysis.
  • SpaCy: A great natural language processing library.
  • Requests: A library for making HTTP requests.
  • Beautiful Soup: Used to extract data from HTML and XML files.
  • Matplotlib: For creating visualizations from data.”

Another important Python library is TensorFlow, a free and open source library that can be used for creating machine learning applications.

With TensorFlow, a search marketer can build a neural network or a recommender system.

Directly related to SEO, TensorFlow can be used to automate the process of creating title tags at scale.

A skilled SEO who learns how to use Python will be able to scale their existing skills to new levels.

Learn How To Code

Gaining the ability to code is (arguably) optional, and one can still be a competent SEO without that knowledge.

A person who can code is not necessarily a better search marketer than one who doesn’t know how to code.

But learning how to code can make a good SEO an even better one because knowledge provides advantages.

More Resources:


Featured Image: ASDF_MEDIA/Shutterstock



Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

SEO

WordPress Insiders Discuss WordPress Stagnation

Published

on

By

WordPress Insiders Discuss WordPress Stagnation

A recent webinar featuring WordPress executives from Automattic and Elementor, along with developers and Joost de Valk, discussed the stagnation in WordPress growth, exploring the causes and potential solutions.

Stagnation Was The Webinar Topic

The webinar, “Is WordPress’ Market share Declining? And What Should Product Businesses Do About it?” was a frank discussion about what can be done to increase the market share of new users that are choosing a web publishing platform.

Yet something that came up is that there are some areas that WordPress is doing exceptionally well so it’s not all doom and gloom. As will be seen later on, the fact that the WordPress core isn’t progressing in terms of specific technological adoption isn’t necessarily a sign that WordPress is falling behind, it’s actually a feature.

Yet there is a stagnation as mentioned at the 17:07 minute mark:

“…Basically you’re saying it’s not necessarily declining, but it’s not increasing and the energy is lagging. “

The response to the above statement acknowledged that while there are areas of growth like in the education and government sectors, the rest was “up for grabs.”

Joost de Valk spoke directly and unambiguously acknowledged the stagnation at the 18:09 minute mark:

“I agree with Noel. I think it’s stagnant.”

That said, Joost also saw opportunities with ecommerce, with the performance of WooCommerce. WooCommerce, by the way, outperformed WordPress as a whole with a 6.80% year over year growth rate, so there’s a good reason that Joost was optimistic of the ecommerce sector.

A general sense that WordPress was entering a stall however was not in dispute, as shown in remarks at the 31:45 minute mark:

“… the WordPress product market share is not decreasing, but it is stagnating…”

Facing Reality Is Productive

Humans have two ways to deal with a problem:

  1. Acknowledge the problem and seek solutions
  2. Pretend it’s not there and proceed as if everything is okay

WordPress is a publishing platform that’s loved around the world and has literally created countless jobs, careers, powered online commerce as well as helped establish new industries in developing applications that extend WordPress.

Many people have a stake in WordPress’ continued survival so any talk about WordPress entering a stall and descent phase like an airplane that reached the maximum altitude is frightening and some people would prefer to shout it down to make it go away.

Acknowledging facts and not brushing them aside is what this webinar achieved as a step toward identifying solutions. Everyone in the discussion has a stake in the continued growth of WordPress and their goal was to put it out there for the community to also get involved.

The live webinar featured:

  • Miriam Schwab, Elementor’s Head of WP Relations
  • Rich Tabor, Automattic Product Manager
  • Joost de Valk, founder of Yoast SEO
  • Co-hosts Matt Cromwell and Amber Hinds, both members of the WordPress developer community moderated the discussion.

WordPress Market Share Stagnation

The webinar acknowledged that WordPress market share, the percentage of websites online that use WordPress, was stagnating. Stagnation is a state at which something is neither moving forward nor backwards, it is simply stuck at an in between point. And that’s what was openly acknowledged and the main point of the discussion was understanding the reasons why and what could be done about it.

Statistics gathered by the HTTPArchive and published on Joost de Valk’s blog show that WordPress experienced a year over year growth of 1.85%, having spent the year growing and contracting its market share. For example, over the latest month over month period the market share dropped by -0.28%.

Crowing about the WordPress 1.85% growth rate as evidence that everything is fine is to ignore that a large percentage of new businesses and websites coming online are increasingly going to other platforms, with year over year growth rates of other platforms outpacing the rate of growth of WordPress.

Out of the top 10 Content Management Systems, only six experienced year over year (YoY) growth.

CMS YoY Growth

  1. Webflow: 25.00%
  2. Shopify: 15.61%
  3. Wix: 10.71%
  4. Squarespace: 9.04%
  5. Duda: 8.89%
  6. WordPress: 1.85%

Why Stagnation Is A Problem

An important point made in the webinar is that stagnation can have a negative trickle-down effect on the business ecosystem by reducing growth opportunities and customer acquisition. If fewer of the new businesses coming online are opting in for WordPress are clients that will never come looking for a theme, plugin, development or SEO service.

It was noted at the 4:18 minute mark by Joost de Valk:

“…when you’re investing and when you’re building a product in the WordPress space, the market share or whether WordPress is growing or not has a deep impact on how easy it is to well to get people to, to buy the software that you want to sell them.”

Perception Of Innovation

One of the potential reasons for the struggle to achieve significant growth is the perception of a lack of innovation, pointed out at the 16:51 minute mark that there’s still no integration with popular technologies like Next JS, an open-source web development platform that is optimized for fast rollout of scalable and search-friendly websites.

It was observed at the 16:51 minute mark:

“…and still today we have no integration with next JS or anything like that…”

Someone else agreed but also expressed at the 41:52 minute mark, that the lack of innovation in the WordPress core can also be seen as a deliberate effort to make WordPress extensible so that if users find a gap a developer can step in and make a plugin to make WordPress be whatever users and developers want it to be.

“It’s not trying to be everything for everyone because it’s extensible. So if WordPress has a… let’s say a weakness for a particular segment or could be doing better in some way. Then you can come along and develop a plug in for it and that is one of the beautiful things about WordPress.”

Is Improved Marketing A Solution

One of the things that was identified as an area of improvement is marketing. They didn’t say it would solve all problems. It was simply noted that competitors are actively advertising and promoting but WordPress is by comparison not really proactively there. I think to extend that idea, which wasn’t expressed in the webinar, is to consider that if WordPress isn’t out there putting out a positive marketing message then the only thing consumers might be exposed to is the daily news of another vulnerability.

Someone commented in the 16:21 minute mark:

“I’m missing the excitement of WordPress and I’m not feeling that in the market. …I think a lot of that is around the product marketing and how we repackage WordPress for certain verticals because this one-size-fits-all means that in every single vertical we’re being displaced by campaigns that have paid or, you know, have received a a certain amount of funding and can go after us, right?”

This idea of marketing being a shortcoming of WordPress was raised earlier in the webinar at the 18:27 minute mark where it was acknowledged that growth was in some respects driven by the WordPress ecosystem with associated products like Elementor driving the growth in adoption of WordPress by new businesses.

They said:

“…the only logical conclusion is that the fact that marketing of WordPress itself is has actually always been a pain point, is now starting to actually hurt us.”

Future Of WordPress

This webinar is important because it features the voices of people who are actively involved at every level of WordPress, from development, marketing, accessibility, WordPress security, to plugin development. These are insiders with a deep interest in the continued evolution of WordPress as a viable platform for getting online.

The fact that they’re talking about the stagnation of WordPress should be of concern to everybody and that they are talking about solutions shows that the WordPress community is not in denial but is directly confronting situations, which is how a thriving ecosystem should be responding.

Watch the webinar:

Is WordPress’ Market share Declining? And What Should Product Businesses Do About it?

Featured Image by Shutterstock/Krakenimages.com

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

Google’s New Support For AVIF Images May Boost SEO

Published

on

By

Google's New Support For AVIF Images May Boost SEO

Google announced that images in the AVIF file format will now be eligible to be shown in Google Search and Google Images, including all platforms that surface Google Search data. AVIF will dramatically lower image sizes and improve Core Web Vitals scores, particularly Largest Contentful Paint.

How AVIF Can Improve SEO

Getting pages crawled and indexed are the first step of effective SEO. Anything that lowers file size and speeds up web page rendering will help search crawlers get to the content faster and improve the amount of pages crawled.

Google’s crawl budget documentation recommends increasing the speeds of page loading and rendering as a way to avoid receiving “Hostload exceeded” warnings.

It also says that faster loading times enables Googlebot to crawl more pages:

Improve your site’s crawl efficiency

Increase your page loading speed
Google’s crawling is limited by bandwidth, time, and availability of Googlebot instances. If your server responds to requests quicker, we might be able to crawl more pages on your site.

What Is AVIF?

AVIF (AVI Image File Format) is a next generation open source image file format that combines the best of JPEG, PNG, and GIF image file formats but in a more compressed format for smaller image files (by 50% for JPEG format).

AVIF supports transparency like PNG and photographic images like JPEG does but does but with a higher level of dynamic range, deeper blacks, and better compression (meaning smaller file sizes). AVIF even supports animation like GIF does.

AVIF Versus WebP

AVIF is generally a better file format than WebP in terms of smaller files size (compression) and image quality.  WebP is better for lossless images, where maintaining high quality regardless of file size is more important. But for everyday web usage, AVIF is the better choice.

See also: 12 Important Image SEO Tips You Need To Know

Is AVIF Supported?

AVIF is currently supported by Chrome, Edge, Firefox, Opera, and Safari browsers. Not all content management systems support AVIF. However, both WordPress and Joomla support AVIF. In terms of CDN, Cloudflare also already supports AVIF.

I couldn’t at this time ascertain whether Bing supports AVIF files and will update this article once I find out.

Current website usage of AVIF stands at 0.2% but now that it’s available to surfaced in Google Search, expect that percentage to grow. AVIF images will probably become a standard image format because of its high compression will help sites perform far better than they currently do with JPEG and PNG formats.

Research conducted in July 2024 by Joost de Valk (founder of Yoast, ) discovered that social media platforms don’t all support AVIF files. He found that LinkedIn, Mastodon, Slack, and Twitter/X do not currently support AVIF but that Facebook, Pinterest, Threads and WhatsApp do support it.

AVIF Images Are Automatically Indexable By Google

According to Google’s announcement there is nothing special that needs to be done to make AVIF image files indexable.

“Over the recent years, AVIF has become one of the most commonly used image formats on the web. We’re happy to announce that AVIF is now a supported file type in Google Search, for Google Images as well as any place that uses images in Google Search. You don’t need to do anything special to have your AVIF files indexed by Google.”

Read Google’s announcement:

Supporting AVIF in Google Search

Featured Image by Shutterstock/Cast Of Thousands

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

CMOs Called Out For Reliance On AI Content For SEO

Published

on

By

CMOs Called Out For Reliance On AI Content For SEO

Eli Schwartz, Author of Product-Led SEO, started a discussion on LinkedIn about there being too many CMOs (Chief Marketing Officers) who believe that AI written content is an SEO strategy. He predicted that there will be reckoning on the way after their strategies end in failure.

This is what Eli had to say:

“Too many CMOs think that AI-written content is an SEO strategy that will replace actual SEO.

This mistake is going to lead to an explosion in demand for SEO strategists to help them fix their traffic when they find out they might have been wrong.”

Everyone in the discussion, which received 54 comments, strongly agreed with Eli, except for one guy.

What Is Google’s Policy On AI Generated Content?

Google’s policy hasn’t changed although they did update their guidance and spam policies on March 5, 2024 at the same time as the rollout of the March 2024 Core Algorithm Update. Many publishers who used AI to create content subsequently reported losing rankings.

Yet it’s not said that using AI is enough to merit poor rankings, it’s content that is created for ranking purposes.

Google wrote these guidelines specifically for autogenerated content, including AI generated content (Wayback machine copy dated March 6, 2024)

“Our long-standing spam policy has been that use of automation, including generative AI, is spam if the primary purpose is manipulating ranking in Search results. The updated policy is in the same spirit of our previous policy and based on the same principle. It’s been expanded to account for more sophisticated scaled content creation methods where it isn’t always clear whether low quality content was created purely through automation.

Our new policy is meant to help people focus more clearly on the idea that producing content at scale is abusive if done for the purpose of manipulating search rankings and that this applies whether automation or humans are involved.”

Many in Eli’s discussion were in agreement that reliance on AI by some organizations may come to haunt them, except for that one guy in the discussion

Read the discussion on LinkedIn:

Too many CMOs think that AI-written content is an SEO strategy that will replace actual SEO

Featured Image by Shutterstock/Cast Of Thousands

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending