Will this fix "Duplicate title tags" = 60 from google webmaster tools
The other issue I seem to be having is:
"Duplicate meta descriptions" = 85
*I don't know a whole lot about SEO except the basics
Moderator: Moderators

Index pageTech-101
includes/functions.php function make_keywords($text) {
global $phpbb_root_path;
static $stop_words = array();
$keywords = '';
$num = 0;$keywords = 'your, static, keywords, can, go, here';
$num = the number of letters a word must have more than; var $mconfig = array('keywordlimit' => 15, 'wordlimit' => 25, 'wordminlen' => 2, 'bbcodestrip' => 'img|url|flash|code', 'ellipsis' => ' ...', 'topic_sql' => true, 'check_ignore' => false, 'bypass_common' => true,
// Consider adding ", 'p' => 1" if your forum is no indexed yet or if no post urls are to be redirected
// to add a noindex tag on post urls
'disallowed' => array('style' => 1, 'hilit' => 1, 'print' => 1, 'sid' => 1),
);'keywordlimit' => 15, 'wordlimit' => 25, 'wordminlen' => 2, /**
* Some config :
* => keywordlimit : number of keywords (max) in the keyword tag,
* => wordlimit : number of words (max) in the desc tag,
* => wordminlen : only words with more than wordminlen letters will be used, default is 2,
* => bbcodestrip : | separated list of bbcode to fully delete, tag + content, default is 'img|url|flash',
* => ellipsis : ellipsis to use if clipping,
* => topic_sql : Do a SQL to build topic meta keywords or just use the meta desc tag,
* => check_ignore : Check the search_ignore_words.php list.
* Please note :
* This will require some more work for the server.
* And this is mostly useless if you have re-enabled the search_ignore_words.php list
* filtering in includes/search/fulltest_native.php (and of course use fulltest_native index).
* => bypass_common : Bypass common words in viewtopic.php.
* Set to true by default because the most interesting keywords are as well among the most common.
* This of course provides with even better results when fulltest_native is used
* and search_ignore_words.php list was re-enabled.
* => disallowed : Disallow tag based on GET var used : varname => 1|0, 1 will through a disallow meta tag.
* Some default values are set bellow in the seo_meta_tags() method
**/ $this->meta['meta_title_def'] = $config['sitename'];
$this->meta['meta_desc_def'] = $config['site_desc'];
$this->meta['meta_keywords_def'] = $config['site_desc'];
$this->meta['meta_lang'] = $config['default_lang'];
$this->meta['meta_cat'] = 'general';
$this->meta['meta_robots_def'] = 'index,follow';
$this->meta['meta_distrib'] = 'global';
$this->meta['meta_restype'] = 'document';
$this->meta['meta_copy'] = $config['sitename'];$this->meta['meta_keywords_def'] = "this is my default decription for page without custom meta";
SeO wrote:
Then, to answer Daku, you can hard code default right where they are :
- Code: Select all
$this->meta['meta_title_def'] = $config['sitename'];
$this->meta['meta_desc_def'] = $config['site_desc'];
$this->meta['meta_keywords_def'] = $config['site_desc'];
$this->meta['meta_lang'] = $config['default_lang'];
$this->meta['meta_cat'] = 'general';
$this->meta['meta_robots_def'] = 'index,follow';
$this->meta['meta_distrib'] = 'global';
$this->meta['meta_restype'] = 'document';
$this->meta['meta_copy'] = $config['sitename'];
Example :
- Code: Select all
$this->meta['meta_keywords_def'] = "this is my default decription for page without custom meta";
$this->meta['meta_keywords_def'] = 'keyword1, keyword2, keyword3';

Users browsing this forum: No registered users and 8 guests