Ok so here's my dilemma. I have a large-content site I'm working on for my boss (62 pages of content.) I wanted to minimize my workload for future edits, so I stripped the header and footer from every page, put them in their own php files, and I'm telling each content page to include them. To keep the same SEO principles and enhance them, I did the following:
1.) Enabled mod_rewrite to translate each .php into .html
2.) Made a global keywords variable in the header (seen below)
PHP Code:
$globalKeywords = "internet, Solano, broadband, high speed, fast, Winters, Dixon, Vacaville, Fairfield, Suisun, Green Valley, Elmira, Dixon, Winters 95620, 95687, 95688, 95625, 94585, 95694, web hosting, web design, computer repair";
3.) I then wrote this if/else statement below the global keywords variable (seen below)
PHP Code:
if($keywords != "") {
echo "<meta name=\"keywords\" content=\"$globalKeywords.$keywords\">\n";
} else {
echo "<meta name=\"keywords\" content=\"$globalKeywords\">\n";
}
4.) Finally, for each content page, I defined the variable $keywords to add page specific keywords into the header for that page itself (seen below)
PHP Code:
$keywords = "dsl speeds, dsl rates, hi speed internet";
So to understand the idea, if there are any page-specific keywords on the content page, it's added into the global keywords. If not, only the global keywords are used.
My boss believes this will make the crawlers confused and not index every page. Am I right in assuming as long as the links work, are in html extensions and do not have variables in the url that they should be able to index just as well, if not better than with fully stand-alone html pages?