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. Intermediate & Advanced SEO
    4. Bingpreview/1.0b Useragent Using Adding Trailing Slash to all URLs

    Bingpreview/1.0b Useragent Using Adding Trailing Slash to all URLs

    Intermediate & Advanced SEO
    5 2 648
    • 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.
    • friendoffood
      friendoffood last edited by

      The Bingpreview crawler, which I think exists in order to take snapshots of mobile friendly pages, crawled my pages last night for the first time.  However, it is adding a trailing slash to the end of each of my dynamic pages.  The result is my program is giving the wrong page--my program is not expecting a trailing slash at the end of the urls.  It was 160 pages, but I have thousands of pages it could do this to.

      I could try doing a mod rewrite but that seems like it should be unnecessary.  ALL the other crawlers are crawling the proper urls.  None of my hyperlinks have the slash on the end.  I have written to Bing to tell them of the problem.

      Is anyone else having this issue?  Any other suggestions for what to do?

      The user agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 BingPreview/1.0b

      1 Reply Last reply Reply Quote 0
      • Cyrus-Shepard
        Cyrus-Shepard last edited by

        On one hand I'd agree with you that you shouldn't have to rewrite those URLs on your end. On the other hand, it's usually best practice to make sure both versions of a URL (with slash and/or without) resolve to the same page. The reason for this is that:

        • Search bots, including Google, will often "explore" variations of URLs for discoverability reasons - they want to make sure they are discovering all of your available content.
        • People will link to you with and without trailing slashes. If they link to you with a trailing slash and your page breaks, you could be wasting link equity, to say nothing of the bad user experience of people visiting your site from the referral links
        • For one reason or another it's common to append URLs with various parameters (for tracking reasons, campaings, etc) and often these URLs are generated by third party services when pointing at your site.

        For all of these reasons, it's pretty common to either force redirect trailing slashes (via a 301) or make sure both versions resolve to the same content, and use a rel=canonical tag to indicate to search engines that these are indeed meant to be the same page.

        On the other hand, if this is something not feasible and URLs ending in a slash are indeed different pages, you might want to carefully consider what those pages deliver to both humans and bots because it seems inevitable that both will eventually crawl and stumble upon them.

        Perhaps not the answer you were looking for, but I hope it helps.

        friendoffood 1 Reply Last reply Reply Quote 1
        • friendoffood
          friendoffood @Cyrus-Shepard last edited by

          Thanks for your reply Cyrus.  Wow, so much to learn.

          I will put in logic via a mod redirect to basically remove the trailing slash and go to the resulting url because otherwise all the trailing slash urls will be a different page of basically a 'no-product' business and the like.

          These are all dynamically generated pages, so I think as long as I resolve to the 'proper' no-slash version then I won't need to worry about anything else, like a rel=canonical tag because there wont be any identical content.

          Does that sound right to you?

          Cyrus-Shepard 1 Reply Last reply Reply Quote 0
          • Cyrus-Shepard
            Cyrus-Shepard @friendoffood last edited by

            Sounds like a plan. I'd also make every redirect a 301, just in case. Cheers.

            friendoffood 1 Reply Last reply Reply Quote 0
            • friendoffood
              friendoffood @Cyrus-Shepard last edited by

              Will do.  Forgot to mention Bing is checking into it.  But for the reasons you mentioned I am still going to do the 301s.  Thanks again.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Should I switch from trailing slash to no trailing slash?
                ThompsonPaul
                ThompsonPaul
                0
                6
                1.6k

              • Trailing Slashes on URLs
                WebElaine
                WebElaine
                0
                2
                2.3k

              • Domain.com/old-url to domain.com/new-url
                Edzjus333
                Edzjus333
                0
                10
                162

              • Is it better to have trailing slash or no trailing slash in URLs and what if both variations work?
                webmethod
                webmethod
                0
                4
                2.8k

              • Magento Trailing Slash URL Problem
                MozAddict
                MozAddict
                0
                8
                8.5k

              • Double Forward Slash in URL //
                Timmmmy
                Timmmmy
                0
                2
                2.2k

              • Does having a trailing slash make a url different than the same url without the trailing slash?
                webestate
                webestate
                0
                4
                2.2k

              • Our site is recieving traffic for both .com/page and .com/page/ with the trailing slash.
                Profero
                Profero
                0
                5
                670

              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