Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Duplicate Meta Descriptions

Asked Modified Viewed 2,658 times
K
krisidious
K
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
asked
Junior Member

I've noticed an issue in Google Webmaster tools of Duplicate Meta Descriptions. It would seem that all of the articles are getting the same meta description as the home page set in settings.

http://goldfish-emergency.com/news.php

Is there something I'm doing wrong?

I've installed SEO-Friend and now I can edit or change pages. However I would have hoped this was built in. Is that ability in the works? Is there a complete SEO tool for seo-urls and meta data?
0 replies

4 posts

S
spunk
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
answered
Member

Sample:
Look for the right position in articles.php...

Generate unique page title
(Replace add_to_title in articles.php)
set_title($article_subject." - ".$settings['sitename']." - Article");


Unique Meta-Describtion
set_meta('description', trimlink("This Article contents: ".$article_subject, 255), false);
0 replies
K
krisidious
K
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

Spunk,
thanks for your reply.

I'm a noob so you'll have to be a bit more precise with me.

I have 3 sections with add title.

add_to_title($locale['global_201'].$article_subject);
      echo "<!--pre_article-->";
      render_article($article_subject, $article[$_GET['rowstart']], $article_info);
      echo "<!--sub_article-->";
      if ($pagecount > 1) {


and

# end of breadcrumbs

add_to_title($locale['global_200'].$locale['400']);

if (isset($_GET['article_id']) && isnum($_GET['article_id'])) {
   $result = dbquery(


and

if (checkgroup($cdata['article_cat_access'])) {
         $res = 1;
         add_to_title($locale['global_201'].$cdata['article_cat_name']);
         opentable($locale['400'].": ".$cdata['article_cat_name']);
         echo "<!--pre_article_cat-->";


at what place should I insert your code and what should I delete that is there currently?
0 replies
S
spunk
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
answered
Member

Your first Sample


// add_to_title($locale['global_201'].$article_subject);

set_title($article_subject." - ".$settings['sitename']." - Artikel");
set_meta('description', trimlink("Dieser Artikel handelt von: ".$article_subject, 255), false);

echo "<!--pre_article-->";
render_article($article_subject, $article[$_GET['rowstart']], $article_info);
echo "<!--sub_article-->";
0 replies
K
krisidious
K
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

Spunk,

thank you very much sir...
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
S
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet