Blog title tag is overridden by the home page's title tag (w/ WordPress)

7 replies
Hello folks,

I'm using Wordpress with All-In-One SEO and I'm having an issue where the title tag from the home page overrides the title tag written for the blog page. Not only the title, but all the meta data... So google is considering these two pages to be duplicate content.

I'm pretty sure that this issue is causing some drop in the ranks for me, so if somebody out there has a solution for this problem, it'd be sooooo appreciated.

Thanks guys in advance.

Vince
#all in one seo #blog #duplicate content #home #overridden #page #tag #title #title tag #w or #wordpress
  • Profile picture of the author edynas
    Banned
    Do you mean you have 2 pages? a blog page and a homepage?
    If so the easiest way imho is to create a home.php file in your theme directory which will cause your homepage to display that and adjust it to the way you like.
    {{ DiscussionBoard.errors[102907].message }}
    • Profile picture of the author aquaman520
      thanks edynas, i appreciate your help. i'll try to see if i can accomplish this with your method mentioned.
      {{ DiscussionBoard.errors[103280].message }}
  • Profile picture of the author edynas
    Banned
    Sure...if you need more help just yell
    {{ DiscussionBoard.errors[103796].message }}
  • Profile picture of the author aquaman520
    edynas,

    thanks for your offer to help. i'm not too strong in the coding department so... i create a home.php file and just add in the lines

    <title>XXX</title>

    within that file?
    {{ DiscussionBoard.errors[104655].message }}
    • Profile picture of the author edynas
      Banned
      yup that's it. The simplest way to do it is to copy the index.php file and rename that to home.php
      In the file replace the tags that are there in the title with your tile.

      If the theme is futher sliced into also header.php, footer.php and sidebar.php etc and you do not see <title> </title> in the index.php file let me know which theme you use and i'll make a home.php file for youl
      {{ DiscussionBoard.errors[105542].message }}
  • Profile picture of the author aquaman520
    Hi edynas,

    once again, thank you for your kindness and assistance! I tried looking in index.php but not finding <title> at all.

    I'm using a custom theme, so how can we go about?
    {{ DiscussionBoard.errors[107246].message }}
  • Profile picture of the author aquaman520
    I found that my header.php file had <title> tags in it. So I duplicated the header.php file and renamed it blog.php (because it's the blog page that I need changed) and edited & wrote a new <title> tag.

    Still doesn't work...
    {{ DiscussionBoard.errors[107251].message }}

Trending Topics