On-page search engine optimisation, also known as on-page SEO, is a set of measures to optimise the elements of a website itself. It aims to improve the site’s rankings in search results and bring more relevant organic traffic. Unlike off-site SEO, which focuses on external factors, on-site SEO is all about optimising the website itself. The process includes a range of techniques and strategies that make a website more attractive to search engines. They make it more visible and more relevant for specific searches.
Terms:
Off-site search engine optimisation = external search engine optimisation = Off-site SEO = Off-page SEO
Internal search engine optimisation = on-site search engine optimisation = On-site SEO = On-page SEO
One of the key parts of on-page optimisation is making sure the website is easy for search engines to work with. You do this by optimising both the content and the HTML code of the pages. Search engines such as Google use complex algorithms to crawl and index web pages. This is how they judge a page’s relevance and quality for different searches. If a website is not optimised properly, search engines may struggle to understand its content. This can lead to lower rankings in search results and, as a result, less organic traffic.
The main aim of on-page optimisation is for the website to rank higher for relevant keywords. This brings more organic traffic to the site. On-page optimisation also aims to improve the user experience by making the site faster, easier to navigate and more informative. When people find useful, relevant content on a site, they spend more time on it. This is good for engagement metrics and can lead to more conversions.
It is hard to overstate how much on-page optimisation matters for a business. Search engines are one of the main sources of traffic for many websites. A high ranking in search results can make a brand much more visible, attract potential customers and increase sales. Websites that rank well in search engines are also often seen as more authoritative and trustworthy. So investing in on-site SEO can bring long-term benefits, with a steady flow of organic traffic and business growth.
The aims and benefits of on-page optimisation
The main aim of on-site SEO is to make it easier for both search engines and people to understand what a web page is about. It helps them see how relevant it is for specific searches and recognise it as useful and worth ranking high. Good on-page optimisation helps people understand quickly and clearly what a page is about and whether it matches their search. Making individual pages more visible and relevant helps raise the overall authority of the website.
On-site SEO plays a key role in reaching the main SEO goals, such as making the website more visible and increasing organic traffic. Optimising factors such as page loading speed and content quality has a direct effect on how easy the site is to use. Google and other search engines aim to give people the most useful and relevant information. That is why they favour websites that offer good content and a good user experience.
On-page optimisation helps search engines understand a website’s content and helps people find the site and decide to visit it. Predicting what people will search for is the foundation of creating relevant, effective content on a site. Ranking on the first page of search results is the main factor in attracting qualified traffic and building people’s trust.
On-page SEO improves a website’s content and structure, making it easier for search engines to find and index the site. This leads to higher rankings and more relevant traffic. Google recommends using descriptive URLs, organising content and optimising images so that both search engines and people understand the site better. Page experience signals, such as Core Web Vitals, are used by Google’s ranking systems. But Google does not confirm that the time spent on a page affects rankings.
Google also stresses the importance of page loading speed and mobile usability for a good user experience, which in turn benefits SEO. On-site SEO also helps in local search: a page that matches what the user wants ranks for its target keywords. Optimising the elements that both people see (media, content, images) and search engines see (metadata, HTML) helps search engines analyse the website and its content.
Good on-page SEO brings a wide range of business benefits beyond traffic and rankings, such as a better return on digital marketing and more trust. Optimising the click-through rate (CTR) in search results is a key part of on-site SEO that affects website traffic. Website owners have direct control over on-page SEO factors, which makes it a core part of any SEO strategy. SEO is an iterative process, and results may not show straight away.
Key factors in on-page optimisation
A good on-site SEO strategy needs attention to many key factors. Each plays its own role in making the website more visible and raising its ranking. The table below sums up these factors, why they matter and how to optimise them, based on Google’s recommendations and authoritative SEO sources.
| Factor | Why it matters for on-page optimisation | How to optimise it |
| Content quality and relevance | The basis of SEO. Good, original and useful content attracts people and keeps them on the site. It also helps search engines understand what the page is about. | Create detailed, well-written and well-structured content that answers people's questions. Use relevant keywords naturally in the text, headings and subheadings. Update content regularly to keep it current. |
| Choosing and optimising keywords | Helps search engines understand what the page is about and match it with people's searches. Using keywords well in the right places makes a page more relevant. | Do keyword research to find the most relevant and most common searches of your target audience. Put the main keywords in the page title (title tag), meta description, headings (H1–H6), URL and the text. Avoid keyword stuffing. |
| Heading tags (H1–H6) | Set the structure of the content on the page and help search engines understand how the information is organised. The H1 tag is usually used for the page's main heading. | Use one H1 tag per page that reflects the main topic of the content. Use H2–H6 tags to organise subheadings in a logical order, without skipping levels. For Google, the order of headings doesn't matter, but it makes the page easier to read, including with screen readers. Include relevant keywords in headings if it sounds natural. |
| Meta tags (title tag and meta description) | The page title (title tag) appears in search results as a clickable heading. It plays an important role in catching people's attention and telling search engines what the page is about. The meta description is a short summary of the page that also appears in search results. It can affect whether a person decides to visit the site. | Write unique, short and attractive page titles with the main keywords at the start. Write short, informative meta descriptions with a call to action and relevant keywords. Google has no strict character limit: it simply cuts long titles and descriptions to fit the screen width. Make sure meta descriptions match the page content. |
| URLs | Optimised URLs are clear to both people and search engines and can raise the CTR in search results. | Use short, descriptive URLs with relevant keywords separated by hyphens. Avoid long URLs with parameters and IDs. Lower-case letters are better. |
| Internal links | Help search engines find, index and understand the different pages of a website, and spread link value between pages. Make navigation easier for people. | Create relevant internal links between the pages of your site, using descriptive anchor text with keywords. Link to important pages from other relevant pages. |
| Image optimisation | Improves the user experience and can bring extra traffic from image search. Optimised images load faster, which is good for page loading speed. | Use descriptive file names for images. Add alt text to every image to describe what it shows, for search engines and for people with visual impairments. Reduce image file sizes so that the page loads faster. Use modern image formats such as WebP. |
| Page loading speed | Taken into account in rankings as part of page experience, although useful content matters more to Google. Fast pages lower the bounce rate and improve engagement. | Optimise images, turn on compression, keep CSS and JavaScript to a minimum, use browser caching, choose fast hosting and use a content delivery network (CDN). |
| Mobile-friendliness | Most people browse websites on mobile devices, so responsive design is a critical factor for SEO and usability. Google uses mobile-first indexing. | Make sure your website has a responsive design that displays properly on screens of different sizes. Check how the site works on a phone, for example with Lighthouse in Chrome. Google's separate tool for this check was retired in December 2023. Optimise loading speed on mobile devices. |
| Structured data (Schema Markup) | Helps search engines understand the page content better and can lead to rich snippets in search results, which can raise the CTR. | Add structured data using the Schema.org vocabulary to give search engines more context about your content. Check the markup with Google's Rich Results Test or the Schema.org validator. |
| Website security (HTTPS) | HTTPS is a ranking factor and gives a secure connection between the user's browser and the server. | Switch to HTTPS by installing an SSL certificate. |
| Robots.txt file and sitemap | The robots.txt file tells search engine robots which pages of the site they should not crawl. A sitemap helps search engines find the site's pages. | Create and set up the robots.txt and sitemap.xml files correctly and put them in your site's root directory. Give the location of the sitemap in the robots.txt file. |
| Usability (User Experience, UX) | Good UX matters to visitors, and page experience signals are taken into account in rankings. Sites with easy navigation, clear content and fast loading appeal to both people and search engines. | Improve site navigation, make content easy to read and understand, speed up page loading and make sure the site works on mobile devices. |
| E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) | This idea comes from Google's guidelines for its quality raters. E-E-A-T itself is not a specific ranking factor. But Google's systems look for signs of content that shows experience, expertise, authoritativeness and trustworthiness. | Show your experience and expertise, and create authoritative, trustworthy content. Name the authors of your content, with their qualifications and contact details. Link to authoritative sources. Keep the site secure (HTTPS) and be open about your privacy policy and terms of use. |
A step-by-step on-page optimisation strategy
Based on the factors and recommendations above, here is a step-by-step strategy:
- Do keyword research. Find the keywords and phrases your target audience uses to search for information about your business or your site’s topic. Use keyword research tools such as Google Keyword Planner, Semrush or Ahrefs.
- Optimise the content of existing pages. Review your site’s current content and make sure it is high-quality, relevant and answers people’s questions. Include the target keywords naturally in the text, headings and subheadings. Update outdated content.
- Create new, high-quality content. Regularly create new content focused on your audience’s needs and relevant keywords. Aim for original, informative and useful content that attracts and keeps visitors.
- Optimise meta tags. For every page of your site, write unique and attractive page titles (title tags) and meta descriptions with the main keywords. Make sure they reflect the page content accurately and encourage people to visit the site.
- Optimise URLs. Use short, descriptive URLs with relevant keywords separated by hyphens.
- Optimise images. Use descriptive file names and add alt text to every image to describe what it shows. Don’t overload it with keywords. Reduce image file sizes so that pages load faster.
- Improve the heading structure. Use heading tags (H1–H6) to structure the content on every page and highlight the main topics and subtopics. Use one H1 tag per page for the main heading.
- Add internal links. Build a network of internal links between relevant pages of your site, using descriptive anchor text. This helps search engines understand your site’s structure better and spread link value.
- Optimise page loading speed. Take steps to make your site load faster. Optimise images, turn on compression and keep CSS and JavaScript to a minimum. Use browser caching and a content delivery network (CDN).
- Make sure the site works on mobile devices. Check that your site displays properly on screens of different sizes and is easy to use on a phone.
- Add structured data. Use Schema Markup to give search engines more information about the content of your pages, which can lead to rich snippets.
- Set up robots.txt and sitemap.xml. Make sure these files are set up correctly and placed on your site. This helps search engines crawl and index your content.
- Improve the user experience. Make your site easy to navigate, your content easy to read and understand, and make using the site pleasant.
- Focus on E-E-A-T. Create content that shows your experience, expertise, authoritativeness and trustworthiness in your field.
Follow this step-by-step strategy and pay attention to all the key on-site SEO factors. Then your website can become much more visible in search engines. You can attract more organic traffic and make the site more relevant to your target audience. Remember that search engine optimisation is an ongoing process. It needs regular monitoring and adapting to changes in search engine algorithms and in people’s needs.




