undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. Digital Marketing
  3. Web Design
  4. Google also indexed trailing slash version - PLEASE HELP

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Google also indexed trailing slash version - PLEASE HELP

Web Design
4
15
5.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • Jvalops
    Jvalops last edited by Jul 14, 2012, 4:32 PM

    Hi Guys,

    We redesigned the website and somehow our canonical extension decided to add a trailing slash to all URLs. Previously our canonical URLs didn't have a trailing slash.

    During the redesign we haven't changed the URLs. They remained same but we have now two versions indexed. One with trailing slash one without.

    I've now fixed the issue and removed the the trailing slash from canonical URLs.

    Is this the correct way of fixing it? Will our rankings be effected in a negative way?

    Is there anything else I need to do.

    The website went live last Tuesday.

    Thanks

    1 Reply Last reply Reply Quote 0
    • RanjeetP
      RanjeetP @Jvalops last edited by Jul 21, 2012, 9:28 AM Jul 21, 2012, 9:28 AM

      Thats great! The canonical URLs are showing URLs without slash as they are probably reflecting their original URL which is without slash. Hope Google clears them soon.. 🙂

      1 Reply Last reply Reply Quote 0
      • Dr-Pete
        Dr-Pete Staff @Jvalops last edited by Jul 20, 2012, 3:33 AM Jul 20, 2012, 12:41 AM

        Seems like you got the 301-redirect resolved below - if you've got that in place and fixed the canonical tag, it should be ok. It'll just take some time (usually longer than you'd like) for Google to clear out the pages, especially the deeper ones. If you see gradual de-indexation, though, you'll probably be fine.

        1 Reply Last reply Reply Quote 2
        • Jvalops
          Jvalops @Dr-Pete last edited by Jul 17, 2012, 4:48 AM Jul 17, 2012, 4:48 AM

          1. Actual rel="canonical" tags.

          2. As soon as we relised everything was fixed. Canonical tag is showing urls without slash and also aplied to htaccess to redirect slash version to non slash version.

          <cite>we're using www.shopify.com</cite>

          Dr-Pete RanjeetP 2 Replies Last reply Jul 21, 2012, 9:28 AM Reply Quote 0
          • Dr-Pete
            Dr-Pete Staff last edited by Jul 17, 2012, 1:28 AM Jul 17, 2012, 1:28 AM

            Could you clarify a couple of things:

            (1) When you say canonical URLs, do you mean your internal links, or the actual URLs in your rel="canonical" tags?

            (2) If it was just the canonical tags, is everything consistent now (tags, internal links, etc.)?

            Since both version will resolve, just fixing the canonical tags (if that's the issue) should be enough - it's just going to take a little time. They should be as effective as a 301-redirect in this case. Either way, though, it can take Google a while to kick out the duplicates. I'd just monitor the index closely and make sure the top-level pages are clearing up (i.e. your home-page and major category duplicates should be disappearing). If that's happening, you're ok - you just need to wait a bit. If that's not happening, then you may have some other mixed signals in play.

            Jvalops 1 Reply Last reply Jul 17, 2012, 4:48 AM Reply Quote 1
            • RanjeetP
              RanjeetP @Jvalops last edited by Jul 15, 2012, 3:38 AM Jul 15, 2012, 3:38 AM

              You are welcome.

              Well, the first time you did submit the sitemap right, but now since Google has found new URLs on your website and indexed them, it would be good to notify the big G that they are no longer a part of your website and resubmitting would not hurt.

              About the redirections, Google does take a bit of time to understand that the URLs have permanently moved and will gradually remove them from the index. So, keep checking the index for the trailing slash URLs and when they are gone, you can remove the redirections.

              Cheers,

              1 Reply Last reply Reply Quote 0
              • Jvalops
                Jvalops @Jvalops last edited by Jul 14, 2012, 6:49 PM Jul 14, 2012, 6:49 PM

                Thanks a lot.

                Now when i click the slash version of the indexed URL from google goes to nonslash version. So it seems we're safe now.

                The other thing is when I submitted the sitemap.xml after launch it was without slash. Also all internal links are targeting nonslash URLs. I think google should understand that this is a technical issue and now it has been solved.

                When should i remove that redirect?

                1 Reply Last reply Reply Quote 0
                • RanjeetP
                  RanjeetP @Jvalops last edited by Jul 14, 2012, 6:38 PM Jul 14, 2012, 6:38 PM

                  Yups, its done. Just need to be sure if the Home Page is fine. The indexed version of the Home Page stays as it is without any redirection.

                  Cheers,

                  1 Reply Last reply Reply Quote 0
                  • Jvalops
                    Jvalops @Jvalops last edited by Jul 14, 2012, 6:30 PM Jul 14, 2012, 6:30 PM

                    I checked with this website: http://www.internetofficer.com/seo-tool/redirect-check/

                    It says:

                    http://www.mydomain.com/jason.html/

                    Type of redirect: 301 Moved Permanently

                    http://www.mydomain.com/jason.html

                    So looks as if it's done the job. Right?

                    1 Reply Last reply Reply Quote 0
                    • RanjeetP
                      RanjeetP @Jvalops last edited by Jul 14, 2012, 6:26 PM Jul 14, 2012, 6:26 PM

                      Sounds good, do keep a check to make it 100% sure. I believe the SE's will be fine now.

                      Cheers,

                      1 Reply Last reply Reply Quote 0
                      • Jvalops
                        Jvalops @Jvalops last edited by Jul 14, 2012, 6:21 PM Jul 14, 2012, 6:21 PM

                        RewriteRule ^([^/]+/)*([^/.]+).html/ http://www.mydomain.com/$2.html [R=301,L]

                        Looks like above did the trick

                        1 Reply Last reply Reply Quote 0
                        • RanjeetP
                          RanjeetP @Jvalops last edited by Jul 14, 2012, 6:17 PM Jul 14, 2012, 6:17 PM

                          I think some of these posts can help you understand:

                          http://html5boilerplate.com/docs/Proper-usage-of-trailing-slash-redirects/

                          http://stackoverflow.com/questions/4167539/remove-trailing-slash-using-htaccess-except-for-home-landing-page

                          Do try this a test environment and take a backup of the .htaccess file before making any changes, Have it go through a programmer.

                          Cheers,

                          1 Reply Last reply Reply Quote 0
                          • Jvalops
                            Jvalops @RanjeetP last edited by Jul 14, 2012, 6:00 PM Jul 14, 2012, 6:00 PM

                            Please can you tell me how to redirect urls with slash to non slash urls using .htaccess.

                            RanjeetP Jvalops 7 Replies Last reply Jul 15, 2012, 3:38 AM Reply Quote 0
                            • RanjeetP
                              RanjeetP last edited by Jul 20, 2012, 3:34 AM Jul 14, 2012, 5:55 PM

                              Jvalops,

                              This is a common scenario in SEO when you have 2 versions indexed of the same URL. This bascially creates a duplicate issue. Now, this situation has a solution which includes 2 things to implement:

                              1. Fix it from the search engines's perspective.

                              2. Make changes at the server level.

                              You did remove the trailing slash so you fixed it at the server level but you left the search engines to think - Where did the URL go? Am I supposed to show a 404 for that or what?.

                              So, it is important that you first fix them for the SE's and then make any server level changes because you never know how quick the crawlers can re-visit the disappeared URL and take their own action. Since this is just a recent change I hope that the SE;s will not evaluate it in a negative way but you should be quick to inform them. Now, since you have already removed it, do add a code in the .htaccess file stating that any URL with a slash redirects it to the URL without slash. I hope there are no URLs that have to end with a slash (just have a re-look on this, the home page and others).

                              After this is done, to make things more clear to the search engines, resubmit your XML sitemap with all the correct URLs on the website and I think you will be just fine.

                              On the rankings, I don't think it will be affected, unless there was a re-crawl after the indexation.

                              Cheers,

                              Jvalops 1 Reply Last reply Jul 14, 2012, 6:00 PM Reply Quote 1
                              • Francisco_Meza
                                Francisco_Meza last edited by Jul 14, 2012, 5:27 PM Jul 14, 2012, 5:27 PM

                                I'm not 100% sure how to answer your question, but an .htaccess 301 might work.

                                /example.html/  example.html

                                Try that to see if it works.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                1 out of 15
                                • First post
                                  1/15
                                  Last post

                                Got a burning SEO question?

                                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                Start my free trial


                                Browse Questions

                                Explore more categories

                                • Moz Tools

                                  Chat with the community about the Moz tools.

                                • SEO Tactics

                                  Discuss the SEO process with fellow marketers

                                • Community

                                  Discuss industry events, jobs, and news!

                                • Digital Marketing

                                  Chat about tactics outside of SEO

                                • Research & Trends

                                  Dive into research and trends in the search industry.

                                • Support

                                  Connect on product support and feature requests.

                                • See all categories

                                Related Questions

                                • SEOguy1

                                  Https pages indexed but all web pages are http - please can you offer some help?

                                  Dear Moz Community, Please could you see what you think and offer some definite steps or advice.. I contacted the host provider and his initial thought was that WordPress was causing the https problem ?: eg when an https version of a page is called, things like videos and media don't always show up. A SSL certificate that is attached to a website, can allow pages to load over https. The host said that there is no active configured SSL it's just waiting as part of the hosting package just in case, but I found that the SSL certificate is still showing up during a crawl.It's important to eliminate the https problem before external backlinks link to any of the unwanted https pages that are currently indexed. Luckily I haven't started any intense backlinking work yet, and any links I have posted in search land have all been http version.I checked a few more url's to see if it’s necessary to create a permanent redirect from https to http. For example, I tried requesting domain.co.uk using the https:// and the https:// page loaded instead of redirecting automatically to http prefix version.  I know that if I am automatically redirected to the http:// version of the page, then that is the way it should be. Search engines and visitors will stay on the http version of the site and not get lost anywhere in https. This also helps to eliminate duplicate content and to preserve link juice. What are your thoughts regarding that?As I understand it, most server configurations should redirect by default when https isn’t configured, and from my experience I’ve seen cases where pages requested via https return the default server page, a 404 error, or duplicate content. So I'm confused as to where to take this.One suggestion would be to disable all https since there is no need to have any traces to SSL when the site is even crawled ?. I don't want to enable https in the htaccess only to then create a https to http rewrite rule; https shouldn't even be a crawlable function of the site at all.RewriteEngine OnRewriteCond %{HTTPS} offor to disable the SSL completely for now until it becomes a necessity for the website.I would really welcome your thoughts as I'm really stuck as to what to do for the best, short term and long term.Kind Regards

                                  Web Design | Feb 25, 2016, 1:31 PM | SEOguy1
                                  0
                                • OOMDODigital

                                  Accordion Fold Ups Bad For Google

                                  http://fandicoach.com/products Right now I have these accordion things on the website. Are they bad for google in terms of being an SEO best practice? I want to avoid doing anything black hat. Thanks!

                                  Web Design | Jul 16, 2013, 6:44 PM | OOMDODigital
                                  0
                                • _Thriveworks

                                  From Google Sites to Wordpress - Anyone Ventured this SEO terrain?

                                  We have a few sites in Google Sites - and they are ugly! We have a majority (40+) of websites in Wordpress. But we have a few websites just stuck on Google Sites, and since Google won't let you fully edit the HTML, add scripts, or implement any technology since 2000, we want to move. The sad problem - the Google sites are ranking well. We rank well in Manhattan, Atlanta, Dallas, and Philadelphia. The problem is - the sites do not give much room for growth - and the bounce rate is high because they are so ugly. Has Anyone moved from Google sites to Wordpress? Should we just stay with Google and bite the ugly bullet? My fear is that these sites will not allow for growth. It is hard to update them and even harder to make them look nice. To get a sample - beware: www.counselingphiladelphia.com Even another reason to leave: The slider is non-semantic and terrible SEO. Google won't allow a slider script with tags and a hrefs, so the only way to implement a slider is through a Google Docs Presentation that keeps sliding. I know - terrible SEO (#donthate) but we needed something. Any advice and thoughts would help! Thanks Mozzers!

                                  Web Design | Mar 28, 2013, 1:02 PM | _Thriveworks
                                  0
                                • BobGW

                                  How to put 'Link to this article' HTML code at bottom of article & is it helpful?

                                  Hello, I was thinking about putting a box down at the bottom of my client's main articles that let's the reader easily copy the html code it takes to link to the article they're reading.  Maybe I'd put it after the author bio. Do any of you do this? If so, what format do you use? It has to look nice of course. This is a non-techie industry. Thanks.

                                  Web Design | Jan 11, 2013, 4:26 AM | BobGW
                                  0
                                • jhamlin

                                  Google penalty for links opening in new tab?

                                  Our web services provided suggested that Google doesn't like in-text links that open the link in a new tab. Can anyone verify this? We often link to outside credible resources for our audience, though it seems smarter to open in a new tab rather than risk that the person will not navigate back to our site after finding us. Thank you in advance!

                                  Web Design | May 19, 2012, 10:47 AM | jhamlin
                                  0
                                • sftravel

                                  Custom 404 Page Indexing

                                  Hi - We created a custom 404 page based on SEOMoz recommendations.  But.... the page seems to be receiving traffic via organic search.  Does it make more sense to set this page as "noindex" by its metatag?

                                  Web Design | May 18, 2012, 7:20 PM | sftravel
                                  0
                                • Naghirniac

                                  Should I use the google mod_pagespeed in my apache server?

                                  Anyone already use it? There is some speed benefit? http://code.google.com/speed/page-speed/docs/module.html 

                                  Web Design | Mar 3, 2012, 8:47 PM | Naghirniac
                                  0
                                • stefanok

                                  Mobile Site Pages: Word Count Help

                                  Hi there I am doing a mobile website for a client and they asked me what the dieal word count would be per page. They are SEO conciosu but we are not doing SEO on this site. I would just like to know a general rule of thumb. Regards Stef

                                  Web Design | Jan 13, 2012, 1:22 AM | stefanok
                                  0

                                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
                                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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                • Accessibility
                                • Terms of Use
                                • Privacy

                                Looks like your connection to Moz was lost, please wait while we try to reconnect.