Sorry for my stupid question, but I just started to deal with SEO. Here is the thing: I have a quite long list of meta tags and links in the html-head. In order to simplify and centralize the maintenance I'd like to exclude the entire HEAD with PHP to a separate file.
Is that a problem in terms of SEO?
Thank you for your answers.
As long as the final HTML code stays the same, I don't see how SEO will be affected at all.
No , its not bad term you can do this since php is server side languages .. php The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page PHP files are returned to the browser as plain HTML
PHP is HTML embedded scripting language: This means that PHP statements and commands are actually embedded in your HTML documents. When the Web server sees the PHP statements in the Web page, the server executes the statements and sends the resulting output along with the rest of the HTML. PHP commands are parsed by the server
So either you include header by yourself or by php both are same effect and not bad practice for SEO .
this is how php works
what the search engine see will he html page not php so dont worry