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
-
Titles tags: Smart to split brand name composed of multiple keywords?
Hello, We've been following the best practices outlined in this Moz article for title tags for a long time, however I have a question about the spelling of the brand name when the brand name is composed of keywords. For example, let's say your company is called FitnessGearUSA and your website url is www.FitnessGearUSA.com. How would you spell the brand name in the title tag? In a single word 'FitnessGearUSA' or in 3 words 'Fitness Gear USA'. We've been using the first approach for a long time, but I am starting to think that the second approach would be better, especially when the customer might include a single keyword that's part of the brane name in his search For example, a product page title tag would then look like this:
Technical SEO | | yacpro13
Model ABC Weight Lifting Bar | Fitness Gear USA I am inclined to think that this page would rank better for a search like:
"Model ABC Lifting Bar USA" Thoughts?0 -
Setting title tag with javascript/jquery
Hi there, I'm looking for some advice. I've recently implemented a few jQuery functions which gets specific content from the page and then sets the title and description. See working example here. It seems to work fine but my question I have is whether Google bots can read it and whether it might actually hinder my SEO efforts? Any advice would be really appreciated! Peter
Technical SEO | | peterallen0 -
Google changing title tags to branded
Hi guys and gals, i noticed in the results today Google has been changing my title tags so that brand: is in the front of it all. This is not in the code but my title tag structure site-wide is keywords and then always | brand on the end. Why has this happened does anyone know? does it affect my first keyword in the title tag, i guess Google might do it as it recognises the brand and wants users to know it?
Technical SEO | | pauledwards0 -
Missing page titles
Does anyone know why my SeoMoz crawl reads my page titles differen't to what they truly are on my active site? I changed my pages titles and optimised them several months ago. Is my old page titles still been crawled rather than the new ones how do i fix this is?
Technical SEO | | gimes0 -
Title tag keyword prioritizing
It's widely accepted that in title tags, the first word ranks the highest, and each word after that contributes less than the one before. So a page with the title "Philadelphia Parks" will rank higher than "Parks in Philadelphia" for Philadelphia, but the second page will rank higher for Parks. With this in mind, which keywords should I put first in the title tags of my product pages? Brand name? Product SKU? Is it better to prioritze general words with higher search volume (more impressions) or more specific terms with lower search volume (stronger long tail)? Any guidance would be appreciated. Thanks
Technical SEO | | AmericanOutlets0 -
Does daily changing of price information in a title tag damage SEO?
Hi I'm thinking about changing the title tag for all my pages daily, updating it with the most current price information. (As I think this could improve CTR) All the other keywords in the title tag would remain the same however. Does anyone think this is likely to cause a problem with regards to ranking in Google and other search engines? Thanks for any / all replies! Cheers
Technical SEO | | joeprice0 -
Duplicate content
I have to sentences that I want to optimize to different pages for. sentence number one is travel to ibiza by boat sentence number to is travel to ibiza by ferry My question is, can I have the same content on both pages exept for the keywords or will Google treat that as duplicate content and punish me? And If yes, where goes the limit/border for duplicate content?
Technical SEO | | stlastla0 -
Duplicate exact match domains flagged by google - need help reinclusion
Okay I admit, I've been naughty....I have 270+ domains that are all exact match for city+keyword and have built tons of back links to all of them. I reaped the benefits....and now google has found my duplicate templates and flagged them all down. Question is, how to get the reincluded quickly? Do you guys think converting a site to a basic wordpress template and then simply using 275 different templates and begging applying each site manually would do it, or do you recommend. 1. create a unique site template for each site 2. create unique content any other advice for getting reincluded? Aside from owning up and saying, "hey i used the same template for all the sites, and I have created new templates and unique content, so please let me back".
Technical SEO | | ilyaelbert3