我怀疑使用服务器脚本动态添加元标记可以最大限度地减少搜索引擎优化的范围,任何人都可以告诉它好或不这样做?
// Header1.php
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title ;?></title>
<meta name="description" content="<?php echo $title ;?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
</html>
// home.php
<?php
$title="Portfolio";
include ('../assets/includes/header1.php');
?>
<section id="portfolio" class="portfolio text-center">
<div class="portfolio-bottom">
<div class="section-padding">
</div>
</div>
</section>
<?php
include ('../assets/includes/footer.php');
?>