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
        • Confused over whether i need to use hreflang tag?
          davebuts
          davebuts
          0
          5
          602

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

        • Using del canonical for subpage relating to homepage
          RWW
          RWW
          0
          3
          116

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

        • 301 to trailing slash version then canonical
          Chammy
          Chammy
          0
          4
          333

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

        • Do I need to use canonicals if I will be using 301's?
          BlueprintMarketing
          BlueprintMarketing
          0
          6
          382

        • Do I need to use canonical tags if I'm 301 redirecting pages?
          RobertFisher
          RobertFisher
          0
          2
          423

        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