Programming for SEOs (2024)

The author's views are entirely his or her own (excluding the unlikely event of hypnosis) and may not always reflect the views of Moz.

Maybe it's crossed your mind once or twice before:You know, this would be a lot easier if I just knew how to program. But it's an intimidating subject, especially if you're not sure of your technical expertise, and there's so much to learn that it's hard to know where to start.

In today's Whiteboard Friday, master technical SEOPaul Shapiroshares why it's so important for SEOs and marketers to take the programming plunge, explains key concepts, and helps you determine the best course of action for you to get started when it comes to leveling up your technical prowess.

Programming for SEOs (1)

Click on the whiteboard image above to open a high resolution version in a new tab!

Video Transcription

Howdy, Moz fans. Paul Shapiro here, Head of SEO at Catalyst. I'm here to talk to you today about programming for SEOs and marketers.

Why should you learn how to program?

I think there are really several key benefits to learning how to program.

1. Improved developer relations

First, being developer relations. As SEOs, we're constantly working with developers to implement our recommendations. Understanding why they make certain decisions, how they think is really pivotal to working with them better.

2. Become a better technical SEO

Understanding how to program makes you a better technical SEO. Just understanding the construction of websites and how they operate really helps you do a lot better with your SEO. Automation. As marketers, as SEOs, we all sometimes do very repetitive tasks, and being able to cut down on the time spent to do those repetitive tasks is really key.

It really opens up the opportunity to do things and focus more on strategy and the other things that you can't leave to automation.

3. Leveling up your data analysis

If anyone is familiar with this number, 1,048,576, that's the row limit in Microsoft Excel.

As marketers, we're swimming in a sea of data. It's very easy to work with a dataset that well exceeds that. I often work with hundreds of millions of rows of data. Utilizing a program language like R or Python is a really good way of handling that amount of data.

4. Literacy

It's becoming really, really more common in the States to be taught how to program in elementary school. So by learning how to program, you're on equal footing with the children of the world, people that may enter the workplace in the future. So you don't even have to learn how to program in depth. But I do recommend you at least understand the concepts and logic behind programming.

Which language should you learn?

Oftentimes I hear people say, "I did a little bit of programming in college or high school. I learned so-and-so language." To them, I say, "You're in great shape. Stick to whichever programming language you're comfortable with." You don't have to start from square one.

Programming for SEOs (2)

A lot of the programming languages share a common logic. But if you are starting from square one and you need to just decide on which programming language I'm going to learn today, I have two recommendations.

Python

If you're going down the path of data analysis, your primary reason for learning how to program is to work with data and do more sophisticated things with data, then I think there's no better language than Python.

Python is very well-equipped. There are lots of libraries designed specifically for data analysis, and it's a very much more robust language than something like R.

JavaScript

If you're going down the path of web development, you want to be a better technical SEO, you want to understand how websites are constructed, JavaScript is an incredibly robust programming language that has boomed in usage on websites over the last few years.

It's also very capable of doing backend web development with a language like Node.js, which is just a variant of JavaScript. The only issue with learning JavaScript is I would say that you need to learn CSS and HTML first. So there's a little bit more of a learning curve than say learning Python.

Example concepts

Now I want to go through some basic programming concepts so that you walk away feeling a little bit more comfortable with the idea of learning a program so it's a little less intimidating.

Variables

The first concept I want to go through is the idea of a variable. These are just like algebra, like basic algebra.

So you can assign x is equal to 2 or any other value, and then we can use that later. So x plus 2 is 4. Variables can have any name. We're using Python syntax as an example. So the first variable we have is a variable called "animal,"and it's equal to the value "cat."

This is a string, which is just a bit of text that we assign to it. Now variables could be of many different types. So the variable "number" can be equal to 2, an integer. Or the variable "colors" can be a list, which is a type of Python array. Arrays are just variables with multiple values. So in this instance, colors is equal to red, blue, and green, and it's just denoted with the brackets.

Conditions

The next concept I'd like you to understand is conditions, so if/else being a basic condition that we would work with. It reads a lot like English. So if the variable "animal" is equal to "cat," which it is, print out the text "MEOW!" If "animal" wasn't equal to "cat," say it was equal to "dog,"then we would print out "Woof!"

Then the output, since "animal" is equal to "cat," is "MEOW!" Loops. There are many different types of loops. I'm going to use a for loop as an example. Again, it reads a little bit like the English language. So we have a variable "colors,"which we know is equal to red, blue, and green.

So we want to say for every value in that variable "colors,"print out that value. So for x in colors, print (x). It will go through each one, one at a time and print it out. So the first value is red. It gets printed out. The second value is blue. It gets printed out.

Functions

The last value is green. It gets printed out, and the code ceases. Now the last concept I want to explain is functions. Functions very simply are reusable snippets of code. So we have a very basic function here, which we define as moz, so the function moz, which has the value one line of code print ("WBF!") for Whiteboard Friday.

If we execute the function moz, it will print out the value "WBF!" So all these concepts in themselves aren't very useful. But when you start really programming and you start stringing them all together, you're doing all sorts of sophisticated things, and it becomes very, very powerful building blocks to doing much greater things.

Learning resources

So now that you understand programming and why you should do it, I want to leave you with some resources to actually learn.

Lynda/LinkedIn Learning

The first resource I recommend is Lynda. It got rebranded LinkedIn Learning. The reason why I recommend Lynda is because many, many public libraries offer you a subscription for free.

There's a ton of different programming classes in there. You can certainly get a Python class. Many levels of advanced Python and JavaScript. You can also learn other things, which I think is pretty cool. So I definitely recommend Lynda/LinkedIn Learning.

Codeacademy

When I was learning to program originally, I actually went to the library and had to take out books and try to do it myself. Nowadays, there are tons of other resources, like Codecademy.

Codecademy is fantastic. It's completely interactive. So it will go through all the various concepts, and one by one it will ask you to sort of perform them in a very logical manner so you learn it in an optimal way. I definitely recommend Codecademy. They have both a JavaScript and a Python module. The MOOCs online.

Coursera

If you are the person that needs a more traditional classroom environment, you can learn for free, replicating that classroom environment at home. These are websites like Coursera. A lot of the major universities offer them. There are courses there. W3Schools, which is very valuable for any sort of web development, they have very good, very basic tutorials on JavaScript and CSS and HTML and anything you might need to learn web development.

Python for Data Analysis

It also acts as an invaluable reference guide. If you're interested in learning Python for data analysis, there's one book that I highly recommend. It is "Python for Data Analysis" by McKinney. That's an O'Reilly book. McKinney was the creator of Pandas, which is a very well used Python library for data analysis. So hopefully you've walked away a little less scared of programming and are excited to learn.

Bonus: FreeCodeCamp

Another great free resource for learning web development and JavaScript is FreeCodeCamp.org.

Leave your comments in the section below. Thanks for watching. Till next time.

Video transcription by Speechpad.com

Did you miss Paul's awesome talk at MozCon 2019,Redefining Technical SEO? Download the deck here and don't miss out on next year's conference — super early bird discounts are available now!

Save my spot at MozCon 2020

Programming for SEOs (2024)

FAQs

What programming language is used for SEO? ›

JavaScript. If you're going down the path of web development, you want to be a better technical SEO, you want to understand how websites are constructed, JavaScript is an incredibly robust programming language that has boomed in usage on websites over the last few years.

Do we need programming for SEO? ›

The short answer is: no, SEO typically doesn't require much (or any) hands-on coding. You can absolutely do a fine job of SEO without touching code. But the longer answer is that yes, a good sense of how programming works, or even an ability to do a bit of coding yourself, is always a useful skill to have.

Is SEO easier than programming? ›

There is no easy answer to this question, as it depends on individual preferences and priorities. Programming is a more technical field, while SEO involves more marketing and advertising. Both jobs have their pros and cons, so it ultimately comes down to what you are interested in and what you want to achieve.

What are the 4 main components of an SEO? ›

The four pillars of SEO
  • technical SEO: How well your content can be crawled and indexed.
  • content: Having the most relevant and best answers to a prospect's question.
  • on-site SEO: The optimization of your content and HTML.
  • off-site SEO: Building authority to ensure Google stacks the deck in your favor.
Nov 1, 2017

Should I learn Python for SEO? ›

Python is all about automating repetitive tasks, leaving more time for your other Search Engine Optimization (SEO) efforts. Not many SEOs use Python for their problem-solving, even though it could save you a lot of time and effort. Python, for example, can be used for the following tasks: Data extraction.

Can Python help SEO? ›

Python is an amazing programming language that will help you become better SEOs. You can use python for SEO by dropping your reliance on Excel and stop using spreadsheets, by leveraging APIs, automating the boring tasks and by implementing machine learning algorithms.

Is SEO difficult to learn? ›

SEO is not that hard to learn, but it can be confusing and overwhelming to get started. Learning SEO means learning about a long list of individual digital marketing strategies, which can feel a bit like adding new weapons to your arsenal as you learn how to wield them.

Is SEO high paying? ›

At the median, an SEO Specialist earns $49,000 a year, with SEO Managers' median salaries sitting significantly higher, at around $63,000. At the high end are SEO Directors—who typically earn between $70,000 and $120,000—and SEO Team Managers and Campaign Managers, in the $50,000 to $100,000 range.

Does SEO use SQL? ›

As an SEO, SQL can help you automate manual tasks, speed up processes and workflows, and ultimately get more out of the data you are already using.

Should I learn HTML for SEO? ›

At its most basic form, you can do SEO without HTML knowledge, but being familiar with it is recommended. Hypertext Markup Language (HTML) is the code that is used to arrange and convey how pictures and information should be presented on a website.

How much does a beginner SEO make? ›

While freshers can earn around Rs. 1.8-2.8 LPA, professionals with over 5-8 years of SEO experience can make around Rs. 3.5-6.6 LPA. As for senior-level SEO salary in India (for job roles that demand over ten years of experience), the annual remuneration is even higher, ranging between Rs.

Can you learn SEO in 3 months? ›

Experts say it usually takes one to three months to learn the foundations of SEO and a year or more to master the practice fully. The length of time it takes to learn the basics of SEO depends upon several factors.

What are the 3 pillars of SEO? ›

The Three Pillars Of SEO: Authority, Relevance, And Experience.

How do you create a SEO strategy? ›

With that, here are the steps to create an SEO strategy in 2022:
  1. Step #1: Create a List of Keywords.
  2. Step #2: Analyze Google's First Page.
  3. Step #3: Create Something Different or Better.
  4. Step #4: Add a Hook.
  5. Step #5: Optimize For On-Page SEO.
  6. Step #6: Optimize For Search Intent.
  7. Step #7: Focus on Content Design.
Oct 13, 2021

Can SEO be self taught? ›

Although others can facilitate learning, nobody can teach you anything--they can only inspire you to teach yourself. That means if you want to learn search engine optimization (SEO), you'll have to take matters into your own hands. Having run an SEO firm for the past 15 years I had to train myself on everything I know.

Can I learn SEO in 2 months? ›

Yes, you can learn SEO in two months. However, how much you learn during that time depends on how much time you devote to learning SEO every day.

How many hours does it take to learn SEO? ›

#4: How much time you have to learn SEO

If you can learn SEO for a couple of hours every day, then you can master the basics of SEO within 4-8 weeks and land your first SEO job in 3-6 months. If you can learn SEO full-time, then you can master the basics even within 1-2 weeks.

Is SEO still in demand? ›

Become a Certified Digital Marketer Today

Pro-tip: Learn these and more skills with a structured SEO certification Course. SEO professionals are in high demand, as companies need search optimization in order to compete in most niches.

Does Netflix use SEO? ›

SEO helps boost Netflix's organic search. They use relevant keywords and optimise their content and URL structure for geotargeting. Besides the content, Netflix also works on their website authority to boost its visibility.

How much do SEO freelancers make? ›

How much does a SEO Freelancer make? As of Feb 8, 2023, the average annual pay for a SEO Freelancer in the United States is $63,790 a year. Just in case you need a simple salary calculator, that works out to be approximately $30.67 an hour. This is the equivalent of $1,226/week or $5,315/month.

Are SEO certifications worth it? ›

SEO certifications can be valuable if you're new to the industry or expanding your skillset into different disciplines. But do you need a specific certification to be successful? Probably not. Certifications and courses are great for building your base skills and familiarity with industry tools.

Is SEO still relevant in 2022? ›

The fact that SEO works perfectly fine even in 2022 as a method of delivering improved commercial outcomes for business websites and their owners, combined with the need for ongoing research into what works, makes it still relevant as a digital marketing method, but even more so as a valuable service and a rewarding ...

Is SEO a stressful job? ›

Any job can be stressful based on the type of performance required by your company. It is the same with SEO-related jobs. However, it is not as stressful as IT or other programming-related jobs.

What is the #1 highest paid position? ›

Highest-Paying Careers
RankOccupationTypical Education
1Obstetricians and GynecologistsDoctoral or professional degree
1Ophthalmologists, Except PediatricDoctoral or professional degree
1Oral and Maxillofacial SurgeonsDoctoral or professional degree
8 more rows

What is the monthly income of an SEO expert? ›

The estimated total pay for a SEO is BDT 214,000 per month in the Bangladesh area, with an average salary of BDT 64,000 per month.

Is SQL better than Python? ›

Functionality. Python offers a broader range of functionality than SQL with its ecosystem of third-party libraries, making it applicable to many applications like Machine Learning, exploratory data analysis, and API development. For SQL, there are limited packages to help improve functionality.

Which algorithm is used in SEO? ›

What is a Google algorithm for SEO? As mentioned previously, the Google algorithm partially uses keywords to determine page rankings. The best way to rank for specific keywords is by doing SEO. SEO essentially is a way to tell Google that a website or web page is about a particular topic.

Is SEO front end or backend? ›

SEO is part of Digital Marketing. You have nothing to do with development. It's about the way in which you present your front end with help of implementing the SEO On Page factors from the back end with an user friendly interface.

Should I learn Python or HTML first? ›

There's no definite rule that states what programming language you learn first. Both HTML and Python are easy to learn, and you can choose to get started with either of these programming languages depending on the area of development you want to focus on.

Should I learn HTML or C++ first? ›

It kinda depends on what you want to do but I will choose C++ because for a beginner it may be easier to learn.

Can SEO make you a millionaire? ›

Can SEO make you a millionaire? That depends entirely on your skills and ability to scale. The simple answer is that SEO can be a great way to make a decent living, and provided you have the skills to scale an SEO practice, the sky's the limit.

How can I get SEO with no experience? ›

Register for a freelancer account on sites like Upwork, Fiverr, and PeoplePerHour. On a daily basis, these portals publish hundreds of SEO jobs. Sort through the requests and apply for SEO tasks that you can do with your present skills and experience. To secure a few contracts, keep your prices cheap.

What should I learn first in SEO? ›

Keyword research should be the very first step on your SEO journey. It is especially important in two common scenarios: Getting to know your niche – when starting a new website, keyword research can provide a great overview of what sub-topics are interesting for people in your niche or industry.

Will SEO exist in 5 years? ›

One thing is sure, however: SEO will be around for a long time. As long as search engines exist and internet users continue to use keywords and phrases to find what they're looking for, the search engine business will continue.

Does SEO have a future? ›

Some of the prominent ways in which AI tools have proven their effectiveness are SEO keyword research, content creation, traffic and site growth analysis, voice search, and SEO workflows. These applications have made it evident that the future of SEO is in Artificial Intelligence.

What are the 12 things to know about SEO? ›

12 SEO Tips to Boost Your Organic Rankings & Traffic
  • Target Relevant Primary and Secondary Keywords. ...
  • Write Quality Original Content. ...
  • Format Your Content for Search Engines & Target Featured Snippets. ...
  • Optimize Your Page Title and Meta Description. ...
  • Use Short, Descriptive URLs.
Feb 4, 2022

What is SEO structure? ›

Site structure is a vital aspect of your SEO strategy. Why? Because the structure of your website shows Google which pages of your site are most important. This means you can influence which content will rank highest in the search engines with your site's structure.

What is the golden rule of SEO? ›

Well-written content engages the reader, increases search engine rankings and traffic, and increases the likelihood of quality links from other sites.

Why is SEO so difficult? ›

It is a very complex set of tasks and to top it all off SEO changes dramatically all the time, so the fundamental best practices are often very very similar from year to year but there's always nuance, new additions, new opportunities, new ways that the search engines are changing up what the results look like, how you ...

What is the most difficult part of SEO? ›

Here's a look at four of the most challenging parts of search engine optimization.
  • Finding Trusted Information. ...
  • Taking a Comprehensive Approach. ...
  • Convincing Others that SEO Matters. ...
  • Paving the SEO Road. ...
  • The Importance of a Great SEO Strategy.
Dec 10, 2014

What are the 4 types of SEO? ›

Having cleared up the approaches to search engine optimization, we can now go through what the different types of SEO are.
  • On-page SEO (on-site SEO) ...
  • Off-page SEO (off-site SEO) ...
  • Technical SEO. ...
  • Local SEO.
Oct 6, 2021

What are the 4 stages of SEO? ›

Here are the four steps of the SEO process:
  • Get your technicals right.
  • Find a keyword to target.
  • Create an optimized page.
  • Build links to it.
Jan 30, 2023

Is HTML better for SEO? ›

In conclusion, having clean and valid HTML code is important for SEO and can also improve the user experience and accessibility of your website. Make sure to regularly check and fix any coding errors to ensure that your website is optimized for search engines and provides a great experience for your visitors.

Does SEO use HTML? ›

HTML is the language that you can use to tell search engines exactly what your website is about and how they should rank you. Anyone who isn't using these tags is missing out on a significant portion of SEO opportunity.

Is HTML or WordPress better for SEO? ›

WordPress websites are better for SEO for two reasons. One is that they are easier to update. The other reason is that WordPress has a lot of plugins that make it easy to optimize your site for SEO. WordPress websites are better than static sites because they are easier to update and have more plugins to help with SEO.

Is it better to learn Python or HTML? ›

While HTML is useful for website development, Python is a general-purpose programming language with several project chances in areas such as software and web development, machine learning, and data science. Python was ranked fourth among programming languages in the Stack Overflow 2020 survey.

Is HTML or Python easier? ›

There's no definite rule that states what programming language you learn first. Both HTML and Python are easy to learn, and you can choose to get started with either of these programming languages depending on the area of development you want to focus on.

How to write SEO code? ›

Best practices
  1. Watch the length - Google will only display the first 50-60 characters of your title, and cut the rest. ...
  2. Include a reasonable number of keywords - Keyword stuffing is likely to get penalized, but one or two keywords will be fine. ...
  3. Write good copy - Don't be salesy, and don't be generic.
Mar 27, 2020

Does Google run JavaScript for SEO? ›

While Google Search runs JavaScript with an evergreen version of Chromium, there are a few things that you can optimize. This guide describes how Google Search processes JavaScript and best practices for improving JavaScript web apps for Google Search.

How to write HTML code for SEO? ›

HTML Tags to Know for SEO hide
  1. Use Title Tags.
  2. Fine-Tune Meta Description Tags.
  3. Don't Underestimate Header Tags.
  4. Add Alt Tags in Images.
  5. Building Links.
  6. Add Open Graph Tags.
  7. Twitter Card Tags.
  8. The Robots Tag.

Top Articles
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 6406

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.