Page 1 of 1

Adding keywords to ready made site

Posted: Wed Aug 31, 2011 1:21 pm
by soccio97
Please understnad that I know nothing about coding or building a web page. I am doing everything from trial and error. I attempted to post the code below as requested in the instuctions but can't seem to get the same results as the example.

I purchased four sites which were ready made and I simply had to add Google and Amazon info. I don't seem to begetting the traffic I should and wanted to add new keywords. When I try to do that I get error messages about unexpected "[]" and ",". If I leave them off I can actually add the keywords but then my page changes from reading "HDTV News" to "HDTV TV LCD Plasma Samsung News" or whatever the keywords are. That's the closest I've come to solving it. The config.php file is where everything seems to originate and it is written as :

Code: Select all

// Configuration of your local installation and personal site definitions
$templatefoldername="includes";   //folder where templates are installed relative to the DocumentRoot.
$mysitename = "HDTV"; //name for your site
$mainkeyword = "hdtv"; //primary site keyword
//
On the main page there is this:

Code: Select all

if(isset($keyword)) {
    $keyword_dash = str_replace(" ", "-", $keyword);
    $keyword_ul = str_replace("-", "_", $keyword_dash);
    $keyword_lowercase = str_replace("-", " ", $keyword_dash);
    $keyword = ucwords($keyword_lowercase);
    $keyword_feed = str_replace("-", "+", $keyword_dash);
}
Can someone help me understand how to add keywords? Thank you in advance.

Re: Adding keywords to ready made site

Posted: Sun Sep 04, 2011 5:34 pm
by greip
This is not a direct response to your question: if you have working sites with content, you should try to get more links to the sites from other sites which are visited by people who may be interested in your content. This will in the long run also make it more likely that Google will send visitors to your sites. If the content on your sites is already published on one or more other sites, chances are that your sites will not get a significant number of visitors through the search engines. This as the search engines often will prefer to send people to the sites that first published the content.