Hi there,
If you view source code for your installed Efiction, you will find that the Keywords, description and couple of SEO essential info missing.
Well, I have good news for you. You have to edit header.php to include the meta tags.
Instruction, go to the root directory where you had installed Efiction, if you installed into a folder, then if would be /home/yourusername/public_html/efiction_folder/
Edit header.php starting from about line 215,
Replace previous coding starting echo_DOCTYPE>"<html<head>"; to echo "<meta http-equiv="Content-Type" content="text/html; charset="._CHARSET."">";
Here is the codes needed (please make changes to the keywords and description to match your website) :-
echo _DOCTYPE."<html><head>";
if(!isset($titleinfo)) $titleinfo = "$sitename - $slogan";
//add by Stanley 30/11/2010 to include keywords and descriptions, subject.
echo "<meta name="KEYWORDS" content="Efiction, short story, long story, fiction, non-fiction, stories, testimony, challenges">";
if(!isset($metaDesc)) echo "<meta name="DESCRIPTION" content="Efiction for authors to write story, fiction or non-fiction, video, flash - $sitename">";
echo "<meta name="SUBJECT" content="Efiction tfor author to wrtie story">";
echo "<meta name="AUTHOR" content="$sitename">";
echo "<meta name="COPYRIGHT" content="$sitename">";
echo "<meta name="allow-search" content="yes">";
echo "<meta name="audience" content="All">";
echo "<meta name="Robots" content="All">";
echo "<meta name="revisit-after" content="15 days">";
if(isset($metaDesc)) echo "<meta name='description' content='$metaDesc'>";
echo "<title>$titleinfo</title>";
//add by Stanley 30/11/2010 to include keywords and descriptions, subject.
echo "<meta name="SUBJECT" content="Efiction for author to write story">";
echo "<meta name="AUTHOR" content="$sitename">";
echo "<meta name="COPYRIGHT" content="$sitename">";
echo "<meta name="allow-search" content="yes">";
echo "<meta name="audience" content="All">";
echo "<meta name="Robots" content="All">";
echo "<meta name="revisit-after" content="15 days">";
echo "<meta http-equiv="Content-Type" content="text/html; charset="._CHARSET."">";
Enjoy,
Regards
Stanley
How many of the tags are actually used in modern SEO? It was my impression that most meta tags had been depreciated.
Also, the code is duplicated. Is this for a reason or an accident.
In any case it does not hurt to have the tags. Very nice job, thank you for sharing π
Not deprecated, just pretty much ignored. Keywords and description are still used, but don't have much weight any more. Description may show up in the search results snippet, but google doesn't use it any more. Robots are still used, but that's not the correct format. Correct examples:
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
<META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
Revisit-after is correct and will help you control how often robots (google, slurp, yahoo, etc) index your site. If your host is complaining about too much bandwidth usage, you can set this to a longer interval and slow the 'bots down.
