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. On-Page / Site Optimization
    4. How do you handle URLs with slashes?

    How do you handle URLs with slashes?

    On-Page / Site Optimization
    2 2 72
    • 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.
    • tiffany1103
      tiffany1103 last edited by

      I asked this question before, but with a different scenario.  I upgraded my plan to a more advanced cart and all of my URLs changed about 1.5 years ago.  I knew nothing about redirects and such, so none of that was done.

      Basically, let's say my site was: http://www.abc.com, but when people actually visit my site, they are directed to https://www.abc.com/. I have asked my host about redirecting and she that it is not possible.  In the past, the link shared has been just www.abc.com .  Will this hurt my ranking?

      My second question is ...let's say I have a link  http://www.abc.com/blog , but now, the link is http://www.abc.com/blog/ . Will I be affected, since all my old links omit the slash?

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

        QUESTION 1:

        Setup a catchall .htaccess 301 redirect to point http:// to https://

        (So the age of your page is transferred to the https:// pages)

        QUESTION 2:

        In short: No

        But

        It wouldn't hurt to make sure you have a canonical tag on all your pages pointing to the preferred url structure

        For example these 2 pages load 1 page (and both URLs work):

        http://singlespeedbikes.co/abacabb-2-0
        http://singlespeedbikes.co/abacabb-2-0/

        But the cannonical tag on this page tells Google which URL it should index to avoid confusion with duplicate content etc, example:

        <link href="[http://singlespeedbikes.co/abacabb-2-0](view-source:http://singlespeedbikes.co/abacabb-2-0)" rel="<a class="attribute-value">canonical</a>" /> 
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
          0
          1
          171

        • To avoid the duplicate content issue I have created new urls for that specific site I am posting to and redirecting that url to the original on my site. Is this the right way to do it?
          0
          1
          24

        • Duplicate URL errors when URL's are unique
          DirkC
          DirkC
          0
          2
          96

        • Product URL
          ATP
          ATP
          0
          3
          89

        • Slash at the end of a url
          corwin
          corwin
          0
          5
          352

        • Slash vs no slash?
          AlanMosley
          AlanMosley
          0
          5
          714

        • With a slash and without a slash
          KeriMorgret
          KeriMorgret
          0
          3
          629

        • URL with two forward slashes //
          Theo-NL
          Theo-NL
          0
          2
          1.5k

        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