For some reason my page titles are repeating themselves on every page of my wordpress install, see the problem here:
http://www.phone7forum.com/wp7/
Does anyone have a clue on what happend or how I can fix this?
For some reason my page titles are repeating themselves on every page of my wordpress install, see the problem here:
http://www.phone7forum.com/wp7/
Does anyone have a clue on what happend or how I can fix this?
You have 2 title tags in your theme head index.php
I looked in header file in my theme and i only saw one??? checkout the code from my header file:
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Starkers
* @since Starkers 3.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
/* We add some JavaScript to pages with the comment form
* to support sites with threaded comments (when in use).
*/
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
wp_head();
?>
</head>
<body <?php body_class(); ?>>OK
Then I assume you have all in one SEO or something similar installed.
And you / it adds the titles in addition to std wp.
You will notice the 2 titles are not identical; the seond misses a |
So it got entered manually somewhere; or whatever adds it strips the |; but the first funciton that adds the title; does not replace the |.
I have the "Yoast, SEO WordPress" installed for my wordpress site, and "Ultimate SEO titles" installed for my phpbb forum, (because i have a phpbb/wordpress integration..) Do you think they are somehow trying to accomplish the same thing together and duplicating titles? I'm a bit lost on this...
my phpbb forum is located here in the root:
http://www.phone7forum.com
and my wordpress integration is located here:
http://www.phone7forum.com/wp7/
Do you think they are somehow trying to accomplish the same thing together and duplicating titles? I'm a bit lost on this...
YES
Investigate both these plugin options in admin; decide on ONE to use; and deactivate the other.
You have to decide based on your needs and how well you understand their functions.
Once you are a SEO expert THEN you can install more that one seo plugin ; because you will undertand when they step on each other's toes.
Problem Fixed! I went into the Yoast SEO plugin and chose "Force rewrite titles" and then set the titles up accordingly. Pretty easy fix. So glad I don't have to go into some core files and do some tweeking.. thanks for the guidance!
Please mark thread as resolved so that
- others with similar problem can see it as resolved and will read this thread for help if they have similar problem
- people providing help see it as resolved and will not waste time reading this post.
oneeezy : Problem Fixed! I went into the Yoast SEO plugin and chose "Force rewrite titles" and then set the titles up accordingly.
Not worked for me. My site is http://www.canslimindonesia.com. Same problem still occur.
Finally I found the solution in: http://freelancefolder.com/forums/viewtopic.php?f=14&t=10606
This topic has been closed to new replies.