its about meta tag and description in php website : I have a single header called on different pages through PHP. But in order to be detected for SEO, I have to include separate meta tags and description for each page. 

I am using PHP code for this
   

<?php  $cur_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; 
    
         if($cur_url == "https://www.example.com/" || $cur_url == "https://example.com/"){
            
             ?>
              <body id="main-homepage" class="homepage-travels">
                <meta >  
                 

             <?php
         }
         else if($cur_url == "https://example.com/one-travel-packages" || $cur_url == "https://example.com/one-travel"){
             
         }
         else{
             ?>
              <body id="main-homepage">
             <?php
         }
         ?>