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. Do I need to use a trailing slash to homepage in canonical and hreflang?

    Do I need to use a trailing slash to homepage in canonical and hreflang?

    Intermediate & Advanced SEO
    2 2 418
    • 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.
    • lcourse
      lcourse last edited by

      Currently I have a 301 redirect from 
      https://www.mysite.com/
      to 
      https://www.mysite.com

      And in my canonical and hreflang and also insite links I use consistently https://www.mysite.com without trailing slash. Is this OK? Or do I need to add a trailing slash?

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

        Hi there,

        Your intention is that https://www.mysite.com be the principal page. 
        So you've done everything just fine. Even more, you've said that have used consistenly the https://www.mysite.com, that's fine in my opinion.

        Hope it helps.
        GR

        1 Reply Last reply Reply Quote 3
        • 1 / 1
        • First post
          Last post
        • Trailing Slash and Non-Trailing Slash Inconsistency
          nerdieb
          nerdieb
          0
          3
          412

        • Hreflang Tags & Canonicals Being Used
          ThomasHarvey
          ThomasHarvey
          0
          3
          82

        • To slash or not to slash - Going from no trailing slashes to trailing slashes sitewide
          justin-brock
          justin-brock
          0
          2
          135

        • Bingpreview/1.0b Useragent Using Adding Trailing Slash to all URLs
          friendoffood
          friendoffood
          0
          5
          648

        • 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

        • How do I get rel='canonical' to eliminate the trailing slash on my home page??
          AlanMosley
          AlanMosley
          0
          8
          3.5k

        • Trailing slash and rel="canonical"
          BethA
          BethA
          0
          8
          6.8k

        • Should I be using rel canonical here?
          AdoptionHelp
          AdoptionHelp
          0
          4
          888

        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