Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Merged Meta description tag

More
13 years 7 months ago #132447 by milstanyu
Kunena 2.0.2 makes description meta tag for posts like this:

Global meta description + Content of the first topic

This makes pages with duplicate meta descriptions. Is it possible to get rid of the "Global meta description"?

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #132452 by sozzled
Replied by sozzled on topic Meta description tag
What version of Kunena are you using? Have you searched the forum for "meta description tag" for other topics about your problems?

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #132485 by milstanyu
Replied by milstanyu on topic Meta description tag
No, I couldn't find any solution. I can see meta description is created in file /components/com_kunena/views/topic/view.html.php in this part:
Code:
// Create Meta Description form the content of the first message // better for search results display but NOT for search ranking! $description = KunenaHtmlParser::stripBBCode($this->topic->first_post_message, 182); $description = preg_replace('/\s+/', ' ', $description); // remove newlines $description = preg_replace('/^[^\w0-9]+/', '', $description); // remove characters at the beginning that are not letters or numbers $description = trim($description); // Remove trailing spaces and beginning $this->setDescription ( $description );

However, I don't understand why it adds the global site meta description BEFORE? I think it's not needed and has negative impact on SEO. If you look any Kunena site with Google Webmaster Tools > HTML Improvements, it will show warnings about pages with duplicate meta descriptions.
Last edit: 13 years 7 months ago by milstanyu.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #132514 by ChaosHead
Replied by ChaosHead on topic Meta description tag
Look at this file. I modified keywords and title. Edited it. Look at the end.
/administrator/components/com_kunena/libraries/view.php
The following user(s) said Thank You: milstanyu, ariaji86, Jazzvox

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #132558 by milstanyu
Replied by milstanyu on topic Meta description tag
Thank you for this!

I changed in /administrator/components/com_kunena/libraries/view.php this line
Code:
$this->document->setMetadata ( 'description', $this->document->get ( 'description' ) . '. ' . $description );
to this
Code:
$this->document->setMetadata ( 'description', $description );
and now descriptions tags are perfect. However, this is a hack, I must remember to change it again whenever I upgrade Kunena. I think Kunena team should consider this modification because adding global description tag to the post's tags is not good.
The following user(s) said Thank You: brentwilliams

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #137172 by Jazzvox
Replied by Jazzvox on topic Meta description tag
..not perfect (mostly too short), but at least no duplicates - Thanks!
..this doesn't take effect for content pages (rules, help)

Meta keywords and description in Joomla Menu/Article settings should be used instead - that's what they're made for. Well, other extensions have the same behaviour...

Please Log in or Create an account to join the conversation.

Time to create page: 0.253 seconds