Hi
I have problems with meta tags, that is, I have set keyword list in che language configuration menu (I call these general keyowrds). Next I have set keywords for single pages, but when I watch at page source I an only find general keyowrds and not single page keywords.
After some days I cannt find my site althoug it has bin exposed to google.
Is there a way to specify if a page overrides general keywords ot to specigy if it uses local keywords?
I have last release of cmsimple_hx (e_XH 1.6.1pl1 Released: 2014-04-24) and All plugins seem updated.
Is it possible to use pdeditor?
thanks in advance
meta tags, and seo indexing
Re: meta tags, and seo indexing
You have found a bug that's apparently there since CMSimple_XH 1.6beta1.sareide wrote:I have problems with meta tags, that is, I have set keyword list in che language configuration menu (I call these general keyowrds). Next I have set keywords for single pages, but when I watch at page source I an only find general keyowrds and not single page keywords.
For a quick fix change plugins/meta_tags/index.php line 54ff:
Code: Select all
if ($pd_current['title']) {
$cf['site']['title'] = $pd_current['title'];
}
if ($pd_current['description']) {
$tx['meta']['description'] = $pd_current['description'];
}
if ($pd_current['keywords']) {
$tx['meta']['keywords'] = $pd_current['keywords'];
}
if ($pd_current['robots']) {
$cf['meta']['robots'] = $pd_current['robots'];
}
Last edited by cmb on Mon May 19, 2014 7:36 pm, edited 1 time in total.
Reason: fixed bug in bugfix
Reason: fixed bug in bugfix
Christoph M. Becker – Plugins for CMSimple_XH
Re: meta tags, and seo indexing
Hi
I have modified index.php source code but I get this message:
"Cannot modify header information - headers already sent (output started at /home/mhd-01/www.xxxxxxxx.com/htdocs/plugins/meta_tags/index.php:1)"
I think that is releted to a mixed situation caused by the bug and the writing of meta tags in two different places.
How ccould recover?
thanks in advance
sareide
I have modified index.php source code but I get this message:
"Cannot modify header information - headers already sent (output started at /home/mhd-01/www.xxxxxxxx.com/htdocs/plugins/meta_tags/index.php:1)"
I think that is releted to a mixed situation caused by the bug and the writing of meta tags in two different places.
How ccould recover?
thanks in advance
sareide
Re: meta tags, and seo indexing
I suppose you have saved the file as UTF-8 with BOM; you have to save it without a BOM, see http://www.cmsimple-xh.org/wiki/doku.ph ... es_offline.sareide wrote:"Cannot modify header information - headers already sent (output started at /home/mhd-01/www.xxxxxxxx.com/htdocs/plugins/meta_tags/index.php:1)"
Christoph M. Becker – Plugins for CMSimple_XH
Re: meta tags, and seo indexing
While having a closer look at the issue, I have noticed, that my original fix was not working for the site_title. I have fixed that in the code above.
Actually, my original fix was correct, IMO, but $cf['site']['title'] is used in some other places and I'm not sure, if there are more that I couldn't find, so for now we should stick with $cf['site']['title'] (in XH 1.6.1 line 821 in cmsimple/cms.php makes that work). However, I suggest that we wipe out $cf['site']['title'] completely for the next version that has a beta/RC phase (without appropriate acceptance tests, which we don't have for the near future, changing that now is too hot a potato, IMO).
PS: fixed with r1299.
Actually, my original fix was correct, IMO, but $cf['site']['title'] is used in some other places and I'm not sure, if there are more that I couldn't find, so for now we should stick with $cf['site']['title'] (in XH 1.6.1 line 821 in cmsimple/cms.php makes that work). However, I suggest that we wipe out $cf['site']['title'] completely for the next version that has a beta/RC phase (without appropriate acceptance tests, which we don't have for the near future, changing that now is too hot a potato, IMO).
PS: fixed with r1299.
Last edited by cmb on Mon May 19, 2014 7:45 pm, edited 1 time in total.
Reason: added PS
Reason: added PS
Christoph M. Becker – Plugins for CMSimple_XH
Re: meta tags, and seo indexing
Hi
I have used the suggested update of index.php of meta_tag pluing, but I cannot manage the seo indexing.
that is to say, I have a set of pages with keywords that are coherent with page content. But google, after the indexing of my cmsimple site, handles only the domain xxxxxx.it keyword. am I wrong?
that's way I am not able to reach the site from google, after months of reindexing.
please could you help me?
thanks in advance
sareide
I have used the suggested update of index.php of meta_tag pluing, but I cannot manage the seo indexing.
that is to say, I have a set of pages with keywords that are coherent with page content. But google, after the indexing of my cmsimple site, handles only the domain xxxxxx.it keyword. am I wrong?
that's way I am not able to reach the site from google, after months of reindexing.
please could you help me?
thanks in advance
sareide
Re: meta tags, and seo indexing
As far as I know, Google ignores the meta keywords completely (because they have been and still are misused). You have to use other means to place relevant keywords, such as the page headings and the site title.sareide wrote:that is to say, I have a set of pages with keywords that are coherent with page content. But google, after the indexing of my cmsimple site, handles only the domain xxxxxx.it keyword. am I wrong?
However, I suggest that you ask general SEO related questions where the SEO specialists are, for instance: https://productforums.google.com/forum/ ... webmasters.
Christoph M. Becker – Plugins for CMSimple_XH