Jump to content

[SOLVED] SEO and PHP Question


DarkPrince2005

Recommended Posts

Someone once told me that there is no such thing as a dumb question, and I actually think it was someone in this forum.

 

So, here is my question:

 

Do search engines and search spiders read the meta  tags when you echo them in php...

 

<?php

echo "<html>
<head>
<title>My Site</title>
<meta name="keywords" content="bed, breakfast, hotel, accomodation">
</head>
<body>.....etc.";
?>
<

 

or will you have to structure the php code into the html...

<html>
<head>
<title>My Site</title>
<meta name="keywords" content="bed, breakfast, hotel, accomodation">
</head>
<body>
<?php.....etc.?>
</body>

 

And do search spiders read the meta tags in .php files?

Link to comment
https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.