A guide to on-page SEO optimization

Digital Marketing

Updated:

8.9.2026 11:29 PM

by

Trần Thanh Mỹ Hân

A guide to on-page SEO optimizationA guide to on-page SEO optimization
scroll down.svgscroll down.svg
Table of content

A more detailed and accessible guide to website SEO optimization than ever before

Website SEO optimization guide is likely a familiar topic for any SEOer. In fact, when you search for the keyword website SEO optimization guide on Google, you will get no fewer than 8 million results related to this phrase. But today's Markdao article won't just show you how to do it; we will also define the essential concepts and explain their importance in optimizing on-page SEO for your website design .

Website SEO optimization guide: 14 essential factors for on-page SEO

Compared to the past, website SEO is no longer simple because search engines, specifically Google, have become more "demanding" with the introduction of various algorithms like Google Panda, Google Penguin, and more. However, ultimately, SEO-friendly web design remains a prerequisite for Google to determine your website's ranking, thereby helping you reach potential customers more effectively. There is no denying that on-page SEO plays a crucial role in Google's evaluation process.

On-page SEO is the process of optimizing content, images, and website structure according to the rules set by search engines to make your site more search-engine-friendly, especially for Google. Therefore, as an SEOer, you need to understand that on-page optimization should be the first step before you start link building for your website.

Today, Markdao will cover the key factors you cannot overlook when optimizing on-page SEO:

  1. URLs
  2. Meta title
  3. Meta description
  4. Headings (H1 → H6)
  5. Images
  6. Keywords
  7. AMP
  8. Microformats
  9. Schema
  10. Sitemap
  11. Robots.txt
  12. Internal links
  13. External links
  14. Website management with Google Analytics

In this website SEO optimization guide part 1, we will provide a detailed introduction to the first 7 factors. The next 7 factors will be covered in part 2, so stay tuned!

A guide to website SEO optimization and an in-depth look at the basic concepts

URLs, meta titles, and meta descriptions are terms frequently mentioned when reading articles on website SEO optimization, but what exactly are these concepts, and where do they appear on your website?

How important is a URL?

Website SEO Optimization Guide: URL
URL optimization

URL stands for Uniform Resource Locator, used to reference resources on the Internet while providing hyperlinking capabilities for web pages. Simply put, a URL is the address that leads to a specific web page on the Internet.

Thanks to URLs, Internet users and Google bots can find your website or specific pages, making this a crucial factor that this article Website SEO optimization guide Markdao will cover this first, for the following reasons:

  • URL optimization is the foundation for improving your website's ranking on search engine results pages.
  • Optimizing your URLs helps both users and search engine crawlers understand the topic of your webpage. If your URLs are user-friendly and crawler-friendly, your click-through rate will improve.

An SEO-optimized URL should not contain special characters like @, #, $, %, &, *... and should not include accented characters. Additionally, it is a plus if the URL begins with the primary keyword of the page. You should use hyphens (-) in the structure, as this makes the URL more user-friendly and easier for Google bots to crawl. Finally, it is important that URLs are not too long; ideally, they should be around 60 characters. If there is a hierarchy in the URL, also known as slugs, there should be no more than 3 slugs in an SEO-standard URL.

A quick note: once a page has been indexed, you should avoid changing the URL, as this will lead to 404 errors. If you must change it, don't forget to set up a 301 redirect to the new URL!

‍

On-page optimization must include Meta title optimization.

The Meta title is the title tag for a webpage or blog post. Note that each page should only have one title tag. The Meta title is extremely important because it appears alongside the meta description on search engine results pages and is a key factor in whether a user decides to click on your website.

To achieve this, the meta title must be optimized. First, your title tag needs to include keywords, as search engines automatically bold these keywords if they appear in the user's search query; it is a bonus if the keyword is placed at the beginning. Second, according to Google's guidelines, titles exceeding 70 characters will have the remaining characters replaced with an ellipsis (...); it is detrimental if the hidden part contains your keywords. Third, the title must accurately reflect the content of the page, as Google bots are smarter than you think—if they find that the title and the page content do not match, they will stop indexing it. Finally, if the title is placed within an H1 tag, Google bots will find and index it faster.

Website SEO Optimization Guide: Meta Title
Optimize meta title

‍

How do you optimize the meta description tag?

The meta description is a snippet that summarizes the content of a webpage or article. Like the meta title, the meta description is an HTML attribute located within the meta tag, making it a highly important factor that directly impacts SEO results.

A webpage's meta description is not displayed within the article structure itself but appears on search engine results pages directly below the title (meta title). When a user searches for information they need, the search engine will bold the keywords in the description that match the user's query. Most website SEO optimization guides suggest that the more compelling the description, the higher the click-through rate will be, and this is something Markdao wants to emphasize to you.

However, for a meta description to be compelling, the summary content must first be relevant to the page's topic and include keywords intelligently—specifically, do not use the primary keyword more than 5 times. For Google, the length of a meta description should not exceed 320 characters; any characters beyond this limit will be replaced by an ellipsis (...). Furthermore, each page should only have one meta description.

Website SEO Optimization Guide: Meta Description
Optimize meta description

‍

How should headings be optimized?

An SEO-optimized article isn't just a long piece of text with thousands of words; it should be structured into specific sections separated by headings. These headings are used to emphasize the main points of a webpage or article. There are six types—H1, H2, H3, H4, H5, and H6—with H1, H2, and H3 being mandatory elements that must be distributed intelligently.

According to most website SEO optimization guides, H1 is the most important heading. As mentioned above, the H1 is where you place the meta title, helping both readers and Google bots understand the page's topic. Once the topic is clear, scanning the H2 and H3 headings allows both users and bots to grasp the key points you intend to cover. These headings make the reading process for internet users and the crawling process for Google much smoother and faster.

But how do you distribute headings intelligently across a webpage? First, there should only be one H1 per page, no more than four H2s, and no more than six H3s per article. All headings should include keywords, but this doesn't mean stuffing them with as many as possible. Next, avoid using hidden text for headings, as this can easily trigger Google's algorithmic penalties. Finally, the content within these headings should not be repetitive and should be written in a way that encourages users to stay on your site longer.

Website SEO Optimization Guide: Heading Tags
Optimizing heading tags

‍

Is image optimization necessary for on-page SEO?

Website SEO optimization guides go beyond just optimizing text and site structure; they must also account for the images on your pages or in your articles. Images are excellent tools for driving traffic to your site and keeping visitors engaged. Furthermore, Google's search results page displays not only news and information but also images. If you don't optimize this element, you may be missing out on significant opportunities for your business.

To optimize images, you need to pay attention to the following factors:

  • Image dimensions: The reason you cannot overlook image dimensions during on-page SEO is that they significantly impact page load speed—a top factor Google bots consider when evaluating your site. Therefore, images uploaded to your website should ideally be between 360 and 1280 pixels wide.
  • Image aspect ratio: Besides dimensions, aspect ratio is another factor you shouldn't ignore. The most commonly used aspect ratios are square, 4:3, and 16:10.
  • ALT attribute: Google bots cannot "see" images, which is why you need to add alternative text (Alt text) to every image you upload. This not only helps Google bots understand what your image represents but also improves accessibility for visually impaired users.
Website SEO Optimization Guide: Alt Attributes
Don't forget image alt text
  • File name: Along with the ALT attribute, the file name plays an equally important role. Most images found via search engines contain keywords in their file names that match the user's search query. Note that file names should be concise—no more than 6 words—and, like alt text, should accurately reflect the image content.
  • File size: Although image file size does not directly affect rankings, you should still compress files before uploading. It is best to keep them under 400KB while maintaining image quality.

‍

Choosing the right keywords is also an effective way to optimize on-page SEO.

Website SEO Optimization Guide: Keywords
Keyword optimization

In the next part of this website SEO optimization guide , Markdao will cover how to optimize keywords effectively. Whenever keywords are mentioned, SEO professionals often jokingly say, "keywords are gold for any SEO campaign." In the past, Google didn't strictly regulate how many keywords you could put in an article, which allowed rankings to climb very quickly. But today, Google and other search engines have become smarter, so keyword stuffing has become meaningless and can even cause your website's rankings to stagnate or, worse, trigger algorithm penalties.

Therefore, when optimizing keywords, you need to pay attention to two issues: what constitutes a reasonable keyword density and where to place keywords for maximum impact.

Regarding keyword density, as we just mentioned, keyword stuffing is not only penalized by Google crawlers but also annoys internet users. Therefore, you need to ensure your content remains natural and that keywords are distributed reasonably throughout. Specifically, the primary keyword should appear at a density of 2 - 5%, while secondary keywords should have a lower frequency.

Regarding keyword placement, in addition to being spread reasonably throughout the content, Google bots prioritize websites or articles where keywords are placed within the first few characters—ideally within the first 50 - 100 characters. Furthermore, other important places where you should insert keywords include:

  • Meta title tag
  • Meta description tag
  • Heading tags
  • Image alt text

‍

Is AMP a complex concept in on-page SEO?

In reality, AMP does not guarantee a complete improvement in your website's ranking, but it will help your web design gain extra points if internet users perform queries on phones or tablets. Specifically, when they search on mobile devices, if your website has AMP installed, it will appear in top positions, outranking competitors who haven't adopted this tool.

The reason AMP is becoming increasingly important is that internet users tend to prefer handheld devices—tools that help them connect with others anytime, anywhere. AMP not only helps your web design become more mobile-friendly but also contributes to improving page load speeds on these devices, even when internet connection speeds are slow.

Installing AMP is not overly difficult; any current CMS has optimized this functionality. For example, if you use WordPress, you just need to install the AMP plug-in. Note that after installing AMP, you should test your pages on mobile devices.

‍

Optimizing your website for SEO is easier with Markdao

We have just introduced 7 key elements for on-page SEO optimization: URL, meta title, meta description, headings (H1–H6), images, keywords, and AMP. If you find these tasks challenging, feel free to contact Markdao. In a short time, we will audit your website to identify what is already performing well and what needs improvement, ensuring your SEO campaign runs smoothly and delivers the results you expect.

In summary, our guide to website SEO optimization aims to equip you with the knowledge needed to boost your website's rankings. We will return with Part 2, covering the remaining 7 elements: Microformats, Schema, Sitemap, Robots.txt, Internal links, External links, and website management with Google Analytics.

‍

MARKDAO AGENCY VIETNAM

Address: 14 Phan Ton, Da Kao, District 1, HCMC
HOTLINE: +84 2871 099 090
Email: info@markdao.com.vn