Prompt Tracking
Measure and optimize your brand visibility in ChatGPT and AI.
Claude
Monitor how Claude positions your brand in its answers.
Soon
AI Tracker
Measure the real impact of AI on your SEO.
Gemini
Discover how Google Gemini ranks your brand vs competitors.
Soon
ChatGPT
Track how ChatGPT mentions your brand and competitors.
Soon
Perplexity
Analyze your brand visibility inside Perplexity AI answers.
Soon
PricingDemo

On-Page SEO: The Complete Guide

On-Page SEO: The Complete Guide
David Kaufmann
SEO Tutorials
18 min read

Within the world of digital marketing, and specifically in the discipline of organic search positioning, On-Page SEO plays a crucial role for search engines, since they are the ones that determine whether a page is better or worse optimized and, therefore, whether it has higher or lower chances of achieving top positions in their results pages. On-Page SEO is in charge of exactly this, because nowadays, not having a page that, in the eyes of search engines like Google, meets their "ranking standards" means absolute failure for any SEO campaign.

Throughout this article we are going to see exactly what On-Page SEO is, what the differences are between On-Page and Off-Page, we will also take a detailed look at the key factors that directly influence On-Page SEO, and we will share some tools for its optimization. Shall we begin? Let's go!

What is On-Page SEO?

In the introduction of this article, we have already hinted at what On-Page SEO is, but now, and in order to get a broader picture of what it means, let's provide a definition:

On-Page SEO refers to all those techniques and actions that we carry out specifically on our website, with the aim of improving and optimizing it, following the patterns and standards recommended by search engines, in order to achieve better rankings on their results pages.

Investing in solid On-Page SEO work is one of the simplest and most profitable things we can do to obtain permanent traffic and organic visits to our site. That's why learning to master it must be a priority within our optimization strategy for our SEO projects.

SEO Tip: From our agency, we want to tell you that if you want to do great On-Page SEO work, start by putting together an SEO checklist where you structure, phase by phase, each of the tasks and their execution times. This will allow you to be more efficient and productive, and it will also help you apply the same approach to future SEO projects.

Differences between On-Page SEO and Off-Page SEO

If On-Page SEO refers to everything that we can work on (and therefore control) internally on our website (content, internal links, images, keywords...), Off-Page SEO is the one that focuses exclusively on optimizing factors external to our website, such as incoming links (backlinks), social media, and viral marketing.

Separately, both disciplines cover different optimization factors, but together they complete the entire structure of the SEO pyramid.

Key factors in On-Page SEO

Next, we are going to look at the factors that come into play when implementing an On-Page SEO strategy:

Domains

One of the most important elements of a website is its domain. Search engines like Google give a certain amount of relevance and weight in ranking to those domains that contain the main keyword of the brand or company. Although it is not an indispensable requirement, it helps to rank on the results pages.

In addition, including the main keyword will help a lot with web popularity (Off-Page SEO), since all the external links we get pointing to our domain will include, in the anchor text, the keyword we want to rank for.

Let's imagine that we have an online business and we sell snowboards, and our domain name is "www.snowboards.com". The fact of having this domain registered will add points for the website to be listed in the top positions of the search engines for the keyword "snowboards".

However, buying a domain name with the target keyword of our ranking strategy is not that easy. In many cases, we will likely find that the domain name is already taken in several of its versions (.com, .net, .es, etc.). At that point, we will probably have to choose a domain name separated by a hyphen (for our example: "www.snow-boards.com"). This type of domain has as much value in terms of ranking as one without the hyphen, but of course, in terms of branding, a domain without a hyphen is much more effective.

[caption id="attachment_13711" align="aligncenter" width="1106"]

The importance of the domain in On-Page SEO
The importance of the domain in On-Page SEO
Example of a domain with an exact keyword match.[/caption]

[caption id="attachment_13719" align="aligncenter" width="1143"]

The importance of the domain in On-Page SEO
The importance of the domain in On-Page SEO
Having a domain name that contains the keyword our potential customers search for is an important SEO advantage.[/caption]

Domain age

In terms of SEO ranking, we can say that a website with a certain domain age carries relevance for search engines. This is reasonable, in the sense that a recently created site needs between a month and a half and two months to index all its content and rank for the most general searches. To rank in the top positions of the SERPs, a little more time is required (between 6 months and 1 year)... as long as you are consistent in your work and apply "White Hat" practices!

There are tools on the market, such as Whois, that allow you to check a domain's data (domain name, age, server name, IP, DNS...) through a search engine based on the TCP protocol (Request/Response).

Parked domains

Parked domains are those that are not being used and are instead "parked", generally redirecting traffic to another site through permanent redirects. As a result, search engines usually do not crawl them, let alone index them.

SEO Tip: If you decide to launch a ranking project under a parked domain, we recommend that you first focus on generating quality content and, once a reasonable period of time has passed (at least 6 months), register the domain in Google, generate a new sitemap file, and start adding it to the domain, always following the search engine's quality guidelines.

Meta tags and structured data

Meta tags are a key piece in an On-Page SEO optimization strategy, since it is through them that Google can read them, collect their data, and display them on the results pages. If you use a content manager such as WordPress, there are excellent plugins like Rank Math that have advanced features for optimizing these meta tags and can be very useful to you.

Recommended article: Rank Math: The Best SEO Plugin for WordPress

Optimizing the Title tag

The <title> tags of pages, in addition to positively influencing a website's SEO from a relevance standpoint, are a very visible element in the SERPs for users, which is why it is critical that they be optimized following the tips we provide from SEO Alive:

  • They should be relevant, descriptive, and unique (specific) titles for each of the website's pages.
  • They should be different from and complementary to the meta description tags.
  • They should include the most important keywords of the page always at the beginning of the title.
  • They should include the site name and/or brand name at the end.
  • They should be clear and concise (Google displays between 55 and 60 characters), so it is important to keep them below that length.

[caption id="attachment_13740" align="aligncenter" width="1083"]

SEO-optimized snippet
SEO-optimized snippet
Example of a Snippet with the optimized "Title" tag from zalando.es[/caption]

Optimizing the Meta description tag

For some time now, Google no longer considers meta descriptions as a ranking factor per se; however, just like title tags, they are highly visible in search results and serve as a description and CTA (call to action) to capture users' attention and invite them to visit the website.

Once again, at SEO Alive we want to give you a series of tips to optimize the meta descriptions of your website:

  • They should be unique, descriptive, and relevant for each page of the website.
  • They should complement and expand the information of the <title>.
  • Add a CTA inviting users to access the website (encourages engagement).
  • Do not exceed the number of characters allowed by Google (150-160 max).

An example of an optimized meta description would be the following:

[caption id="attachment_13750" align="aligncenter" width="849"]

Meta description optimized for On-Page SEO
Meta description optimized for On-Page SEO
Example of an optimized Meta description[/caption]

Optimizing Headers

Headers are those sections of the content that are displayed through the <h1>, <h2>, <h3> tags, etc. They are used for the headings and subheadings of the page content, and both search engines and users take them into great consideration to understand and reflect the topic of the page.

For a good content structure, and therefore a solid hierarchical-semantic architecture, headers must maintain consistency among themselves, with h1 being the main one and h2, h3...h6 being of a lower hierarchical level.

Below, we are going to show an example of the use and optimization of headers:

[caption id="attachment_13768" align="aligncenter" width="1902"]

Headers for On-Page SEO
Headers for On-Page SEO
Example of the use and optimization of header tags on SEO Alive[/caption]

Geographic targeting: The Hreflang tag

If our project is focused on international SEO, using the *hreflang *tags, we identify the language and country each page of our site targets, so we can position the correct version in each case in the search results and understand the relationship between them.

Hreflang tags must be included in the </head> section area of the HTML code (although they can also be specified in the http header or in the XML sitemap files), and the goal is to specify for each page its language and, alternatively, the country, also including its alternative versions focused on other languages and countries.

[caption id="attachment_13780" align="aligncenter" width="1902"]

hreflang tags
hreflang tags
Hreflang tags on TripAdvisor[/caption]

Avoiding duplicate content: The rel= "canonical" tag

It is well known in the SEO world that duplicate content can negatively affect a website, in addition to potentially causing more than one headache with Google penalties or legal actions from the owners of other websites.

The rel= "canonical" tag is used in search engine optimization to avoid this issue and indicate to Google which is the "canonical" version that we want to show to the user, in order to avoid engaging in negative practices in the eyes of the search engine.

There are strategies to avoid duplicate content, such as the use of redirects, the canonical tag of course, or implementing crawling directives for search engine bots with the robots.txt file.

If you want to dive deeper into this topic, our SEO, Rocío Luque, has prepared a very technical article on the use and importance of this tag. Don't miss it!

Recommended article: The Importance of the rel= "canonical" Tag in SEO

Rich Snippets

Rich snippets are fragments of structured data that appear in Google's SERPs when a search is carried out for a specific term or keyword. They are generally composed of: a title, two lines of text with content relevant to users' search intent (images, videos, reviews, ratings...), and the URL of the website they refer to.

Through so-called structured data markup, whose guidelines are defined by schema.org, certain information can be added to make snippets more attractive, with XHTML code (microformats) that, when identified by Google, is turned into additional information to display in the search results.

The advantages of using rich snippets are several: improving our website's indexation, linking content between multiple pages through sitelinks, or highlighting content with rich fragments (images and videos) in search engines.

Sitemap.xml

The sitemap file is an XML-encoded file that must be uploaded to the server root to tell Google all the URLs we want to be crawled, the crawling priority we assign to each page, the date the content was updated, as well as the frequency with which we recommend it should be visited again. At the same time, it cannot contain more than 50,000 URLs, nor can it weigh more than 10 MB.

These files can help us improve our website's indexation, establish an SEO-friendly web structure, and detect errors much more quickly. Their use is more than recommended; it is mandatory to facilitate Google's crawling and indexing process.

There are many types of sitemap.xml and below we show you an example of the sitemap of one of our clients at the SEO Alive agency so that you can get an idea of its structure and encoding:

[caption id="attachment_13793" align="aligncenter" width="938"]

sitemap xml
sitemap xml
Example of the sitemap.xml file of our client Chess.com, which is organized by language and classified by content category.[/caption]

Robots.txt

Another optimization factor within an On-Page SEO strategy is the robots.txt file. It is a plain text file (.txt) in which we give certain directives to Google to facilitate or block access to directories, subdirectories, pages, and sections of our website. In this way, we can control everything we want the search engine bots to have access to or not. If you don't know what we are talking about, you can check out our guide where we explain in depth everything you need to know about this file, which is so necessary for SEO ranking.

Recommended article: Complete Guide to the robots.txt File

Internal linking optimization

If you want your project to reach the top positions on search engine results pages, you cannot afford to neglect implementing an internal linking strategy. Internal linking is vitally important not only so that search engine spiders can easily find all the pages of our website, but it is also important to pass link juice or popularity and relevance between them. Take care of your internal links; they will help you improve your On-Page SEO!

Image optimization

Website images are not only useful for making your content more attractive and capturing users' attention, but they also offer the possibility of attracting additional visibility and traffic through image search and universal results (Universal Search), which display images for certain types of searches.

Including a unique, relevant text in the ALT description (the "alt" attribute included in the <img> tag in the HTML code) of each image, describing it and using the keywords for which you want to rank, will add points to improve your website's On-Page SEO. Don't forget to optimize them!

The importance of optimized content

How many times have we heard the phrase "Content is king"? Well yes, in SEO it holds 100% true! At SEO Alive, we want to give you a series of tips for having well-optimized content:

  • Create content that is accessible and indexable to search engines and, of course, visible to the user.
  • Content must be relevant and descriptive for the topic it addresses, naturally using the keywords you want to rank for.
  • Content must be unique per page, not duplicated internally (on other pages of the site) or externally (from other sites).
  • Generate at least 500 words of specific text per page to avoid falling into Thin Content or "poor content".
  • Create content that responds to users' interests as well as the business objective of your website.

Follow these tips and you will maximize your On-Page SEO!

Website architecture

Last but not least for your On-Page SEO optimization strategy is web architecture. A good hierarchical organization of all content at the level of taxonomies and folksonomies will help your site's ranking, will favor internal linking, indexation, and crawling by search engines, and will help users find the content they are looking for. Creating a solid SEO architecture is essential for your projects!

Loading speed

Loading speed, or WPO, tends to be one of the most overlooked factors. We focus on design and visuals, which is very important, but the way pages are built can make the difference between success and failure in terms of speed and user experience.

WPO (Web Performance Optimization)

Since 2018, Google officially announced that the weight of loading speed as a ranking factor and its influence on rankings were going to be taken into consideration for all websites that want to rank in the search engine. The reason has a lot to do with user experience (UX), since users, with the growing use of mobile devices, increasingly demand fast websites that offer good performance.

[caption id="attachment_13846" align="aligncenter" width="1339"]

WPO GTMetrix
WPO GTMetrix
WPO speed values in GTMetrix for our website.[/caption]

At SEO Alive we always go one step further! That's why we have prepared a very complete WPO guide where we explain how to measure a website's loading speed, what tools are necessary for its correct implementation, how to configure caching, minify HTML and JS code, WordPress plugins to carry out these tasks... and much more!

Recommended article: WPO Guide to Optimize Your Website's Speed

AMP (Accelerated Mobile Pages)

Another of the revolutions that Google announced for 2015, and which was a boom in the SEO world, were the pages that implemented AMP. Its operation is based on creating lighter pages that contain fewer resources. To do this, JS code is loaded asynchronously and the critical CSS paths are recalculated, resulting in a much faster page.

Within the SEO community, this technology is being implemented more and more, despite conflicting opinions due to the advantages and disadvantages that using it may entail.

As advantages of using AMP, we can list:

  • A very positive impact on a website's speed.
  • Favors visibility for mobile searches in Google News and Google Discover.
  • Facilitates the monetization of visits and traffic captured on the website.

On the flip side, the disadvantages are:

  • High implementation cost that may require a significant investment in resources and dedicated staff.
  • CTR rates well below the levels desirable for solid rankings.
  • High bounce rates, which in many cases can reach 80-90%.

At SEO Alive, we recommend that you assess and consider whether its implementation is appropriate (since every business is different). What is clear is that using AMP can help you with your On-Page SEO strategy.

Mobile device optimization (Mobile First Indexing)

Also around 2015, search trends took a radical turn. In October of that year, Google announced that searches through mobile devices were being considered as a key ranking factor: the Mobile First Index had been born. Since then, the search giant has focused on creating best practice recommendations for Mobile SEO and developed a specific bot (Googlebot for smartphones) that crawled and reviewed this type of content to classify websites in mobile search results.

From that moment on, the SEO community focused on this optimization, and with it came tools like Page Speed Insights to improve performance and speed on these devices (tablets and smartphones). For all these reasons, we recommend that you seriously consider whether your website is optimized, responsive, and mobile-friendly for search engines. Use tools such as Google Developers' official Mobile-Friendly Test or Page Speed Insights itself. It will undoubtedly help you rank your website higher in search engines!

Tools for working on On-Page SEO

At SEO Alive we want to help you! That's why we leave you the following list of tools that will help you in planning and executing your On-Page SEO strategy:

Google Search Console

Google's tool for Webmasters to monitor everything related to indexation, crawling, performance metrics, usability, error control, etc.

Screaming Frog

A crawler tool that will help you carry out a deep and thorough On-Page strategy.

Safecont and Onpage.org

These are excellent tools for content handling, duplicate content, and indexability, respectively.

Semrush, Sistrix and Ahrefs

Powerful "All in One" SEO suites that will help you both with keyword research and with link profile management, among many other things.

SEO Alive Software

Of course, our own tool couldn't be missing. It greatly improves what Search Console provides, since we extract and handle data from its API in addition to providing you with new features such as visibility, which will turn your data into powerful, highly valuable insights. Discover our SEO software for FREE now!

[caption id="attachment_13831" align="aligncenter" width="1914"]

SEO Visibility
SEO Visibility
SEO Visibility graph of our project (SEO Alive) in the SEO software.[/caption]

Conclusions

As we reach the end of the article, from our agency we want to convey to you the critical importance of carrying out an On-Page SEO strategy on your website. That's why we recommend that you follow all the steps we have given you, and you will undoubtedly manage to dramatically improve this so important part of search engine positioning. Don't waste any more time, get to work!

And you, dear reader... What On-Page SEO strategy do you implement on your projects? Tell us in the comments box. We will reply as soon as possible. Until next time!

Author: David Kaufmann

David Kaufmann

I've spent the last 10+ years completely obsessed with SEO — and honestly, I wouldn't have it any other way.

My career hit a new level when I worked as a senior SEO specialist for Chess.com — one of the top 100 most visited websites on the entire internet. Operating at that scale, across millions of pages, dozens of languages, and one of the most competitive SERPs out there, taught me things no course or certification ever could. That experience changed my perspective on what great SEO really looks like — and it became the foundation for everything I've built since.

From that experience, I founded SEO Alive — an agency for brands that are serious about organic growth. We're not here to sell dashboards and monthly reports. We're here to build strategies that actually move the needle, combining the best of classical SEO with the exciting new world of Generative Engine Optimization (GEO) — making sure your brand shows up not just in Google's blue links, but inside the AI-generated answers that ChatGPT, Perplexity, and Google AI Overviews are delivering to millions of people every single day.

And because I couldn't find a tool that handled both of those worlds properly, I built one myself — SEOcrawl, an enterprise SEO intelligence platform that brings together rankings, technical audits, backlink monitoring, crawl health, and AI brand visibility tracking all in one place. It's the platform I always wished existed.

→ Read all articles by David
More articles from David Kaufmann

Discover more content about this author