Factors of on page seo to rank your website on first page

In Search Engine Optimization, On Page Seo is the practice of optimizing webpages in order to rank higer 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

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


<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


<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


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 atribute we need to use the keywords related to webpage and image. Dont 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 trgeted keywords as a link that it will helps our webpage for quick optimisation 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 consideres 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


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.


Sitemaps are two types

Html sitemap: Html SItemap for ourself

Xml Sitemap: XML sitemap for search engines

Find Xml sitemap


Home Page Priority should be 1.0

Inner Pages Priority Should be 0.8

Sub Pages Priority Should be 0.5


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

The article was originally published at MicroPyramid blog



Python, Django, Android and IOS, reactjs, react-native, AWS, Salesforce consulting & development company

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Python, Django, Android and IOS, reactjs, react-native, AWS, Salesforce consulting & development company