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. Web Design
    4. Affects of a Home Link 301 Permanent Redirect in the Main Nav Bar

    Affects of a Home Link 301 Permanent Redirect in the Main Nav Bar

    Web Design
    3 2 174
    • 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.
    • SEOguy1
      SEOguy1 last edited by

      Hi

      I created a home page link in the main nav bar using functions.php request, and this leads to the home page, and it works fine. The logo on the site when clicked, resolves the home page domain.com which is fine.

      Is it ok to have a home page link in my main nav bar, as well as a clickable logo which on-click returns the web user to the home page also? (any seo implications with the permanent 301 redirects?) I like to give web users the choice especially as not all users are aware that they can click back to the home page by clicking on the logo. I considered breadcrumbs already.

      Thanks.

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

        Having both a logo link and a menu link back to the home page is standard procedure on most websites and doesn't pose any issues.

        As mentioned in your other question though, it is never correct to have a navigation link on your own site passing through a redirect. When correctly configured, WordPress automatically creates a home page link in the navigation menu. Even if not there though, you can simply add it manually to any menu using the Menu section of the Customizer under the Appearance tab in the WP dashboard's left side bar.

        Paul

        1 Reply Last reply Reply Quote 1
        • SEOguy1
          SEOguy1 last edited by

          Hi Paul

          Thanks a lot. A main nav menu link is what I have and I used this code to create it, since the logo already provides a link in the nav bar also:

          // Filter wp_nav_menu() to add additional links and other output
          function new_nav_menu_items($items) {
          $homelink = '

          • [' . __('Home') . '](' . home_url( '/' ) . ')';
            $items = $homelink . $items;
            return $items;
            }
            add_filter( 'wp_nav_menu_items', 'new_nav_menu_items' );
            ?>

          I appreciate your answer

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Internal Linking: What is the best practice for pages not included in Nav bar?
            RuthBurrReedy
            RuthBurrReedy
            0
            3
            443

          • 302 redirects, canonicalise or redirect (301)?
            eLab_London
            eLab_London
            0
            5
            754

          • 301 Redirect all pictures when moving to a new site?
            DirkC
            DirkC
            0
            4
            4.1k

          • 301 htaccess redirect or 301 HTTP DNS Redirect
            OlegKorneitchouk
            OlegKorneitchouk
            0
            2
            1.4k

          • Main page redirect affecting search results?
            nongard1
            nongard1
            0
            8
            141

          • Is there a limit for 301 redirection in htaccess file?
            Vizergy
            Vizergy
            0
            3
            5.3k

          • Display a message after 301 redirect.
            JoshPugh
            JoshPugh
            0
            5
            2.3k

          • Anyone have a good example of a CSS-based multi-level nav bar that is semantic (including link level subordination) and is ux positive?
            EricaMcGillivray
            EricaMcGillivray
            0
            4
            593

          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