<?php

$actual_links = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";

if (strpos($_SERVER['REQUEST_URI'], ".php") !== false) {



  header("Location: " . site_url);

  exit;
}

?>

<title><?= $page_metatitle; ?></title>

<meta name="description" content="<?= $page_metadesc; ?>">

<meta name="keywords" content="<?= $page_metakey; ?>">

<meta name="State" content="<?= $admin_res['state']; ?>">

<meta name="City" content="<?= $admin_res['city']; ?>">

<meta name="address" content="<?= $admin_res['address']; ?>">

<meta name="copyright"
    content="Copyright <?= date('Y'); ?> <?= $admin_res['companyName']; ?> - <?= $page_metatitle; ?>">

<meta name="distribution" content="global">

<meta name="language" content="english">

<meta name="rating" content="general">

<meta name="subject" content="<?= $page_metatitle; ?>">

<meta name="robots" content="ALL">

<meta name="revisit-after" content="2 days">

<meta name="generator" content="<?= site_url; ?>">

<meta name="author" content="<?= $admin_res['companyName']; ?>">

<meta name="og:type" content="article">

<meta name="og:title" content="<?= $page_metatitle; ?>">

<meta name="og:image" content="<?= site_url; ?>/assets/images/logo.png">

<meta name="og:site_name" content="<?= $admin_res['companyName']; ?>">

<meta name="og:description" content="<?= $page_metadesc; ?>">

<meta name="twitter:card" content="summary">

<meta name="twitter:desc" content="<?= $page_metadesc; ?>">

<meta name="twitter:title" content="<?= $page_metatitle; ?>">

<meta name="abstract" content="<?= $page_metatitle; ?>">

<meta name="Classification" content="<?= $page_metadesc; ?>">

<meta name="dc.source" content="<?= site_url; ?>">

<meta name="dc.title" content="<?= $page_metatitle; ?>">

<meta name="dc.keywords" content="<?= $page_metakey; ?>">

<meta name="dc.subject" content="<?= $page_metatitle; ?>">

<meta name="dc.description" content="<?= $page_metadesc; ?>">

<link rel="canonical" href="<?php echo $actual_links; ?>">

<link rel="publisher" href="<?= site_url; ?>">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="<?=site_url;?>/assets/images/favicon.ico" rel="shortcut icon">

<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"
    as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.css">
</noscript>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.2.1/build/css/intlTelInput.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.2.1/build/css/intlTelInput.css">
</noscript>
<link fetchpriority="low" href="<?=site_url;?>/assets/css/theme.css" rel="stylesheet">
<link rel="preload" href="<?=site_url;?>/assets/css/responsive.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="<?=site_url;?>/assets/css/responsive.css">
</noscript>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/25.2.1/build/css/intlTelInput.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/25.2.1/build/js/intlTelInput.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

<!-- <script src="<?=site_url;?>/assets/js/jquery-3.6.0.min.js"></script> -->


<script async src="https://www.googletagmanager.com/gtag/js?id=G-48CMYWHNRJ"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
    dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-48CMYWHNRJ');
</script>

<meta name="google-site-verification" content="6wMJbdRWLtYWwMOlOPoxRrwJ57ChJjVKadvZ0Eksqvc">

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "WebSite",
    "name": "Top Astrologer in India",
    "url": "https://www.topastrologerindia.com/",
    "potentialAction": {
        "@type": "SearchAction",
        "target": "https://www.topastrologerindia.com/search?q={search_term_string}",
        "query-input": "required name=search_term_string"
    }
}
</script>