Results 1 to 15 of 15

Please help me change my meta description

This is a discussion on Please help me change my meta description within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hello all, As an example, please refer to this URL: Gears of War 2 Take a look at the source ...

  1. #1
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times

    Please help me change my meta description

    Hello all,

    As an example, please refer to this URL: Gears of War 2

    Take a look at the source code. Here is what the meta description looks like:

    Code:
    content="Gears of War 2 - Gears of War 2 is a tactical third-person shooter video game, developed by Epic Games and published by Microsoft Game Studios for" />
    Here is what I want it to look like:

    Code:
     content="Gears of War 2 is a tactical third-person shooter video game, developed by Epic Games and published by Microsoft Game Studios for" />
    All I want to do is get rid of the "Gears of War 2 - " part, in the beginning of the tag. What file do I need to edit to accomplish this?

    Thanks!

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    This is because it is pulling the forum title and adding it first. I am trying to see how the are doing this.
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    When I turn off the Dynamic META description in vBSEO it works perfect! But then my thread page descriptions are not good :(

  4. #4
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Strange, than one of the developers will have to post a solution for that. I do not know what file that specific coding is.
    The Forum Hosting - Forum Hosting from the Forum Experts

  5. #5
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    Yeah, I couldn't find it in any of the vBSEO templates, and changing the headerinclude template doesn't help

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    More than likely it is edited on the fly within our files. I flagged this for a developer.
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    Thanks What is the usual ETA for something like this?

  8. #8
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Well Oleg is on holiday, so not as fast as normal. I would say with 24 hours?
    The Forum Hosting - Forum Hosting from the Forum Experts

  9. #9
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    Okay cool Thanks!

  10. #10
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Better yet, try this:

    includes/functions_vbseo.php

    Find:

    PHP Code:
    $desc_content $fi['title'] . ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?' - ' $fi['description']:''); 
    Replace with:

    PHP Code:
    $desc_content = ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?' - ' $fi['description']:''); 
    It may just work rather than having to wait.
    The Forum Hosting - Forum Hosting from the Forum Experts

  11. #11
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Actually there is a solution without file edits. You can do the following :

    Edit headinclude template add try making the following change

    Find
    HTML Code:
    <meta name="description" content="$vboptions[description]" />
    Replace with

    HTML Code:
    <meta name="description" content="<if condition="THIS_SCRIPT == 'showthread'"><!--VBSEO_RR_3--> </if>$vboptions[description]" />
    Turn of Dynamic META description within vBSEO Cp

    Add the following Relevant Replacement for RR 3
    Code:
    [first_post_10_words]
    This should accomplish your need
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  12. #12
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    Better yet, try this:

    includes/functions_vbseo.php

    Find:

    PHP Code:
    $desc_content $fi['title'] . ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?' - ' $fi['description']:''); 
    Replace with:

    PHP Code:
    $desc_content = ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?' - ' $fi['description']:''); 
    It may just work rather than having to wait.
    This worked but it kept the - mark in the front... how can I get rid of the - mark?

  13. #13
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Try to make it:

    PHP Code:
    $desc_content = ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?$fi['description']:''); 
    The Forum Hosting - Forum Hosting from the Forum Experts

  14. #14
    Member
    Real Name
    JPetrillo
    Join Date
    Jun 2009
    Location
    CT
    Posts
    65
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    Try to make it:

    PHP Code:
    $desc_content = ($_GET['page'] ? ', Page ' $_GET['page'] : '') . (isset($fi['description'])?$fi['description']:''); 
    Looks like it worked PERFECT!! It's getting late so I will look into more tomorrow morning and report back if there are any problems, but just looking at it quickly, it seems to be working perfect now... just the way I wanted it! Thank you for the great support


  15. #15
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Not a problem. Glad to be of some assistance.
    The Forum Hosting - Forum Hosting from the Forum Experts

Similar Threads

  1. vBSEO description - even better meta description
    By jbartle in forum vBSEO Features Archive
    Replies: 1
    Last Post: 01-30-2008, 05:15 PM
  2. Meta/Description
    By gotlinks in forum General Discussion
    Replies: 0
    Last Post: 11-30-2007, 01:16 PM
  3. vbseo and Meta Tags and Meta Description
    By MarketTimes in forum General Discussion
    Replies: 0
    Last Post: 08-03-2007, 05:24 PM
  4. How to change showpost meta&description ?
    By Przemysław Rejf in forum General Discussion
    Replies: 0
    Last Post: 01-01-2007, 07:36 PM
  5. Meta Description
    By suijuris in forum General Discussion
    Replies: 0
    Last Post: 02-19-2006, 07:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •