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
              • Can a page that's 301 redirected get indexed / show in search results?
                Colemckeon
                Colemckeon
                0
                3
                43

              • My some pages are not showing cached in Google, WHY?
                1akal
                1akal
                0
                4
                1.7k

              • I am using All-in-One-seo. I change the title and meta description on the home page, but it is not showing up on the search. It is on the source code. When I change other pages, the both show up in the search, just not the home page. Any idea why?.
                jgodwin
                jgodwin
                0
                11
                3.2k

              • Can Google Crawl This Page?
                N1ghteyes
                N1ghteyes
                0
                4
                263

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

              • Google webmaster showing 0 indexed, yet I can see them all them Google search?
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                0
                4
                102

              • If my home page never shows up in SERPS but other pages do, does that mean Google is penalizing me?
                TomRayner
                TomRayner
                0
                5
                243

              • 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