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
          • Pages with Duplicate Page Content Nov
            TheSymmetran
            TheSymmetran
            0
            2
            94

          • Canonical URLs all show trailing slash on main site pages - using Yoast SEO for Wordpress - how to correct
            JohnMorabito
            JohnMorabito
            1
            12
            7.6k

          • 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

          • Roger found Duplicate Page Content, but all my pages are canonicalized
            Dr-Pete
            Dr-Pete
            0
            7
            367

          • I've got quite a few "Duplicate Page Title" Errors in my Crawl Diagnostics for my Wordpress Blog
            Devanur-Rafi
            Devanur-Rafi
            0
            2
            292

          • I want to create a report of only de duplicate content pages as a csv file so i can create a script to canonicalize them.
            jdclerck
            jdclerck
            0
            7
            290

          • Canonical URLs and Duplicate Page Content
            Matt-Williamson
            Matt-Williamson
            0
            2
            302

          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