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. Can I redirect when Google is showing these as 2 different pages?

    Can I redirect when Google is showing these as 2 different pages?

    Technical SEO Issues
    5 2 774
    • 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.
    • fasctimseo
      fasctimseo last edited by

      Hi Guys, Google webmaster is showing 1000 duplicate title tags because its picking up our pages like this. How can I correct this? Please explain in detail please. Thank You Tim      /store/ICICLES_NO_7_CLEAR_WITH_PINK_NUBBY//store/ICICLES_NO_7_CLEAR_WITH_PINK_NUBBY

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

        You have a trailing slash canonical issue. There are two version of every page on your site. The slash version and the non-slash version.

        Find out which version has the most links going to it. Using Open Site Explorer is one way. And then 301 redirect all of the pages from the less popular version to the more popular version.

        Directions for a 301 redirect can be found in the Web Developer's SEO Cheat Sheet:

        http://static.seomoz.org/user_files/SEO_Web_Developer_Cheat_Sheet.pdf

        fasctimseo 2 Replies Last reply Reply Quote 1
        • fasctimseo
          fasctimseo @DanSpeicher last edited by

          Hi Daniel, I understand it needs redirected. But for some reason I dont understand what that redirect would look like for just a trailing slash. Do you have an example. Sorry redirects are not my strong point. It is a apache server running linux.

          DanSpeicher 1 Reply Last reply Reply Quote 0
          • DanSpeicher
            DanSpeicher @fasctimseo last edited by

            http://www.tareeinternet.com/forum/knowledgebase/54-canonical-urls-301-redirects-important-search-engine-optimization.html

            This post covers Apache redirects in-depth.

            Read this if you don't want an entire overview:

            "Part 4 - How can I add a trailing slash to requested URLs ?

            Description of the problem:

            Some search engines remove the trailing slash from urls that look like directories - e.g. Yahoo does it. However it could result into duplicated content problems when the same page content is accessible under different urls. Apache gives some more information in the Apache Server FAQ.

            Let's have a look at an example: domain.com/google/ is indexed in Yahoo as domain.com/google - which would result in two urls with the same content.

            Solution:

            The solution is to create a .htaccess rewrite rule that adds the trailing slashes to these urls. Example - redirect all urls that do not have a trailing slash to urls with a trailing slash:

              RewriteEngine On
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_URI} !example.php
              RewriteCond %{REQUEST_URI} !(.*)/$
              RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301]
            
            

            Explanation of the add trailing slash .htaccess rewrite rule:

            The first line tells Apache that this is code for the rewrite engine of the mod_rewrite module of Apache. The 2nd line sets the current directory as page root. But the interesting part is:

              RewriteCond %{REQUEST_FILENAME} !-f 
            
            

            makes sure that existing files will not get a slash added. You shouldn't do the same with directories since this would exclude the rewrite behavior for existing directories. The line

              RewriteCond %{REQUEST_URI} !example.php
            
            

            excludes a sample url that should not be rewritten. This is just an example. If you do not have a file or url that should not be rewritten, remove this line. The condition:

              RewriteCond %{REQUEST_URI} !(.*)/$ 
            
            

            finally fires when a url does not contain a trailing slash. Now we need to redirect the urls without the trailing slash:

              RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301] 
            
            

            does the 301 redirect to the url, with the trailing slash appended. You should replace domain.com with your url."

            https://my.bluehost.com/cgi/help/357?step=357

            1 Reply Last reply Reply Quote 3
            • fasctimseo
              fasctimseo @DanSpeicher last edited by

              Thanks Man that helps a lot. We will implement asap and see if it takes care of the problem. Have a great weekend.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Will redirecting a logged in user from a public page to an equivalent private page (not visible to google) impact SEO?
                0
                1
                28

              • Top Landing Page has disappeared from Google Search Console but still shows at the top of Google
                Christy-Correll
                Christy-Correll
                0
                3
                117

              • Page disappeared from Google index. Google cache shows page is being redirected.
                shop.nordstrom
                shop.nordstrom
                0
                5
                761

              • Google showing https:// page in search results but directing to http:// page
                JaneCopland
                JaneCopland
                0
                4
                218

              • How can I change the page title "two" (artigos/page/2.html) in each category ?
                sprynewmedia
                sprynewmedia
                0
                3
                118

              • Can Google show the hReview-Aggregate microformat in the SERPs on a product page if the reviews themselves are on a separate page?
                0
                1
                1.0k

              • Can you 301 redirect a page to an already existing/old page ?
                Bryan_Loconto
                Bryan_Loconto
                0
                3
                262

              • Google Cache is not showing in my page
                HiveDigitalInc
                HiveDigitalInc
                0
                2
                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