Innovate anywhere, anytime withruncode.io Your cloud-based dev studio.
Search Engine Optimization

Factors of On Page SEO to Rank your Website on First Page

2022-07-16

In Search Engine Optimization, On Page SEO is the practice of optimizing webpages in order to rank higher in search engine results page. On page SEO refers to both html Source code and content of a web page that can be optimized.

On page Ranking Factors

Title Tag:  Title tag is the most relevancy signal to the search engines. Title tag appears on top of the browser.

The length of the title tag should be between 50 to 60 characters

Syntax

<title>64 characters</title>
<title>Keyword1 | Keyword2 | Keyword3</title>
<title>Primary keyword | Secondary keyword | Ternary keyword</title>

Secondary keyword, Ternary keyword should be support Primary keyword

Meta Description: Meta Description is also a relevancy signal to Search Engines. Meta description appears in Search results page.

The Maximum length of meta description should be between 150 to 160 characters

Syntax

<Meta name="description" content="150 to 160 characters" />
<meta name="description” content="Primary keyword - Secondary keyword - Ternary keyword @ domain.com. Call to action (Short description)" />

Primary keyword should be repeat two times.

Secondary keyword, Ternary keyword should be repeat only one time.

Meta Title and Meta description are called meta tags

Search engine Propose to arrange meta tags in Head tag

Url Structure: The targeted keyword should be present in Url

Don't provide any special characters and spaces in Url like

www.abc.com/online income or www.abc.com/online%?income

The correct url pattern

www.abc.com/online-incom/

And the the folders present in url Should not be more than 2 or 3

Image Optimization: Any search engines will not find Image. So, we need to optimize image by using "alt" attribute. In alt attribute we need to use the keywords related to webpage and image. Don't stuff all the keywords in the "alt" attribute thinking that it will be optimized for all the keywords. If you stuff more keywords in alt attribute the google will considered as spammy. Use one to two keywords this will help in optimizing the image easily in the search engines.

If you want to insert image tag generally we can write this syntax

<img src=”path” height=”500” width=”500” />

In SEO Purpose we can write this Syntax

<img src=”images/primary-keyword.jpeg” height=”500” width=”500” alt=”Primary Keyword” />

Anchor Text: Anchor text generally created for navigational purpose. It guides other web pages from a web page. In this process we create link to the text. The text which is kept as link will get some importance. Google analyses these text links in the pages. If we use the targeted keywords as a link that it will helps our webpage for quick optimization in google search engine

<a href="path">keyword</a>

Anchor text are used to create inbound links and out bound links

Inbound links: Inbound links means giving links to other web pages in same site. In seo anchor text plays a very important role. More than 100 links in a page is considered as spam by google.

Outbound link: Outbound links means giving links to another web pages or other websites.

Header tags:

It is recommended to use at least one <h1> tag in every web page. Using of header tags increases the importance of that word. Google crawler when reads our pages it highly concentrates on the heading texts(words written in heading tags). Keep the targeted keywords in header tags. In SEO it is very important to keep the targeted keywords in the header tags like h1 tag. This increases the importance of the targeted keyword and help in seo to get top ranks in SERP results.

Header tags include <h1>, <h2>, <h3>, <h4>, <h5>, <h6>. All the header tags have importance in seo.

Priority of header tags SEO:

The order of priority given to the tag by Google search engine is

h1>h2>h3>h4>h5>h6

Content Optimization(Keyword Density, Proximity & Prominence)

Content Optimization: The number of times a keyword appears in the body text affects three main factors:

Keyword Density: The number of times keyword appears on a page compare to total no. of words on a webpage. The keyword density should be 2% - 3% (meaning 2- 3 repetitions of the word for every 100 words on the page) is the optimal one. A higher density might activate the Spam Filter, which may push the page lower in search engine result

proximity and order: In a case of a key phrase (a combination of more than one keyword), there is high importance for the words to appear as adjacent to each other as possible. They should also appear in the correct order.

Prominence: The keywords are located closer to the top of the page will be higher importance. In addition, it is important for the keywords to appear in the first part of the various tags (title, Hx, etc). You should also make sure that the keywords or key phrases appears at least once in the middle part and the last part of the text.

Sitemap:

Sitemaps are two types

Html sitemap: Html Sitemap for ourself

Xml Sitemap: XML sitemap for search engines

Find Xml sitemap

http://sitemaps.org/protocol.php

Home Page Priority should be 1.0

Inner Pages Priority Should be 0.8

Sub Pages Priority Should be 0.5

Syntax

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>

<loc>http://www.example.com/</loc>
<priority>1.0</priority>
</url>

<url>
<loc>http://www.example.com/page1</loc>
<priority>0.8</priority>
</url>

<url>
<loc>http://www.example.com/page2</loc>
<priority>0.8</priority>
</url>

<url>
<loc>http://www.example.com/sub-page1</loc>
<priority>0.5</priority>
</url>

<url>
<loc>http://www.example.com/sub-page2</loc>
<priority>0.5</priority>
</url>

<url>
<loc>http://www.example.com/sub-page3</loc>
<priority>0.5</priority>
</url>

</urlset>