What is SEO and How It Works? A Step-by-Step Guide for Beginners.


According to survey about 60 to 70% of people in the world see the top 3 results on Google and do not even visit the rest of the page. For this you have to optimize your website SEO. Whenever people search in Google and your website appears in the first page of Google or in the top 3 results, then people click on it and come to your website.

Have you ever thought that when we go to Google and do some search then why some websites come on the first page and why other websites come on the second page. Here we need to understand that every website has a ranking, due to which they come in the first page. We have to understand SEO very well for website ranking.

“SEO is an online continuous process/technique through which you can bring your website to the top in search engine results for a particular keyword.” As we know the full form of SEO is Search Engine Optimization.

SEO is a subject from which you will learn that; how did you bring your website to the top listings of Google! Keep in mind one thing; as long as you are at the top of Google search, organic traffic will keep coming to your business and as soon as you go to any other page of Google search, then inquiries for your business almost stop. Whoever comes on top of Google is called King and for that you need to learn search engine optimization.

So before learning Search Engine Optimization, we have to learn –

What is Search Engine?

“The Search Engine is a directory where we get information according to our needs.”

Major search engines are Google, Yahoo, Bing, Ask.com etc. The results that come on the search engine depends on your search way. The search engine is text oriented. Results are visible to you according to your search. Every search engine has a spider. This spider rolls over and crawls on your website and checks what new content you have written and crawl your content and indexes them, it brings your website to the top of Google, Bing or Yahoo this is called Search Engine.

What is SEO (Search Engine Optimization)?

“Search Engine Optimization is the process by which you optimize your online content so that they appear in top unpaid or organic results in search engine.” Unpaid results means without paying money to a search engine, which is also called organic search result. SEO is a long term process that you cannot do in overnight.

Search engine optimization is a process that brings your website to the top list of search engine i.e. Google, Bing or Yahoo. If you have SEO optimized your website or blog, you will get lots of free quality traffic for your website or blog. There are three types of search engine optimization – First White Hat SEO, second Black Hat SEO and the third is Gray Hat SEO.

White Hat SEO

It is organic where content and relationship defines your journey. White hat seo strategy which is recommended strategy. The content in White hat seo is unique, the images are appropriate, the links match with the content and there is no grammatical mistake. In white hat seo you do everything organically. You make a website and write good content in it, by going to others you talk about that content and they refer your website.

For example, like I wrote some content and you liked that content. You gave a referral link to my content from your website and said that if you want to read about digital marketing, follow Digital Marketing Teach’s blog and you gave me the link, it’s a white hat seo technic.

Black Hat SEO

Black hat seo is the wrong way where you pay people to give you backlink. In black hat SEO technique, there is an attempt to rank your content higher by using search engine rules incorrectly. To understand it in a better way, I want to give you an example – Suppose I build a website and I pay people to give me a link from their website. In this way I pay people and make them talk about my website and promote it. It’s called Black Hat SEO.

So in a way it can be called cheating the search engine and if the search engine knows that such a technical use is being done on any content, then they can rank it lower or can also be banned temporarily or permanently.

Grey Hat SEO

This is the path between White hat seo and Black hat seo. In which your website does not face any penalty but it is not able to provide such a good content to the users. Gray hat seo technic puts more emphasis on search engine ranking than content. In this you do not cheat the search engine, but try to get a different advantage.

For example, I have a main website and I also have 10-15 different websites and from all these websites I give a link to my parent website which is called gray hat seo.

There are two types of SEO, one is On-Page SEO and the other is Off-Page SEO. The search engine ranks your website in two ways.

On-Page SEO

On-Page SEO contains all the things that you can do inside your web page or website to improve your search engine ranking. Such as Meta title of your page, Meta description, Content, Keywords, Mobile friendly pages, URL optimization etc write well. This is On-Page SEO.

Off-Page SEO

Off-Page SEO contains all the things that you do outside of your web page or website to improve it’s ranking. Such as link building, social media marketing, blog submission, answers questions, forum submission, local listings etc.

This lets the search engine know how important your website is and how much the search engine can trust on it. The high quality websites are mentioned or have links on other web sites like Facebook, Instagram, and Twitter etc.

Whatever website used to be earlier, it used to come on the top page due to keyboard. In which there were more and more keyboards, they came at the top rank. But the investigation that happened later, it was told that the keyword is not everything. If any website has a link to other website which is relevant to that keyword, then it started showing in the top page. The keyword is still important but the quality backlink of a website is also matter. Google identifies your website with keywords. Google trust your website as much as the quality backlinks are on your website.

There are many factors to achieve SEO. Here we will discuss the most important factors of SEO. So trying to explain some important factors here –

1. Meta Title, Meta Description, Meta Keyword and URL Optimization:

The words that you use on the title of your website, the URL and the content (H1, H2, H3 ect.) and the way you use it make a difference on your website SEO. 

2. SSL (Secure Sockets Layer):

If your website is https, then it is getting more priority in SEO today. So it is beneficial to get SSL certificate for your website SEO.

3. Favicon:

When you open a new tab, you see a small icon near the tab which is a favicon. Favicon an icon that represents a website or brands. These are small images and are usually 512 X 512 pixels. Typiclly .ico file is used for Favicons but browsers also support PNG and GIF file. Here we will see how favicon affects our SEO. First thing is that favicon is not a ranking factor. It does not directly affect SEO. So what are the benefits of favicon and why use it? We should use it because it is a brand recognition, its increases credibility and trust that increase traffic and search ranking of your website or blog. Favicon plays an important role in increasing our CTR.

4. XML Sitemap:

The xml sitemap acts as a roadmap to your website or blog that takes Google to all your important pages. Exactly what is xml sitemap? For example, whenever you buy a book, you must have seen indexing in its first page, where it is maintained that what information will be found in which chapter you have, in the same way XML sitemaps that are what create the indexing of your website and as soon as you upload it on Google webmaster tools, Google understands what information is available in your website or blog.

5. Robots.txt File:

Search engines use a type of program that collects the necessary information by going to the existing website on the Internet and moving from one website to another, such programs are called web crawlers, spiders, bots or robots.  “The robots.txt file will direct the search engine or crawler or web robot to which part of the website the website owner is allowing the robot to visit.”  Robots.txt is a text file which is in the root folder of the website.

Here we take an example of a domain – https://www.xyz.com, whenever a robot or search engine visits this website, it will first find “https://www.xyz.com/robot.txt” if this file is not found, then that robot will visit the entire website and index any part of it according to itself or store the information. If it finds the file on https://www.xyz.com/robots.txt, it will read it and then technically follow the instructions. You can view the Robots.txt file of any website by typing robots.txt in front of its domain name.  

For example – Domain Name: https://www.xyz.com

Robots File: https://www.xyz.com/robots.txt

Robots.txt File Should Contain

If you want to allow all search engine robots to access all pages of your website, then your robots.txt file should contain –





The first line of this text file is User-agent: * this means that there are instructions for all types of robots. The second line after this is Disallow: and then nothing. There is nothing ahead of Disallow in this, so it means that no part of the website is banned for any kind of search engine or robots.

If / (i.e. Disallow: /) is placed in front of Disallow: then it means that all the files in the root directory are disallowed. If you put / next to Disallow: then you are blocking all the files of your website for search engine.

If you want to block a particular search engine on your website, then your robots.txt file should contain –


User-agent: Googlebot (or any other search engine)

Disallow: /


And then you can write your instructions below.

How Does Robot.txt Affect SEO?

Now the questions arise, how does robot.txt affect SEO and what is the benefit in SEO?

The search engine allows every website to have a crawl budget that decides how often the robot will visit your website. So if you want your website to properly use the search engine’s crawl budget, then you can block the unimportant pages of your website with robots.txt and you can save your crawl budget for important pages.

With robot.txt, you can prevent the under-maintenance part of your website from being a temporary index. If there is any part in your website that is only for the employees of your company that you do not want to appear publically in the search, you can block it in the robot.txt file.

6. Quality of Content:

Write content that can help people. When you write content and it will help people, it will benefit you for SEO.

7. Domain Authority:

Domain Authority is a score that indicates how much authority your website has over the Internet and this score is out of 100. Any website whose domain authority is above 20 has a higher chance of coming on top results of Google.

Importance of Domain Authority

Now you must be thinking how the domain authority is decided?

If you have a website, then how old is that website and what its market value? Accordingly, you have a domain authority. You can check the authority of your domain through the domain authority checker or ahrefs tools. The higher your score from domain authority then your website has a higher chance of coming to the top of Google search result.

8. Choice of Keywords:

SEO starts with a keyboard. Two tools are very important to do SEO. First is Keywordtool.io and the second one is Google Keyword Planner. Both these tools give you words that more and more people are looking for. Traffic will come to your website according to the word you use on your website. There are two types of words: high search volume word and low search volume word. High search volume word means more people are looking for it and low search volume word means fewer people looking for it.

If you use the high search volume word in your content then more and more people will come to your blog or website. You take those words, use those words in your content strategy and as soon as you optimize those words, you have a high chance of coming to the top of Google search.

9. Backlinks:

Backlink which means referral. If I have a website and you also have a website and your website referred my website, it is backlinks. But only quality backlinks are important. If a website with good domain authority will give backlink then it will add some value to your website.

 10. Website Content Consistency:

If you want to do SEO then you have to update your website regularly. One thing you must keep in mind is that you have to put new content in your website so that the Google Spider comes to your website and crawl and take your content and put it on the top of Google search.

11. Website Navigation and Structure:

If the navigation structure of your website is correct. The way you create the structure and navigation of your website and if the movement from one page to another is easy then it matters to SEO.

12. Social Scoring:

What image does your website have on social media? If the URL of your website is shared among more people on social media, in Facebook, Instagram, Twitter, linkedin, or in groups, then it also means somewhere in SEO.

 13. Mobile First User Experience:

If your website opens on mobile, it should be well optimized so that anyone can read it comfortably. It is also very important that your customer has a good mobile experience. So that customers can spend quality time on your website and if they have a good experience, they will definitely come back to your website.

14. Page Speed:

As the features, content, different types of tools and facilities grow in a website, the code and script will grow accordingly, images and content will increase and all these content will take time to download and render in any visitor’s device. This will also reduce your page speed.  Page Speed is a continuous effort between features and optimization; you have to try to improve Page Speed by increasing the features of your website and not to reduce the features in-order to increase the Page Speed. Without features, a page can score 100 but what is the benefit of such page speed?

PageSpeed Insights

PageSpeed Insights is a tool from Google that tests any website and gives its speed and performance score. What are the deficiencies and how can we overcome those deficiencies, it gives all information. You can increase the page speed of your website using this tool.

Factors on your website such as number of backlinks, the age of your website, content etc. these all are differentiates your website ranking but if you implement, you will definitely get results. SEO is a very vast topic; which no one can cover in one article. I have explained here the important factors using which you can easily rank your website.

If you have any questions, you can comment. I will always try my best to reply to you.


5 thoughts on “What is SEO and How It Works? A Step-by-Step Guide for Beginners.

  • Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.

  • Spot on with this write-up, I honestly think this site needs a great
    deal more attention. I’ll probably be back again to see more, thanks for the information!

  • Greetings! Very helpful advice within this article!
    It’s the little changes that make the most significant changes.

    Many thanks for sharing!

Leave a Reply

Your email address will not be published. Required fields are marked *