On-site SEO (also known as on-page SEO) is the process of optimizing components on a website (as opposed to connections from other websites and other external signals, which are referred to collectively as "off-page SEO") in order to rank better and generate more relevant traffic from search engines. On-page SEO refers to optimizing a page's content as well as its HTML source code. When trying to rank your site, on-site and off-site SEO are two of the fundamentals of Search Engine Optimization. Aside from assisting search engines in their interpretation of page content, efficient on-site SEO also assists visitors in quickly and clearly understanding what a page is about and if it addresses their search query. In short, excellent on-site SEO assists search engines in understanding what a human visitor would see (and what value they would receive) if they visited a page, so that search engines can consistently show up what human visitors would consider high-quality information about a certain search query (keyword). On-site SEO's ultimate objective may be viewed as making it as simple as possible for both search engines and people to: When trying to rank your site, on-site and off-page SEO are two of the fundamentals of Search Engine Optimization. In the past, on-Page SEO has been synonymous with keyword use — and specifically, including a high-value keyword in several key locations on a website. To understand why keywords are no longer at the core of on-page SEO, it's necessary to realize what those phrases are: content themes. Historically, whether or not a page ranked for a particular term depended on employing the appropriate keywords in certain, anticipated places on a website in order for search engines to identify and comprehend what that webpage's content was about. User experience was secondary; ensuring sure search engines detected keywords and ranked a site as relevant for those terms was at the core of on-page SEO tactics. However, search engines have become significantly more intelligent in recent years. They can deduce the meaning of a page based on the usage of synonyms, the context in which material occurs, or simply by paying attention to the frequency with which key word combinations are referenced. While keyword use is still important, prescriptive tactics such as employing an exact-match keyword in certain areas a certain number of times are no longer a part of on-page SEO. What matters is that it be relevant. Consider how relevant the content on each of your sites is to the user intent behind search queries (based on your keyword usage both on the page and in its HTML). In this sense, on-site SEO is less about keyword repetition or placement and more about knowing who your consumers are, what they're searching for, and what themes (keywords) you can generate content around to best meet that need. Pages that match these requirements include material that is: Beyond the keywords (topics) used in content on a webpage and how they're discussed, there are several "keyword-agnostic" elements that can influence a page's on-site optimization. Those include things like: All of these elements tie back to the same basic idea: creating a good user experience. The more usable a page is (from both a technical and non-technical perspective), the better that page's on-site optimization. To fully optimize a page on your website, you must make both text and HTML adjustments. More information on the on-site aspects that contribute to ranking may be found in this post, as well as tips on how to optimize your own website pages. Keep reading to learn what that involves and how to do it. Google looks at things you can influence with on-page SEO to decide if your page is a relevant search result. These include whether keywords from the query are on the page and how searchers interact with it. Although Google looks at keywords on your page, repeating keywords is not on-page SEO. Doing too much of this will actually harm your rankings. So, let’s run through some sensible optimizations that will make a positive difference. Heading tags, including the H1, help Google understand the content on your pages. It’s best practice to use one H1 per page for the title. To find pages with missing or empty H1 tags, crawl your site with Ahrefs’ Site Audit and go to the Content report. You can do this free with an Ahrefs Webmaster Tools (AWT) account. Improve your content’s visual hierarchy by wrapping subheadings in h-tags. Use H2s for subheadings, H3s for sub-subheadings, etc. It makes it easier for searchers to digest and skim. Title tags are often the main piece of information used to decide which result to click on.[4] This is why you need to make them compelling. Here are a few tips: You should set a title tag on every indexable page. If you like, you can use Ahrefs’ Site Audit to find pages with title tag issues like being empty or too long. All you need is a free AWT account. Once you’ve signed up and crawled your site, go to the Content report to check for issues. Meta descriptions aren’t a ranking factor, but can bring more clicks and traffic. This is because Google often uses them for the descriptive snippet in the search results. Here are a few tips for writing them: You can use Ahrefs’ Site Audit to check for pages with meta description issues like being empty or too long. Once again, you’ll need a free AWT account to do this. Once you’ve signed up and crawled your site, go to the Content report to check for issues. Google usually doesn’t use meta descriptions for the search snippet. Our study found that they use them only 37.22% of the time. The rest of the time, they use other content from the page. If you’ve set up your website for SEO success, your URL structure should be sound. But you still need a descriptive slug for each page. Google says to use words that are relevant to your content Often the easiest way to do that is to use your target keyword. Images from your pages can rank in Google image search and send more traffic your way. You need to do three things to optimize them. Google says that filenames give them clues about the image’s subject matter. So Google also uses alt text (alternative text) to understand the subject matter of an image. This is an HTML attribute used on <img> tags to describe the image. It’s not visible on the page itself and looks something like this: The main purpose of alt text is to improve accessibility for visitors who use screen readers. These convert page content, including images, to audio. Here’s our best advice for creating alt text: You can use the Images report in Ahrefs’ Site Audit to check your site for images with missing alt text. Compressing images makes file sizes smaller, leading to faster load times. Plenty of tools exist for doing this. ShortPixel is a good option. Some people think linking to external resources is bad for SEO. There’s no evidence to suggest that. Google says linking to other websites is a great way to provide value to your users So don’t be afraid to do it where it makes sense. Google values content from experts, but having expertise isn’t enough. You need to make your expertise immediately obvious to readers. Below are a few ways Google advises to do that. Featured snippets answer the searcher’s question with a short answer. Google pulls them from web search listings, and they almost all come from one of the pages ranking in the top 10. This means you can shortcut your way to the top position by winning the snippet. The best featured snippet opportunities tend to be for keywords where: You can find these opportunities using Ahrefs’ Site Explorer. Enter your site, then filter for top 10 rankings where you don’t own the snippet in the Organic Keywords report. It’s then a case of adding the answer to your page. Rich snippets are search results that highlight structured data embedded on web pages. Their purpose is to give searchers summary information about a result at a glance. Structured data is not a ranking factor, but it does help Google to better understand what’s on your pages. They also make your website more eye-catching in the search results, which may lead to more clicks.On-Page SEO
What is on-site SEO?
Keywords, content, and on-page SEO
Non-keyword-related on-site SEO
How do you optimize a page?
On-page SEO basics
Why is on-page SEO important?
Use an H1 tag for your page title
Use H2-H6 tags for subheadings
Write a compelling title tag
Write a compelling meta description
Set SEO-friendly URLs
Optimize your images
Use descriptive filenames
dog.jpg
is better than IMG_859045.jpg
. Here are a few naming tips:black-puppy.jpg
is better than puppy.jpg
black-puppy.jpg
is better than my-super-cute-black-puppy-named-jeff.jpg
black-puppy.jpg
is better than puppy-dog-pup-pooch.jpg
black-puppy.jpg
is better than black_puppy.jpg
Use descriptive alt text
<img src="https://yourdomain.com/puppy.jpg" alt="puppy">{codebox}
Compress them
Use external links
Show off your expertise
Optimize for featured snippets
Get rich snippets with structured data
Key takeaways
Keep learning
{getToc} $title={Table of Contents}
DID YOU KNOW?
Tags
SEO