Forum Moderators: open
What I knew, you use to use meta tags put above the header section of your index.html file. The most important meta tags were the discrition and Keyword tags. You didnt want to repeat words , and the discription needed to make sense, repeated words there was bad. You did want to use as many keywords as possible in each discrition.
You put meta tags on every page that you submitted to the search engine. You had to submit every page if you wanted to go deep into your site.
PHP:
if we are still suppose to use meta tags, where do they go. The Index.php, mainfile.php, header.php, footer.php. Where exactly should they go in the file, before the commented out section, right after, etc.
I have searched this site and know that there is much information about links and keywords, but I did not find the answers to the question above.
Thank you
My content is either kept in xml or db.
I have a template.php that I include that contains a full html page including all head,body, etc. Where content will appear I have <?=$variable?>. So there would be a variable for title, body content, navigation, etc. I do not use meta keywords, occasionally I have a description.
If you are splitting it into header and footer then obviously the title and description would be in the header and some text links in the footer.
Am I on the right track for what you wanted?