DarkPrince2005 Posted August 5, 2008 Share Posted August 5, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/ Share on other sites More sharing options...
DeanWhitehouse Posted August 5, 2008 Share Posted August 5, 2008 they read the source code ,so if it is outputted correctly , then it will be read. Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609056 Share on other sites More sharing options...
DarkPrince2005 Posted August 5, 2008 Author Share Posted August 5, 2008 Thanx... Really appreciate it Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609058 Share on other sites More sharing options...
dezkit Posted August 5, 2008 Share Posted August 5, 2008 Glad i can help, mark the topic and solved plz Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609059 Share on other sites More sharing options...
DeanWhitehouse Posted August 5, 2008 Share Posted August 5, 2008 dezkit, ?? how did you help Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609060 Share on other sites More sharing options...
secoxxx Posted August 5, 2008 Share Posted August 5, 2008 dezkit, ?? how did you help lol, seriously... Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609068 Share on other sites More sharing options...
DeanWhitehouse Posted August 5, 2008 Share Posted August 5, 2008 yer, there are no posts from him except that one. Quote Link to comment https://forums.phpfreaks.com/topic/118349-solved-seo-and-php-question/#findComment-609070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.