How to setup SEO code for html Website – Full Guideline

Spread the love

How to setup SEO code for html Website: SEO is important for WordPress websites and blogger websites to get your website run on Google. Just like a WordPress web site or a blogpost website, if your website is to be ranked or ranked among the top ten websites on the first page of Google, you need to do SEO or Search Engine Optimization right from your HTML or PHP website.

There are various SEO plugins available for WordPress website SEO that by installing we can do SEO for our website or all the posts we have. Blogger also has a separate SEO system from which we can do SEO for different posts or websites.

Also Read: 20 Questions – AdSense Approval Related

But no plugin can be used for SEO on PHP, HTML web site, So to do SEO on html, PHP website you have to manually insert SEO codes in your website or post. These SEO codes work just like the SEO plugins for a blog post website or a WordPress website and are essential for your website to rank on the first page of Google.

So friends today in this article we will learn how to use SEO code in html website, php website. For how to use SEO code in html, how to use SEO code in php website please read our full Article.

We hope that after reading today’s article your idea of SEO for html website will be completely clear and you will be able to Rank your website on the first page of Google.

What is SEO?

The full form of SEO was Search Engine Optimization. It was a strategy that helped us to rank at the top of the first page by posting your blog or website to search engine optimization.

What a blogger wants is to rank your written content in the first position of Google search engine. It can drive more traffic to your site and earn more money.

What is SEO in English when you are a new blogger? What is SEO? SEO lets you rank your blog or content at the top of Google website search results.

Full Guideline

Blog or Website Google’s Top Position May Rank Important Role With SEO we can write a result above your website’s search engine.

The role of SEO is played by ranking the blog or website in Google’s top position. This is a simple technology that can improve the website organic traffic of your website by clicking on the top of a search engine result.

It is very important to use SEO to increase the organic traffic of your blog or website because if organic traffic goes to your website, your income will also increase and you will start earning more money.

How to setup SEO code for html Website

HTML is Hypertext markup language. When a website is created, it is built on top of the HTML code. It is not possible to create a site without HTML code, so HTML is called the mother language of the website.

If we create a website for WordPress or Blogger, the entire HTML code is used. If we look at the source code of a WordPress website or blog website, we can see that the HTML code has been used to create that website. But if we build a website on these two platforms we don’t have to do any coding manually here so we don’t understand that it is HTML code.

To view the source code of a website, open the web site, move the mouse over a blank part of the website, right click and click on View page source, we will be able to see the source code of that website.

Since no plugin cannot be used for html or php website SEO, it is necessary to do manual SEO on php website as follows

<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <!-- Favicon  -->
    <link rel="icon" href="favicon.png">
    <link rel="apple-touch-icon" href="favicon.png">
   
    <!-- Website Title -->
    <title></title>
	
    <!-- SEO Meta Tags -->
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="canonical" href="">
    <meta name="author" content="">
</head>
</html>

Details of SEO for html Website

Here we will see the details of how to add SEO code on HTML page, nothing can go wrong. If we make a mistake our website will not be able to rank on the first page of Google so we have to be very careful while writing the codes.

<!DOCTYPE html>
<html lang="en">

<head>
<!-- Favicon  -->
<link rel="icon" href=""> //favicon url here
<link rel="apple-touch-icon" href=""> //Apple-touch-icon favicon url here
   
<!-- Website Title -->
<title>We are one of the best website for Different types of           Articles</title> //Enter Your Website title 
	
<!-- SEO Meta Tags -->
<meta name="description" content="Blogging Post, We are one of the best website for Different types of Articles, Like Education, Insurance, loan, Cryptocurrency, Tips & Tricks and more"> //Enter Your website description.

<meta name="keywords" content="blogging post, blog post"> //Enter your website keyword like this

<link rel="canonical" href="https://www.yourwebsite.com/"> //Entre  your Website full Link

<meta name="author" content="Your Website Name"> //You can enter Author - Your name or your Website name

</head>
</html> 

In a nutshell, when a person searches for something on Google, Google searches its database and returns the results to that user. The sooner Google finds a website, depending on the content of the user’s search, the sooner Google publishes the site on the front page of Google.

Details of SEO for php Website

SEO for php website is done almost the same way but depending on your php page coding. Below one we will try to understand the content.

<!DOCTYPE html>
<html lang="en">

<head>
<!-- Favicon  -->
<link rel="icon" href=""> //favicon url here
<link rel="apple-touch-icon" href=""> //Apple-touch-icon favicon url here
   
<!-- Website Title -->
<title>We are one of the best website for Different types of           Articles</title> //Enter Your Website title 
	
<!-- SEO Meta Tags -->
<meta name="description" content="Blogging Post, We are one of the best website for Different types of Articles, Like Education, Insurance, loan, Cryptocurrency, Tips & Tricks and more"> //Enter Your website description.

<meta name="keywords" content="blogging post, blog post"> //Enter your website keyword like this

<link rel="canonical" href="https://www.yourwebsite.com/"> //Entre  your Website full Link

<meta name="author" content="Your Website Name"> //You can enter Author - Your name or your Website name

</head>

<?php

//phpcode heare as per your requirement

?>

</html> 

We can also add or insert SEO code in our php website as required. There are different types of operational work done on php website where the website can do a lot of work by itself so SEO on this website can be done in different ways as you need.

<head>

<?php
echo"
<!-- Favicon  -->
<link rel='icon' href=''> //favicon url here
<link rel='apple-touch-icon' href=''> //Apple-touch-icon favicon url here
   
<!-- Website Title -->
<title>We are one of the best website for Different types of           Articles</title> //Enter Your Website title 
	
<!-- SEO Meta Tags -->
<meta name='description' content='Blogging Post, We are one of the best website for Different types of Articles, Like Education, Insurance, loan, Cryptocurrency, Tips & Tricks and more'> //Enter Your website description.

<meta name='keywords' content='blogging post, blog post'> //Enter your website keyword like this

<link rel='canonical' href='https://www.yourwebsite.com/'> //Entre  your Website full Link

<meta name='author' content='Your Website Name'> //You can enter Author - Your name or your Website name
";
?>
</head>

All pages on html, php web site are SEO like this, only the details of the page have to be changed there, for example, the page Description, keyword, canonical link etc you can set this as you need.

Finally some words

So friends, SEO is very important to add a website to Google. When doing SEO, try to do SEO very carefully so that there is no mistake. We hope you like this article. If you have any feedback, please let us know in the comment box.


Spread the love

Leave a Comment