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.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • 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. SEO Tactics
    3. Technical SEO
    4. Trailing Slash Problems

    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.

    Trailing Slash Problems

    Technical SEO
    6
    9
    3266
    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.
    • cmjolley
      cmjolley last edited by

      Link juice being split between trailing slash and non versions.  ie.  ldnwicklesscandles.com/scentsy-uk and ldnwicklesscandles.com/scentsy-uk/

      Initially asked in here and was told to do a rewrite in the htaccess file.

      I don't have access to this with squarespace, nor can I add canonical tags on a page by page basis.

      301 redirect from scentsy-uk to scentsy-uk/ didn't work either...said that the redirect wasn't completing in an error message on the browser.

      Squarespace hasn't been very helpful at all.

      My question is....is there another way to fix this? or should I just call it a day with squarespace and move to wordpress?

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

        I know this is an old thread but just wondering if anyone ever found a solution in Squarespace, or did everyone just move over to Wordpress?

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

          You'll be hard pressed to find a hosted platform that is technically optimized for search engines. Adobe Catalyst, Squarespace, Wix, etc. will all have little (or major) issues. I don't know of too many really popular sites hosted on these platforms, but that's not to say those hosted sites won't rank well for chosen keywords. Anyway, here's what Google has to say about it: http://www.youtube.com/watch?v=CTrdP7lJ2HU

          1 Reply Last reply Reply Quote 0
          • KristaChism
            KristaChism @cmjolley last edited by

            Hi Christine:

            Did you ever find a solution for this? I have a client who's Squarespace site shows rel-con issues with my recent crawl. And to your point, you can't implement that on a per page basis. Squarespace hasn't responded (yet) to a service request. Any suggestions would be helpful. Thank you!

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

              Is there a way to get around this without moving to Wordpress?  I only will do that if there's absolutely no other way to help my site.

              KristaChism 1 Reply Last reply Reply Quote 0
              • Aran_Smithson
                Aran_Smithson @cmjolley last edited by

                Looks like a move to Wordpress is a safe bet then as your system seems very SEO-Unfriendly.

                When you do move to Wordpress be sure to check out Yoast SEO Plugin http://yoast.com/wordpress/seo/

                1 Reply Last reply Reply Quote 0
                • cmjolley
                  cmjolley @Aran_Smithson last edited by

                  Aran I can't add canonical tags on a page by page basis. x

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

                    have you tried using the canonical tag?

                    http://www.seomoz.org/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps

                    cmjolley 1 Reply Last reply Reply Quote -1
                    • irvingw
                      irvingw last edited by

                      Essentially, its only a issue when you have links to both the slash and non-slash versions. I would standardize on either having slashes or not, and make sure all links on the site follow the standard. However, after hearing that they lack basic SEO, I would convert to WP.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        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

                      • Uber_

                        Add trailing slash after removing .html extention

                        My website is non www ,it has wordpress in subdirectory and some static webpages in the root and other subdirectory 1. i want to remove .html extention from the webpages in the root and
                        the others static webpages in subdirectory.
                        2. add slash at the end.
                        3. 301 redirect from non slash to url with slash. so it should be http://ghadaalsaman.com/articles.html to http://ghadaalsaman.com/articles/ and http://ghadaalsaman.com/en/poem-list.html to http://ghadaalsaman.com/en/poem-list/ the below code 1. working with non slash at the end **2. **redirect 301 url with slash to non here's my .htaccess <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
                        RewriteBase /</ifmodule> #removing trailing slash
                        RewriteCond %{REQUEST_FILENAME} !-d     
                        RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
                        RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
                        RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
                        RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                        RewriteRule ^index.html$ http://ghadaalsaman.com/ [R=301,L]
                        RewriteCond %{THE_REQUEST} .html
                        RewriteRule ^(.*).html$ /$1 [R=301,L] PS everything is ok with the wordpress , the problems with static pages only. Thanks in advanced

                        Technical SEO | | Uber_
                        0
                      • james-tb

                        How to force Wordpress to remove trailing slashes?

                        I've searched around quite a bit for a solution here, but I can't find anything. I apologize if this is too technical for the forum. I have a Wordpress site hosted on Nginx by WP Engine. Currently it resolves requests to URLs either with or without a trailing slash. So, both of these URLs are functional: <code>mysite.com/single-post</code> and <code>mysite.com/single-post/</code> I would like to remove the trailing slash from all posts, forcing mysite.com/single-post/ to redirect to mysite.com/single-post. I created a redirect rule on the server: ^/(.*)/$ -> /$1 and this worked well for end-users, but rendered the admin panel inaccessible. Somewhere, Wordpress is adding a trailing slash back on to the URL mysite.com/wp-admin, resulting in a redirect loop. I can't see anything obvious in .htaccess. Where is this rule adding a trailing slash to 'wp-admin' established? Thanks very much

                        Technical SEO | | james-tb
                        0
                      • TihomirPetrov

                        Www2 vs www problem

                        Hi, I have a website that has an old version and a new version. The content is not duplicate on the different versions.
                        The point is that the old version uses www. and non-www before the domain and the new one uses www2. My questions is: Is that a problem and what should be done? Thank you in advance!

                        Technical SEO | | TihomirPetrov
                        0
                      • yanaiguana111

                        Double Slash // in URL

                        My client is using double forward slahes in URL like this "//" is this affecting SEO?

                        Technical SEO | | yanaiguana111
                        0
                      • eventurerob

                        Trailing Slashes on Home Pages

                        I do not think I have a problem here, but a second opinion would be welcomed... I have a site which has a the rel=canonical tag with the trailing slash displayed. ie www.example.com/ The sitemap has it without the trailing slash. www.example.com Google has it's cached copy with the trailing slash but the browser displays it without. I want to say it's perfectly fine (for the home page) as I tend to think they are treated (with/without trailing slashes) as the same canonical URL.

                        Technical SEO | | eventurerob
                        0
                      • Vivamedia

                        Set base-href to subfolders - problems?

                        A customer is using the <base>-tag in an odd way: <base href="http://domain.com/1.0.0/1/1/"> My own theory is that the subfolders are added as the root because of revision control. CSS, images and internal links are used like this:
                        internal link I ran a test with Xenu Link Sleuth and found many broken links on the site, but I can't say if it is due to the base-tag. I have read that the base-tag may cause problems in some browsers, but is this usage of base-tag bad in some SEO-perspective? I have a lot of problems with this customer and I want to know if the base-tag is a part of it.

                        Technical SEO | | Vivamedia
                        0
                      • jtay123

                        403 forbidden, are these a problem?

                        Hi I have just run a crawl test on screaming frog and it is showing quite a few 403 forbidden status codes. We are showing none of these in webmaster tools, is this an issue?

                        Technical SEO | | jtay123
                        0
                      • upick-162391

                        Trailing Slashes In Url use Canonical Url or 301 Redirect?

                        I was thinking of using 301 redirects for trailing slahes to no trailing slashes for my urls. EG: www.url.com/page1/ 301 redirect to www.url.com/page1 Already got a redirect for non-www to www already. Just wondering in my case would it be best to continue using htacces for the trailing slash redirect or just go with Canonical URLs?

                        Technical SEO | | upick-162391
                        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
                      • 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.