} } } } } } ?> <!DOCTYPE html> <html lang="<?php echo seo42::getLangCode(); ?> "> <head> <meta charset="utf-8" /> <base href="<?php echo seo42::getBaseUrl(); ?> " /> <title><?php echo $meta_title; ?> </title> <meta name="description" content="<?php echo $meta_description; ?> " /> <meta name="keywords" content="<?php echo $meta_keywords; ?> " /> <meta name="robots" content="<?php
/** * INSERT SITEMAP LINK INTO ROBOTS.TXT * * @return (string) robots.txt */ public function addSitemapLink() { $this->robots_txt = rtrim($this->robots_txt, "\r\n"); $this->robots_txt .= "\r\n" . PHP_EOL . 'Sitemap: ' . seo42::getBaseUrl() . 'sitemap.xml'; }