News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

How to change keywords meta tag for main page? - [Fixed in 3.2.43]

Started by romagromov, 14.02.2016 21:21:31

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

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.
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

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
Colin M
  •  

romagromov

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.
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

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
Colin M
  •  

romagromov

Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

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...
Best free windows software for your PC at bestwinsoft.com
  •  

Arno

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.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

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.



Best free windows software for your PC at bestwinsoft.com
  •  

Arno

Maybe have you used the meta data fields in the main menu item.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

I made little test.
I have changed keywords for Graphics category




and then I checked keywords on main page.



So, Jdownloads takes keywords for main page from categories.
Best free windows software for your PC at bestwinsoft.com
  •  

Arno

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]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

I use default menu item



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...
Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

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





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 

Best free windows software for your PC at bestwinsoft.com
  •  

Arno

#14
Okay, thanks i will check it here tonight. It seems only be present when this menu type is used for the main page.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •