Hi Everyone,
I have some problem with SEO expert while arguing about PHP Code and Head tag.
I have included some PHP Code inside head tag like
This is a CMS website and i have provided controls to add meta info at the admin panel of the website.
Now SEO expert is not happy with this as he is still insisting to remove any PHP code inside head tag of page. As i know Google Spider or Bot crawls rendered pages not PHP Code but im not able to give any reference to him. I have read Google Webmaster section and i did not found anything related to this issue.
My question is should i remove PHP code from inside of <head> tag?
Please advise me what should be the solution of this problem/issue.
Thanking you.
I have some problem with SEO expert while arguing about PHP Code and Head tag.
I have included some PHP Code inside head tag like
Code:
<head> <?php include("includes/functions.php"); if($_REQUEST['page']=='mypage') { then include meta tags according to the page name from the database. } ?> </head>
Now SEO expert is not happy with this as he is still insisting to remove any PHP code inside head tag of page. As i know Google Spider or Bot crawls rendered pages not PHP Code but im not able to give any reference to him. I have read Google Webmaster section and i did not found anything related to this issue.
My question is should i remove PHP code from inside of <head> tag?
Please advise me what should be the solution of this problem/issue.
Thanking you.
Comment