1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Page Title Bug (WP blog post)

Discussion in 'Programming' started by Michel Z., Jun 10, 2014.

  1. #1
    Hi,

    Page title of Blog main page is added at the end of blog post page title! I need to remove page title of main blog page of each blog post(, since it's duplicate content + creates a very long page title).

    For better understanding:
    - See also attached screenshot with explanation!
    - URL: https://www.lottosend.com/blog/
    - Current plug-in for meta tags: "Add Meta Tags" / George Notaris.

    Thanks!
    Mike
     

    Attached Files:

    Michel Z., Jun 10, 2014 IP
  2. Marcococacola

    Marcococacola Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #2
    Hi Michel,,, if you want change page title, you should edit php file on your wordpress directory ( exactly "header.php" )

    edit header.php with notepad, and change <title><?php blablabla php code</title> with

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' -'; } ?> <?php if(is_home()) bloginfo('name'); ?></title>
     
    Marcococacola, Jun 10, 2014 IP
  3. Alterview

    Alterview Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    33
    #3
    If you are using Yoast seo plugin, please take a look at the settings there. A wrong setting can have a title like yours as a result :)
     
    Alterview, Jun 10, 2014 IP
  4. Michel Z.

    Michel Z. Active Member

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Thanks Marco! Issue has been resolved.
     
    Michel Z., Jun 13, 2014 IP
  5. Tryen

    Tryen Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    Settings do come into factor when preventing these types of bugs!
     
    Tryen, Jun 15, 2014 IP