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. When to use mod rewrite / canonical / 301 redirect

    When to use mod rewrite / canonical / 301 redirect

    Technical SEO Issues
    2 2 149
    • 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.
    • Barques-Design
      Barques-Design last edited by

      Hello,

      I have taken over the management of a site which has a big problem with duplicate content. The duplicate content is caused by two things:

      • Upper and lower case urls e.g: www.mysite.com/blog and www.mysite.com/Blog
      • The other reason is the use of product filters / pagination which mean you can get to the same 'page' via different filters. The filters generate separate URLs.

      http://www.mysite.com/casestudy
      http://www.mysite.com/casestudy/filter?page=1
      http://www.mysite.com/casestudy/filter?solution=0&page=1
      http://www.mysite.com/casestudy?page=1
      http://www.cpio.co.uk/casestudy/filter?solution=0"

      Am I right to assume that for the case sensitive URLs I should use a 301 redirect because I only want the lower page to be shown?

      For the issue with dynamic URLs should we implement a mod-rewrite and 301 to one page?

      Any advice would be greatly appreciated.
      Mat

      1 Reply Last reply Reply Quote 0
      • Matt-Williamson
        Matt-Williamson last edited by

        Hi

        I would definitely setup a 301 redirect for the case sensitive URLs issue - you may already know how to setup this up but I thought I would include this link - http://webmasters.stackexchange.com/questions/18670/how-to-redirect-any-url-to-lowercase-url

        For your pagination issue you need to look at if it is possible to change /casestudy to a "view all" page and then place a canonical link to the /casestudy page in the of each page in the paginated set.

        Another option for your pagination is using rel="next" and rel="prev" and for the filter parameters you could  tell Googlebot not to crawl these parameter URLs.

        Hope this helps

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Using a 302 redirect for language variants. How should I use the canonical?
          GPainter
          GPainter
          0
          4
          50

        • Use 301 or rel=canonical
          donford
          donford
          0
          4
          227

        • Using http: shorthand inside canonical tag ("//" instead of "http:") can cause harm?
          Mobilio
          Mobilio
          0
          5
          425

        • Is it necessary to 301 rewrite /index.php to /?
          Devanur-Rafi
          Devanur-Rafi
          0
          2
          96

        • Redirect of https:// to http:// without SSL. Possible or not?!
          LesleyPaone
          LesleyPaone
          0
          5
          336

        • Redirect a 301 Redirect
          RedCaffeine
          RedCaffeine
          0
          5
          98

        • After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
          Mike.Goracke
          Mike.Goracke
          0
          2
          125

        • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
          Room214
          Room214
          0
          7
          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