Need your help,
I'am using opencart 2.2, my website only showed index, but no follow on robots code for all pages
I would like to insert "index, follow" on the robots, like this <meta name="robots" content="index, follow">
may I know which file should I edit? I couldn't find the code on header.tpl.
TQ
In the Theme header.tpl File, about like this, I assume ...
Ernie
Ernie
Code: Select all
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content= "<?php echo $keywords; ?>" />
<?php } ?>
ADD IT HERE:
<meta name="robots" content="index, follow" />
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Adding <meta name="robots" content="index, follow"> to all pages is a very bad idea!
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: No registered users and 276 guests