Help with duplicate title tags.
-
Hi
Just going through Seomoz crawl diagnostics for one of my clients sites & see that the title tags for over 2,000 pages are the same due to the way there site software generates the titles using php, examples :
**home page** = <title>Home - Trade prices,Next Day Delivery,Bulk Discounttitle> other page = <title>A0 Frames - Trade prices,Next Day Delivery,Bulk Discounttitle> So as you can see the page titles have the page name given to the beginning of the title which is fine as they have the keyword, then the text : Trade prices,Next Day Delivery,Bulk Discount Now if i take out the text : Trade prices,Next Day Delivery,Bulk Discount the home page is going to have just the word Home which is rubbish & the other pages will have the keyword which is better but not great, just wondered if any one has a better solution?.
-
Yes thank you I think far better to have unique titles, better than duplicates even though this method a lot are going to be very short but again avoids titles that are to long :-).
-
Something along the lines of
if (($_SERVER['REQUEST_URI']=='/')||($_SERVER['REQUEST_URI']=='/index.php')) {
echo (@$pageTitle?$pageTitle.' - ':''). 'Trade prices,Next Day Delivery,Bulk Discount';
} else {
echo (@$pageTitle?$pageTitle:'');
}
So, if it is the homepage you show the whole thing, if not, show the sort version.
-
The php code is :
<title><?php echo (@$pageTitle?$pageTitle.' - ':''). 'Trade prices,Next Day Delivery,Bulk Discount'; ?></title>
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SEO Title Length
Hi Everyone. I have a few pages being flagged with "Title Too Long". However, these are page 2, page 3, page 4, etc of category pages. They obviously have "| Page x of x" at the end of the title. Can these be ignored or is there a more SEO friendly way of handling this issue? Thanks. Michael
Technical SEO | | nomad_blogger0 -
Duplicate Page Titles Across Portfolio Items
Hi, Quick question about duplicate page titles. I have a few duplicate pages where I've got lots of portfolio items under the same category, lets call it a portfolio of kangaroos. I can see there are separate URLs for each of the pages, i.e, www.blahblah.com/portfolio/kangaroos and www.blahblah.com/portfolio/kangaroos/2, but they both have the same page title, i.e, Kangaroos Portfolio | Domain and it's coming up in Moz as a medium priority duplicate page title error. Where in WordPress can I change the page title for the second page of portfolio items? Thanks very much! Tom.
Technical SEO | | onefoursix0 -
Is <title>different from <h1> and "meta tag title"?</title>
hi guys, new to MOZ and SEO. Basic question here. is <title>different from <h1> and "meta tag title"?</p> <p>I have lots of "title missing or blank" errors as reported by a recent Moz crawl. What do i need to add into the pages to clear these? an <h1>? an <title>? or <meta tag title>? </p> <p>Im running a volusion site, and from what ive read (negative & positive) Volusion can be a pain to optimize my SEO as i dont have full access to all my pages.?</p></title>
Technical SEO | | Jerrion0 -
Meta title Tag dilemma.... need help
Hey, Guys I have a dilemma that I cannot figure out how to solve. One thing that I have learned is that the meta tag is probably one of the most important factors of SEO. I work in the industry of real estate and we are located in a mid-sized market, Augusta, GA, which does not have a hugely competitive digital marketplace. So, I have told my web developer the changes that I want her to make to our major sub-domain pages on our website. I am anticipating that once she makes these changes which will allow me to make the necessary SEO changes to website, that we will see some good results. I have one dilemma that I can't figure out how to solve with the meta title tag. Check out our rental section: http://aubenrealty.com/rentals.cfm Now, click on any rental property and it will take you to that rental's page. Notice the page title " Auben Realty- real estate....." This is identical for every active and non-active property on our website. Every time we create a new property, this is what it spits out. Now, take it a step further and click on " Contact me about this property," and you will see the same page title. My dilemma is, " How do we fix this?" My assumption is that the best page title would be the address for each property( ex, 1322 Laurel Street, Augusta Ga 30904), right ? Is this some kind of simple coding adjustment?
Technical SEO | | AubbiefromAubenRealty0 -
Tags and Duplicate Content
Just wondering - for a lot of our sites we use tags as a way of re-grouping articles / news / blogs so all of the info on say 'government grants' can be found on one page. These /tag pages often come up with duplicate content errors, is it a big issue, how can we minimnise that?
Technical SEO | | salemtas0 -
Search snippet ignors title tag :-(
Good Morning from 1 degrees C light drizzle Wetherby UK 😉 Ok here is todays puzzle. When I Google "Great Inns" ( http://www.greatinns.co.uk ) I get a search snippet which looks like this: http://i216.photobucket.com/albums/cc53/zymurgy_bucket/great-inns-title-glitch.jpg As the screen grab illustrates the Title tag is missing and simply says untitled. So my questions is pleased why is google rendering this when in the source code there is a tag eg: <title>Great Inns of Britain - Home – Independent, Historic Inns, Quality Service Any insights welcome :-)</p></title>
Technical SEO | | Nightwing0 -
Having both <title>and <meta name="title"...> on a web page?</title>
Hi All, Client of mine using reversed Meta Tags format in their website and Honestly i never saw such Meta Tags formats. In my opinion having 2 Title tags and wrong reversed description tag is not correct and the needs to be removed, and other tags need to be changed,too But they said that it probably doesn't make a difference because they don't think it affects search engine results and won't remove it just based on opinion. Because weird thing is Search Engines are apparently able to index them. So should i persist on correcting them or just hope for the best and ignore it?!?!?! Thanks!
Technical SEO | | DigitalJungle0 -
Should I use a "-", ":", or "|" in the title tag?
Out of habit, I've always put a "-" or dash to separate items in the title tag. However, I've noticed that more and more sites are using either a ":" or "|" in the title. Is there one that is better to use than the other?
Technical SEO | | beeneeb0