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. Slash at end of URL causing Google crawler problems

    Slash at end of URL causing Google crawler problems

    Technical SEO Issues
    6 3 777
    • 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.
    • onetwentysix
      onetwentysix last edited by

      Hello,

      We are having some problems with a few of our pages being crawled by Google and it looks like the slash at the end of the URL is causing the problem.  Would appreciate any pointers on this.

      We have a redirect in place that redirects the "no slash" URL to the "slash" URL for all pages. The obvious solution would be to try turning this off, however, we're unable to figure our where this redirect is coming from.  There doesn't appear to be an instruction in our .htaccess file doing this, and we've also tried using "DirectorySlash Off" in the .htaccess file, but that doesn't work either.  (if it makes a difference it is a 302 redirect doing this, not a 301)

      If we can't get the above to work, then the other solution would be to somehow reconfigure the page so that it is recognizable with the slash at the end by Google.  However, we're not sure how this would be done.

      I think the quickest solution would be to turn off the "add slash" redirect.  Any ideas on where this command might be hiding, and how to turn it off would be greatly appreciated.  Or any tips from people who have had similar crawl problems with google and any workarounds would be great!

      Thanks!

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

        What type of server is your site hosted on? Is it Windows or Apache? Is it shared hosting, VPS or dedicated?

        What type of site do you have? Is there a CMS or other software which may modify or rewrite URLs?

        onetwentysix 1 Reply Last reply Reply Quote 0
        • onetwentysix
          onetwentysix @RyanKent last edited by

          Hi Ryan -- thanks for your help.

          We're hosted on a VPS, running Linux/Apache.  We use Satchmo as our CMS/shopping engine.   As far as I know, we haven't put explicit redirect instructions into the CMS.  Do you think the CMS may be adding the slash?

          RyanKent onetwentysix 2 Replies Last reply Reply Quote 0
          • RyanKent
            RyanKent @onetwentysix last edited by

            I think we should rule out the possibility that your CMS or a SEO extension or other add-on for your CMS is adjusting your URLs.

            Can you add a page to your site at your root that is not part of your CMS? Drop in a test.html file and see what happens.

            1 Reply Last reply Reply Quote 0
            • onetwentysix
              onetwentysix @onetwentysix last edited by

              Thanks, Ryan -- we're taking a look into this right now, and will let you know how it goes!

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

                Satchmo does this automatically - http://www.satchmoproject.com/docs/dev/configuration.html?highlight=trailing slash - however, as far as I can see from the documentation and forums there's no way to disable it 😕

                I'm unfamiliar with Satchmo though, hit up the Google Group - http://groups.google.com/group/satchmo-users/topics -  and ask there.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • What could cause Google to not honor canonical URLs?
                  GastonRiera
                  GastonRiera
                  0
                  5
                  74

                • After you remove a 301 redirect that Google has processed, will the new URL retain any of the link equity from the old URL?
                  johnwalkersmith
                  johnwalkersmith
                  0
                  3
                  61

                • Problem with regional URL. From regional to international SEO. I need to change the URL
                  sara.biowatch
                  sara.biowatch
                  0
                  6
                  64

                • Will this URL structure: "domain.com/s/content-title" cause problems?
                  0
                  2
                  42

                • Trailing Slashes on URLs
                  GastonRiera
                  GastonRiera
                  0
                  2
                  146

                • :8088 showing up on end of URL in natural Google search results
                  costumebox
                  costumebox
                  0
                  3
                  164

                • Duplicate url problem causing me problems
                  PaulRonin
                  PaulRonin
                  0
                  6
                  246

                • Google Indexed URLs for Terms Have Changed Causing Huge SERP Drop
                  RyanKent
                  RyanKent
                  0
                  4
                  647

                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