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. Moz Tools
    4. How do you create tracking URLs in Wordpress without creating duplicate pages?

    How do you create tracking URLs in Wordpress without creating duplicate pages?

    Moz Tools
    3 2 233
    • 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.
    • Netrepid
      Netrepid last edited by

      I use Wordpress as my CMS, but I want to track click activity to my RFQ page from different products and services on my site. The easiest way to do this is through adding a string to the end of a URL (ala http://www.netrepid.com/request-for-quote/?=colocation)

      The downside to this, of course, is that when Moz does its crawl diagnostic every week, I get notified that I have multiple pages with the same page title and the dup content.

      I'm not a programming expert, but I'm pretty handy with Wordpress and know a thing or two about 'href-fing' (yeah, that's a thing). Can someone who tracks click activity in WP with URL variables please enlighten me on how to do this without creating dup pages?

      Appreciate your expertise. Thanks!

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

        You can add the following to the robots.txt file to ask the crawler to ignore the parameter currently being included such as:

        Disallow: /*?=

        Netrepid 1 Reply Last reply Reply Quote 2
        • Netrepid
          Netrepid @DeanAndrews last edited by

          Not a bad idea, and I can do that right from my SEO plugin of choice.

          Dummy ?'s: Will that disallow addition catch them even if they are at the end of a child page? Also, for correct coding, wouldn't I need the wildcard to go after the ?=, ie

          Disallow: /?=* and not place the * in front of the ?=...

          Please clarify for me before I add this line of code.

          Thanks for your help Dean! Sorry for the late edit of the question.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Duplicate pages coming from links from the login page - what should we do about them?
            Carson-Ward
            Carson-Ward
            0
            5
            297

          • How to Avoid Duplicate Page Content errors when using Wordpress Categories & Tags?
            paints-n-design
            paints-n-design
            1
            2
            298

          • Duplicate Page Content on pages that appear to be different?
            MonicaOConnor
            MonicaOConnor
            0
            5
            111

          • Is www.domain.com/page the same url as www.domain.com/page/ for Google? (extra slash at end of url)
            danatanseo
            danatanseo
            0
            5
            205

          • Blog Page URLs Showing Duplicate Content
            Mike.Goracke
            Mike.Goracke
            0
            4
            195

          • How Do I deal with duplicate page titles for pages on eCommerce site
            wouldBseoKING
            wouldBseoKING
            0
            3
            415

          • I have another Duplicate page content Question to ask.Why does my blog tags come up as duplicates when my page gets crawled,how do I fix it?
            PCTechGuy2012
            PCTechGuy2012
            0
            4
            515

          • Company Name in Page Title creating thousands of "Duplicate Page Title" errors
            sferrino
            sferrino
            0
            6
            1.1k

          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