| :: |
| Author |
Message |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Tue Jan 08, 2008 4:20 pm Post subject: dynamic meta tags v. 0.2.0 |
|
|
| I have gone through and made all of the changes on my site as detailed in the install docs. Everything on the site seems to work, but when I view the source I do not see any meta tags. How do I know if it's working or how do I troubleshoot? |
|
|
| Back to top |
|
 |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 225
|
|
| Back to top |
|
 |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Tue Jan 08, 2008 9:39 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
I'm sorry I don't understand your response. Are you saying that everything will work properly? How will I know for sure?
Thank you for your help. |
|
|
| Back to top |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 225
|
Posted: Tue Jan 08, 2008 11:59 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
sorry for my bad english
So i was on your site and propably keyword dont show because you dont have any content.Keyword and other meta tags are extracted from 1. post and but you dont havy any posts there.Or other reason you did somethink bad, look on my site it worlk good |
_________________ phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center |
|
| Back to top |
|
 |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Wed Jan 09, 2008 12:44 am Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
I do have one post for testing purposes at This Link. Still no meta tags showing in source.
There was one step in the installation that I think may be an issue.
This is an excert from includes/functions.php
| Code: | function seo_meta_tags() {
global $config;
$this->meta['meta_tpl'] = '<meta name="title" content="%s" />' . "\n" . '<meta name="description" lang="%s" content="%s" />' . "\n" . '<meta name="keywords" content="%s" />' . "\n" . '<meta name="category" content="%s" />' . "\n" . '<meta name="robots" content="%s" />'. "\n" . '<meta name="distribution" content="%s" />' . "\n" . '<meta name="resource-type" content="%s" />' . "\n" . '<meta name="copyright" content="%s" />';
// Here you can hard code a static default title, description and keywords
// As is, the mod will return information based on the phpbb config
$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'] = 'index,follow';
$this->meta['meta_distrib'] = 'global';
$this->meta['meta_restype'] = 'document';
$this->meta['meta_copy'] = $config['sitename'];
return; |
The documentation says it should like like this.
| Code: |
$seo_meta['meta_title_def'] = $config['sitename'];
$seo_meta['meta_desc_def'] = $config['site_desc'];
$seo_meta['meta_keywords_def'] = $config['site_desc'];
$seo_meta['meta_lang'] = $config['default_lang'];
$seo_meta['meta_cat'] = 'general';
$seo_meta['meta_robots'] = 'index,follow';
$seo_meta['meta_distrib'] = 'global';
$seo_meta['meta_restype'] = 'document';
$seo_meta['meta_copy'] = $config['sitename'];
|
Could this be an issue? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Wed Jan 09, 2008 8:43 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
| I have edited everything as instructed in the documentation, as well as cleared the cache. All of the files I modified can be found at www.employerforums.net/files.zip. Can you see what I may have done wrong? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun Jan 13, 2008 4:17 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
From your online html source code :
| Code: | <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" /> |
From the overall_header.html you sent :
| Code: | <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
{META_TAG} |
It really looks like you either did not uploaded the overall_header.tpl file in the right place or did not actually cleared the cache.
Try deleting all files in the cache/ dir except the .htaccess.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Mon Jan 14, 2008 1:20 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
The cache is empty. This is the file I have stored at styles/prosilver/template.
| Code: | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
{META_TAG}
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Wed Jan 16, 2008 10:35 am Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
Well, the code is correct, but unless you configured you forum sitename to "2002-2006 phpBB Group", there is just no way you'll see :
| Code: | | <meta name="copyright" content="2002-2006 phpBB Group" /> |
on -www.employerforums.net with this mode installed and cache cleared.
You must be doing something wrong, which most likely will look obvious once you'll have find it.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
abcEzy
Joined: 20 Oct 2007 Posts: 9
|
Posted: Wed Jan 16, 2008 1:08 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
sorry to be a pain, I don't understand this part. I've got the seo mod installed for phpbb 3.0.0.
When trying to install this, the section below doesn't exist in the includes/functions.php file.
What am I missing here?
Thx in advance.
-------
________________________________________
>>>> INSTALLATION INSTRUCTION <<<<<
________________________________________
In in includes/functions.php, you'll find some pretty obvious code you may want to modify upon your needs :
$seo_meta['meta_title_def'] = $config['sitename'];
$seo_meta['meta_desc_def'] = $config['site_desc'];
$seo_meta['meta_keywords_def'] = $config['site_desc'];
$seo_meta['meta_lang'] = $config['default_lang'];
$seo_meta['meta_cat'] = 'general';
$seo_meta['meta_robots'] = 'index,follow';
$seo_meta['meta_distrib'] = 'global';
$seo_meta['meta_restype'] = 'document';
$seo_meta['meta_copy'] = $config['sitename']; |
|
|
| Back to top |
|
 |
abcEzy
Joined: 20 Oct 2007 Posts: 9
|
Posted: Wed Jan 16, 2008 1:23 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
Never mind, excuse my post. I didn't clear the cache. my bad.
Hey guys, have you sorted out that paypal donation button I can send some money over to you as my sign of thanks for the effort you've put into your work?
Cheers. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
tymoore
Joined: 08 Jan 2008 Posts: 6
|
Posted: Wed Jan 16, 2008 2:20 pm Post subject: Re: dynamic meta tags v. 0.2.0 |
|
|
I'm not sure what I did differently this time, but I cleared the cache again and everything worked properly. Thank you for your help!
| dcz wrote: | Well, the code is correct, but unless you configured you forum sitename to "2002-2006 phpBB Group", there is just no way you'll see :
| Code: | | <meta name="copyright" content="2002-2006 phpBB Group" /> |
on -www.employerforums.net with this mode installed and cache cleared.
You must be doing something wrong, which most likely will look obvious once you'll have find it.
++ |
|
|
|
| Back to top |
|
 |
|
|