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
-
Unsolved Duplicate Content
We have multiple collections being flagged as duplicate content - but I can't find where these duplications are coming from? The duplicate content has no introductory text, and no meta description. Please see examples:- This is the correct collection page:-
Technical SEO | | Caroline_Ardmoor
https://www.ardmoor.co.uk/collections/deerhunter This is the incorrect collection page:-
https://www.ardmoor.co.uk/collections/vendors How do I stop this incorrect page from showing?0 -
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 Issue in Campaign Crawl Error Report
Hello All! Looking at my campaign I noticed that I have a large number of 'duplicate page titles' showing up but all they are the various pages at the end of the URL. Such as, http://thelemonbowl.com/tag/chocolate/page/2 as a duplicate of http://thelemonbowl.com/tag/chocolate. Any suggestions on how to address this? Thanks!
Technical SEO | | Rich-DC0 -
Meta tag Syntax
Hi, This might seem silly. What is the correct syntax for the meta tag used when noindexing webpages? I have "". I have seen it both with and without the forward slash before the greater than sign. Does it make any difference if the forward slash is present or not? Cheers
Technical SEO | | McCaldin0 -
Duplicate content / title caused by CAPITALS
What is the best way to stop duplicate content warning (and Google classing them as duplicate content), when it is caused by CAPITALS (i.e www.domain.com/Directory & www.domain.com/directory ). I try to always use lower case (unless a place name then i use Capitals for the first letter), but it looks like i have slipped up and got some mixed up and other sites will also be linking to Capitals Thanks Jon
Technical SEO | | jonny5123790 -
How to handle this specific duplicate title issue
Part of my website is a directory of companies. Some of the companies have mane locations in the same city. For these listings titles and url's are like this: 1. Company ABC - Miami, FL http://www.website.com/florida/miami/company-abc-10001 2. Company ABC - Miami, FL http://www.website.com/florida/miami/company-abc-10002 What is the best way to fix this problem? Thank you
Technical SEO | | Boxes0 -
Duplicate Content Errors
Ok, old fat client developer new at SEO so I apologize if this is obvious. I have 4 errors in one of my campaigns. two are duplicate content and two are duplicate title. Here is the duplicate title error Rare Currency And Old Paper Money Values and Information.
Technical SEO | | Banknotes
http://www.antiquebanknotes.com/ Rare Currency And Old Paper Money Values and Information.
http://www.antiquebanknotes.com/Default.aspx So, my question is... What do I need to do to make this right? They are the same page. in my page load for default.aspx I have this: this.Title = "Rare Currency And Old Paper Money Values and Information."; And it occurs only once...0 -
Catch 22 on duplicate page titles
Hi all, I'm quite new to the SEO space so I apologise if all the information below isn't technically perfect. I ran the SEOmoz pro tool for the first time a month ago (fantastic tool). It picked up a wealth of errors on our site that we are now working on. the problem: we use dynamic pages to display job listings pulled from our database that have picked up many duplicate page titles and content. For example: _Landing page: _http://www.arm.co.uk/jobs/it-contract-jobs/sec=itcontractjobs _Page 2: _http://www.arm.co.uk/jobs/1/-/-/2/itcontractjobs-/9999/2 _Page 3: _http://www.arm.co.uk/jobs/1/-/-/2/itcontractjobs-/9999/3 Following the results of the Moz tool we have now 'no indexed' and 'no followed' the dynamic pages and the errors have dramatically dropped, great! However, on reflection we generate quite a lot of traffic to individual job's listed on our website. By no following the pages we have restricted passing on any 'juice' to these pages, and by no indexing we may be taking them out of Googles index completely. These dynamic pages and individual job listings do generate a lot of traffic to our website via organic search. We do submit the site index to Google that should index the individual jobs that way. So, the question is (I hope this is making sense), are the gains of reducing errors picked up in the moz tool (to improve the overall site performance) likely to outweigh the traffic generated on these dynamically generated pages by being indexed and followed by Google. Ultimately we would like the static landing pages to retain a stronger page rank. Any guidance is very much appreciated. Best Regards,
Technical SEO | | ARMofficial
Sam.0