javascript - Single header for multiple web pages -
i want utilize 1 header pages in project directory website. little bit confused. if kept single header , import in web pages impact seo? can crawler crawl header each page? want way not impact seo of website.
try :
<html lang="en"> <head> <title></title> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="description" content=""> <?php include 'header.php'; ?>
in header.php utilize static content such css,javascript etc.
header.php
<link rel="icon" href="../../favicon.ico"> <link href="css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/responsive.css"> <link href='http://fonts.googleapis.com/css?family=open+sans:400,300,300italic,400italic,600,600italic,700,800,800italic,700italic' rel='stylesheet' type='text/css'> </head>
i think, problem solved doing this
javascript php html5 seo web-crawler
No comments:
Post a Comment