The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Help with duplicate title tags.

    Help with duplicate title tags.

    Technical SEO Issues
    4 2 241
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • askshopper
      askshopper last edited by

      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?.
      
      1 Reply Last reply Reply Quote 0
      • askshopper
        askshopper last edited by

        The php code is :

        <title><?php echo (@$pageTitle?$pageTitle.' - ':''). 'Trade prices,Next Day Delivery,Bulk Discount'; ?></title>

        1 Reply Last reply Reply Quote 0
        • cogbox
          cogbox last edited by

          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.

          askshopper 1 Reply Last reply Reply Quote 1
          • askshopper
            askshopper @cogbox last edited by

            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 :-).

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Duplicate Title Tags on Word Press
              Devanur-Rafi
              Devanur-Rafi
              0
              9
              157

            • Title tag not showing on google? Please Help!
              Netlogiq
              Netlogiq
              0
              12
              3.6k

            • Duplicate Title Tags
              BlueprintMarketing
              BlueprintMarketing
              0
              5
              136

            • Meta title Tag dilemma.... need help
              Bromtec
              Bromtec
              0
              9
              678

            • Are duplicate page titles fixed by the canonical tag
              matbennett
              matbennett
              0
              3
              554

            • Duplicate title tags and meta description tags
              RanjeetP
              RanjeetP
              1
              6
              1.6k

            • Wordpress creates duplicate Title Tags.
              mad2k
              mad2k
              0
              3
              1.8k

            • Duplicate title tag error
              Stampy78
              Stampy78
              0
              4
              576

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy