Hi!
Jdownloads generates keywords meta tag on main page from all categories.
So, meta tag have a huge amount of keywords like:
<meta name="keywords" content=" download programs for working with graphics free browsers, downloaders, torrent clients Freeware Multimedia windows free programs, system management, system software free office software, free office, free download office, free office porgram for windows, office download, free office programs for computer security free software for developers and webmasters" />
Google call this as spam.
How I can manage this meta tag (only for main page).
Thanks.
Hi
I have just looked into this. It only generates the meta keywords when a user is logged in. Also they are only taken from the top level categories.
Colin
No, it generates meta keywords for all users.
Here example:
https://bestwinsoft.com
I can't find code wich generates keywords for main page.
I want to add only 1 or 2 keywords for main page.
Hi
Yes I can see it on your site but it is not there for my site until I login!! Will look further later today
Colin
Any news about that?
Still waiting for your helps.
I've files
components/com_jdownloads/views/categories/view.html.php
components/com_jdownloads/views/categories/tmpl/default.php
with no success...
I even tried to add code manually
$document = JFactory::getDocument();
$document->setMetaData('keywords', "keyword1,keyword2, etc.");
But Jdownloads still displays many many keywords...
QuoteI can't find code wich generates keywords for main page.
I want to add only 1 or 2 keywords for main page.
This is in the Joomla global configuration.
Quote from: Arno on 18.04.2016 09:02:59
This is in the Joomla global configuration.
No, Arno.
Jdownloads ingores settings from Joomla global configuration.
Jdownloads sums up all the keywords from all categories on main page.
(https://dl.dropboxusercontent.com/s/djf90w4v3ffhve2/2016-04-18%20at%2010.44.jpg)
(https://dl.dropboxusercontent.com/s/y6qe8ekjj219my6/2016-04-18%20at%2010.46.jpg)
Maybe have you used the meta data fields in the main menu item.
[gelöscht durch Administrator]
No, it's empty...
I made little test.
I have changed keywords for Graphics category
(https://dl.dropboxusercontent.com/s/39g1zi1izbkzd5n/2016-04-18%20at%2016.02.jpg)
and then I checked keywords on main page.
(https://dl.dropboxusercontent.com/s/2xfz76wacjbb68z/2016-04-18%20at%2016.04.jpg)
So, Jdownloads takes keywords for main page from categories.
What for a menu type is your main page (home)?
Can this be the result from your modifications (overrides)?
Use you a special addon to generate meta data?
I have also done a test.
When i add meta data in a category are this only use as meta tags in the correspondig category view. Not on the main page (which is NOT a jdownloads menu type).
[gelöscht durch Administrator]
I use default menu item
(https://dl.dropboxusercontent.com/s/3etu3y46gd02nov/2016-04-18%20at%2016.26.jpg)
I does not use any special addons to generate meta data.
I have Artio Sef installed, but i tried do disable it - no results.
Yes, I use modifications (overrides), but i tried do disable them - no results...
I have downloaded latest Jdownloads version and installed it on clean Joomla site on local server.
Then I have created 2 categories with keywords key1, key2 for Test Category
and key2 1, key 2 2 for Test2 Category
(https://dl.dropboxusercontent.com/s/fb2xx6kmjvatqg3/2016-04-18%20at%2016.36.jpg)
(https://dl.dropboxusercontent.com/s/2gt6km5edhuc9ah/2016-04-18%20at%2016.38.jpg)
Then, I have created default Jdownloads menu item.
And resuit is same!
Jdownloads generates keywords from 2 categories: key 1, key 2 key2 1, key 2 2
(https://dl.dropboxusercontent.com/s/vu26gl7fstm4ll8/2016-04-18%20at%2016.41.jpg)
Okay, thanks i will check it here tonight. It seems only be present when this menu type is used for the main page.
Hi
It seems that the meta words are omly created for top level categories. As these are usually fairly stable why not edi/remove the meta data on these cats?
Colin
Hi ColinM.
Because each page should contains own meta keywords.
I can't remove them.
We need to fix problem - ignoring meta keywords from Global Joomla Setting.
Hi
If I show a list all downloads or a list all cats menu page then meta Keywords are from the Global, and the Meta description is from the jD Component.
On a Downloads Details Page the Meta Description comes from the Download Description.
If I set my Home Page to be a 'list all cats ' type then it still shows as above.
Are you absolutely sure you have no plugin, module perhaps an SEO one that is causing this to happen?
Basically I cannot reproduce what you are showing
Colin
Okay. I have the handling compared with the handling in Joomla self.
So i have corrected the priority from the kewords in the categories view.
Now is only used the categories keywords, when in global config and menu item are no keywords created.
Please test the unzipped files below and copy it to:
/com_jdownloads/views/categories/tmpl/
And create your required keywords in the menu item. Please post here your results.
@Colin:
QuoteIf I show a list all downloads or a list all cats menu page then meta Keywords are from the Global
Only when you have not defined any keywords in the categories. I could reproduce the results from romagromov (see above).
[gelöscht durch Administrator]
Thanks Arno. It works correct now :D
@Arno
Pleased you sorted out the problem, but for the record I did have meta keywords in some top level categories!!!
Colin
Quote from: ColinM on 19.04.2016 15:26:18
@Arno
Pleased you sorted out the problem, but for the record I did have meta keywords in some top level categories!!!
Colin
Sorry Colin but i understand not what you mean. Please use the internal forum when here exist still a problem.