meta tags, and seo indexing

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
Post Reply
sareide
Posts: 21
Joined: Sat Apr 07, 2012 1:26 pm

meta tags, and seo indexing

Post by sareide » Sun May 18, 2014 9:19 pm

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

cmb
Posts: 13274
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: meta tags, and seo indexing

Post by cmb » Sun May 18, 2014 10:31 pm

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.
You have found a bug that's apparently there since CMSimple_XH 1.6beta1.

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
Christoph M. Becker – Plugins for CMSimple_XH

sareide
Posts: 21
Joined: Sat Apr 07, 2012 1:26 pm

Re: meta tags, and seo indexing

Post by sareide » Mon May 19, 2014 12:07 pm

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

cmb
Posts: 13274
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: meta tags, and seo indexing

Post by cmb » Mon May 19, 2014 12:09 pm

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)"
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.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 13274
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: meta tags, and seo indexing

Post by cmb » Mon May 19, 2014 7:44 pm

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.
Last edited by cmb on Mon May 19, 2014 7:45 pm, edited 1 time in total.
Reason: added PS
Christoph M. Becker – Plugins for CMSimple_XH

sareide
Posts: 21
Joined: Sat Apr 07, 2012 1:26 pm

Re: meta tags, and seo indexing

Post by sareide » Tue Jul 08, 2014 4:35 pm

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

cmb
Posts: 13274
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: meta tags, and seo indexing

Post by cmb » Tue Jul 08, 2014 5:30 pm

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?
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.

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

Post Reply