Skip to main content

All About On‑Page Search Engine Optimization

Generate more traffic and higher rankings with web pages that are as useful for people as they are for search engines.

All About On-Page Search Engine Optimization Hero Illustration

Once you have an idea of how search engines work, the first step of search engine optimization (SEO) and creating an SEO strategy is to identify the keywords your website should target, based on the words or phrases people search for online to find your business. These keywords will be at the foundation of your strategy for on-page optimization.

On-page optimization is the application of keyword research to page content on your website. The purpose is to ensure that your page content provides a suitable answer to the queries that people in your target audience search for. It also makes your web pages easy for search engines to analyze and match with the right search queries.

When you begin to incorporate keywords into your webpage content, those webpages will have the potential to rank for relevant search queries and drive more traffic to your website.

What is on-page SEO?

On-page SEO, also known as on-page optimization or on-site SEO, refers to the process of optimizing the elements on a specific web page. These elements may be visible to the user or the search engine.

For example, on-page SEO consists of optimizing meta descriptions, title tags, and other HTML elements we'll discuss later that aren't shown to the website visitor and are instead used by search engines to learn about the content of a page and effectively rank the page in search engine results pages (SERPs).

On-page SEO is part of an overarching SEO strategy that consists of on-page, off-page, and technical SEO.

What's the difference between on and off-page SEO

On-page SEO refers to any elements on a website page that are internal or external. Meanwhile, off-page SEO refers to elements of your SEO strategy that boost rankings off the page, such as backlink building. Both on-page and off-page SEO are essential for a robust SEO strategy that signals to search engines that your website is trustworthy and credible, allowing it to rank higher on SERPs.

An on-page SEO strategy would cover the following elements:

  • Content
  • Keywords
  • Internal and external linking
  • Images
  • Title tags and meta descriptions
  • Headers
  • Image alt tags
  • Site speed

Meanwhile, an off-page SEO strategy would focus on the following:

  • Link building and guest posting
  • Local SEO
  • Social media and public relations (PR)

Why is on-page SEO important for business websites?

On-page SEO aims to increase organic website traffic by helping you rank higher in search engines. A more robust on-page SEO strategy will consider everything from search intent to target keywords, internal links, and high-quality content.

Simply put, if you want to rank higher on Google and other search engines to compete with other websites, you'll need to invest in on-page SEO to improve search visibility. The benefits of on-page SEO for business websites include the following:

Rank higher in SERPs

The main goal of on-page SEO is to help individual website pages rank in results pages. Increasing your Google rankings can drastically increase organic website traffic, giving you more opportunities to convert visitors.

Improve local search

On-site SEO can improve local search by helping you rank for a targeted keyword based on a user's search intent. For example, someone looking for a hamburger may enter the query "hamburger" and see local results.

Increase organic traffic

As we've mentioned, on-page SEO can increase organic traffic by helping a particular page on your site rank higher in SERPs. Writing clear meta descriptions and focusing on your page's title to ensure you can rank for relevant keywords will increase traffic and help search engine users find what they're looking for.

Applying keywords

Before you begin on-page optimization, you should identify at least one keyword that's relevant to each page on your website.

On-page optimization is about focusing on a single page at a time and writing keyword-rich content for it. This doesn't mean simply repeating the keyword over and over again—that's called “keyword stuffing,” and it can actually cause Google to penalize your site.

Keyword stuffing means you have a high keyword density across all on-page elements. Therefore, everything from using the same word too many times in your website content to using it in URLs when it doesn't necessarily make sense to can be called keyword stuffing.

Instead, create content with keywords in mind, looking for opportunities to naturally include a target keyword, or variations and synonyms of it. There are certain places on a webpage where it's considered SEO best practice to include keywords because doing so correlates with better rankings.

Anatomy of a webpage

All web pages should include the following HTML elements: URL, title tag, meta description, supplemental title tags, body copy, alt text

These page elements play a big factor in communicating meaning to readers, and they're all ranking factors. This means that Google weighs them when deciding the best search results for a given query. By optimizing each element to include keywords, both your website visitors and Google will better understand how your page provides an answer to a query.

Some of these elements also play a role in getting traffic from the SERP; featuring the right keywords in your metadata can encourage users to click through.

Write a keyword-driven URL

The URL is the webpage address, which users either type into the browser or reach by clicking a link on another webpage (such as a SERP). While the URL is not considered a powerful ranking factor, ensuring your URLs are keyword-rich is still a sensible approach.

Incorporating keywords into a URL makes it memorable and easier to type. It communicates meaning by making it clearer to the user what content to expect before they actually reach the page.

You should always use keywords in a URL to indicate the structure of your site. For example, indicates that this page is a part of Mailchimp's marketing glossary and that it's specifically dedicated to SEO. Reflecting the hierarchical site structure makes the URL more meaningful.

As a rule of thumb, you should use descriptive, keyword-rich URLs wherever possible, and use hyphens to separate words.

Feature keywords in your title tag

The title tag is visible in many important places, telling users and search engines what the page is about.

  • At the top of the browser tab when viewing the page
  • In the SERPs, along with the URL
  • On social platforms, when a user shares the URL

It's one of the most important on-page factors, so it's worth investing time to optimize.

Consider plugging your keywords, phrases, and business details into one of these formats

Which of these works best for you will depend on the page content and keywords you feature. When optimizing title tags, it's often worth analyzing the SERP to see how your competitors differentiate themselves with their title tags, which may help inform your strategy.

The length of your title is important, too. Google doesn't apply strict rules to the number of characters in your title (they're more focused on pixel width), but your title tags generally shouldn't be longer than about 50 to 60 characters.

Gain traffic with a compelling meta description

Although it's considered part of on-page optimization, the meta description doesn't display on the page. Rather, it's the snippet of text that displays in the SERP underneath the title for each listing.

The function of the meta description is to provide a brief summary of the page content so that users know what to expect when they land on the page.

However, it's also an opportunity to encourage users to click, as the meta description is effectively a brief advertisement for what's on the page. So if you write compelling copy here, it might convince users to click on your page instead of visiting your competitors.

As with the title tag, there's a limit to the number of characters that Google displays in the search results—about 155 characters on desktop and 120 characters on mobile—so it makes sense to get your most important content in the first 120 characters.

You don't need to have a meta description for every single page on your website. If you don't write one, Google will glean content from the page and use that instead. While this isn't optimal, it's useful to remember if you have hundreds (or thousands) of pages to manage. Prioritize your most important pages and ensure they all have unique, descriptive, and compelling meta descriptions, but don't worry if some of your less important pages don't have them.

Structure your content with headers

In HTML, the H1 through H6 header elements define headings. Their typographical function is to provide a hierarchical structure to arrange content on the page. So, H2s nest under the H1, and H3s nest under the H2s. There should only be one H1 on the page. H2 through H6 outline subtopics, but H1 should describe the main content of the page.

SEO header importance hierarchy

Google uses the H1 as a factor because it's usually a good descriptor of the page content. Therefore, including keywords in your H1 will boost your on-page SEO. But, of course, you should also consider usability to ensure that H1s are also helpful to users who land on the page.

On an e-commerce category page, for instance, you will often see the category name used as the H1, like “Womens' Sneakers & Shoes.” But on product pages, the H1 will typically be the product name itself, like “Nike Air Force 1.”

In some cases, the H1 might be the keyword you wish to target. In other cases, you may need to settle for something more user-friendly—but still related to your keywords.

Use images and alt attributes

Images are an important aspect of any webpage. They help deliver meaning visually, and they break up blocks of text to improve readability.

Although sighted humans can quickly derive meaning from images, computers aren't quite as adept (at least not yet). By including an “alt” attribute that describes an image, you can help both computer algorithms and users who are blind or have low vision understand what that image depicts. Alt text is hidden in the HTML and isn't visible on the screen, but a screen reader will know to read it aloud.

Google also uses the additional context that alt text provides to better understand the page content. By including keywords in your alt text, you can give Google further clues about the relevance of your content.

Body copy

In terms of SEO, all the elements covered above are essential—they create the foundation for a discoverable site.

Beyond that, the body copy of your webpage offers a real opportunity to optimize. There are no character limits, and it gives you your best chance to communicate to search engines what the content represents.

When you begin to write body copy, revisit your keyword research to understand the types of search queries you're seeking to answer with this content. Your goal should be to write body copy that answers the most common search queries associated with your target keywords. By doing this, you'll naturally include variations of the keywords in the copy while still creating content that's designed to serve real people who access your site.

Similarly, if you understand the intent of search queries for your product, you can write in a tone that matches that intent. For example, if you know that people regularly search for specifics on something you sell, your body copy can take a “salesy” tone and include the selling points of your product.

The intent of search queries you target can inform your content choices further still—not just in terms of the copy itself, but also in terms of page design. For example, if certain queries imply that readers want to compare the feature set of one product with another, you could include a comparison table. Or, if a query is of the form “best X for Y,” you could include an ordered list.

Although there are no limitations to the amount of body content you can include (aside from user experience best practices), you want to maximize the value of your time and resources. It's not a good use of either to write thousands of words for every page on your site, and it won't provide a good user experience. To gauge the appropriate content length, analyze the existing search results and see what's already ranking. This should give you an idea of how much content to produce.

Implementation of on-page SEO

On-page SEO is straightforward to implement in modern content management systems (CMSs) like Contentful, WordPress, Umbraco, or Drupal. If your site is still in the planning stage, make sure your developers build with a platform that allows you to add and edit these elements. Or, if you're building it yourself on a platform like Mailchimp, it should be easy to apply SEO practices.

Depending on the scale of the site you're optimizing, you might need (or want) to automate some elements of the implementation. For example, if you had thousands of meta descriptions you needed to add, a developer could use a simple script to create unique, optimized meta descriptions.

If your CMS allows you to bulk update pages on your site, you could achieve the same thing by building a CSV file for import, using the CONCATENATE function in Microsoft Excel. You could use a similar system for title tags and H1 tags, if required.

Of course, crafting individual metadata is the most comprehensive way to do on-page SEO, but it's better to be realistic about the work requirements and automate where necessary. However, always write unique, customized body content.

Avoid duplicate content

Wherever possible, try to ensure that every page on your website has unique content. That includes the body copy, title tags, H1 tags, and meta descriptions. This helps ensure that all the pages on your site are uniquely targeted for different keywords, and it avoids confusion from the search engines.

Imagine you had 2 pages that represented 2 similar but slightly different product categories like “Strong dog leads” and “Super strong dog leads.” Let's say you optimized the site to use the different category names in the title tags, H1 tags, and meta descriptions (making them unique), but didn't bother to change the body copy.

Now, how does Google choose which of these pages to display in the search results? Since there is duplicate body copy, very little differentiates them. In some cases, Google omits pages that are too similar.

Similarly, be careful about using a supplier's description for products you're selling. You'll end up with page content identical to the original supplier's—and also to those of your competitors who've done the same thing. From Google's perspective, if there's nothing that differentiates your page from the others, it offers no unique value.

For these reasons, it's essential to write unique body content for every page on your site.

How to write for SEO

The phrase “writing for SEO” or "SEO writing" is a bit of a misnomer. The way to write for SEO is to write for people—to answer the questions and queries they have—and do it in a way that's also helpful to search engines.

On-page SEO is the starting point you need for worthwhile rankings, and it's how you end up ranking for relevant search queries. But on-page SEO is only one part of the puzzle, and it works best in combination with a strategy for off-site SEO and backlinks.

As we've just discussed, on-page SEO consists of multiple factors and elements that can affect your rankings. Not only do you need to find relevant keywords and invest time into internal linking, URL structure, and forming title and meta tags, but you have to write the web page content for users and search engines. Here are a few best practices to improve your SEO writing:

Write for humans

Google's main concern is its users and providing a good experience for them. Therefore, you shouldn't write your content just to rank; instead, you must write content that can be considered valuable to users.

Google's algorithm can tell when you're not writing for humans because your pages will not provide thorough details or answers. Writing for humans can improve the chances of ranking on Google and other search engines while also having a positive impact on your conversion rates.

While the goal of SEO is to rank higher and increase organic traffic, you ultimately want your website to convert that traffic into paying customers; it can't do that if you don't write content that's valuable to your target audience.

Do keyword research

Keywords are an essential Google ranking factor, so you should do keyword research to find the right words that align with search intent and can attract more website visitors while helping you rank higher on SERPs.

If they fit naturally, your keywords should be used in the body copy, headlines, meta descriptions, and title tags.

Do competitive research

Check out what your competition is writing about and how they use SEO to improve their business. Believe it or not, you can learn a lot from looking at your competition's website, especially if they're ranking for similar keywords.

For example, if you sell socks, you might look at the top-performing pages to determine which keywords they're targeting, how long their product descriptions are, and how many backlinks the page receives.

Internal and external linking is important for building credibility in SEO and helping search engines and users navigate a site.

External links send users away from your website, but they're useful for helping Google determine where you get crucial information, like stats in blogs, to help you build credibility.

Meanwhile, internal linking is when you link different pages together to show that they're related in some way and provide users and search engines with a content hierarchy to help them better navigate the site.

Always write meta tags

Page titles and meta descriptions are two crucial meta tags you should always write to ensure Google and users understand your page content.

Meta tags allow search engines and website pages to communicate and help search enters determine whether a page should be indexed and what it's about.

In search results, your meta title and meta description will appear to help users determine whether to click on your link. Therefore, you should always write meta tags with users in mind to convince them to click on your link and set expectations for what they'll find on the page.

Organize your content

Page content should be organized according to a hierarchy. You should use different headings throughout the content to effectively organize it and allow search engines and users to scan and find the most important information. Header tags can also improve the user experience and improve website accessibility to help you rank higher on SERPs.

Build an SEO-optimized website from the start

You'll need an optimized website to start taking advantage of on-page SEO to rank higher in search engines. Mailchimp makes it easy to build an optimized website by editing different on-page SEO elements to improve search visibility. With Mailchimp SEO tools, you can edit your page URL, meta descriptions, and page titles to help you rank on search engines.

Share This Article