Deleting Duplicate Link in WordPress Nav Bar?

8 replies
Hi all,

I feel a little dumb right now, but I can't figure this out and am hoping you can help me.

I had someone create a site for me in WordPress and there are two "Home" links in the navigation bar. However, there's only one "Home" page in the "Pages" section of the WP Admin area.

How do I delete the duplicate link???? I feel a little dumb because I feel like I should be able to figure this out myself, but I can't seem to find the duplicate nav link in the admin area and I don't want to delete the "Home" page under the pages section because I DON'T want to delete the one home page I have on the site!

I'd appreciate you help.

Thanks,
Michelle
#bar #deleting #duplicate #link #nav #wordpress
  • Profile picture of the author Damien Roche
    Home should not be a wordpress 'page' in the pages section.

    You could try to trash, check your blog, and then undo if anything went wrong.

    Be glad to take a look if you can send over your website url.

    *edit* - sorry, do you mean remove the default home page link in the wordpress nav?

    It usually looks like this:

    <a href="<?php bloginfo('url'); ?>">Home</a>

    ..found in header.php in your theme folder.
    Signature
    >> Seasoned Web Developer (CSS, JavaScript, PHP, Ruby) <<
    Available for Fixed Fee Projects and Hourly ($40/hr)
    {{ DiscussionBoard.errors[2216738].message }}
  • Profile picture of the author aaron_nimocks
    Its probably hard coded in header.php

    Open the theme editor and select header.php (guessing your navigation is on the top of your page)

    Do a search for "home"

    Im guessing you will find a link to your home page then a function to display your homepage using a page named Home.

    Make a copy of the page and save it to notepad first in case you mess it up.

    Delete the first one.
    Signature

    My free PSD logs can be downloaded at PSD Bum. Enjoy!

    {{ DiscussionBoard.errors[2216746].message }}
    • Profile picture of the author Nightengale
      Aaron,

      You're correct in that my nav bar is at the top (horizontal) of my page.

      My home page (index) page is a straight HTML page (a squeeze page) but all other pages are WordPress blog pages. The two "Home" links in the nav bar DO link correctly to the squeeze page, but as I said, there's only one "Home" page listed in the "Pages" section of the WP Admin area.

      I checked the header.php file as you suggested and there are no navigation links or link titles in there.


      Chris,

      This is a custom-designed WP site, so we're supposed to have complete control over the design/look/feel.

      I've sent an e-mail to my designer, but I'm just not sure how soon she'll get back to me. I was just hoping to get some quick help.

      If anyone has any other ideas/suggestions, I'd appreciate it.

      Thanks,
      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[2216781].message }}
  • Profile picture of the author aaron_nimocks
    I can fix it in 2 mins if you wanted to give me wp-admin access. But without seeing the site and such its hard to visualize what to change.

    If you want to, PM me and Ill do it real quick.
    Signature

    My free PSD logs can be downloaded at PSD Bum. Enjoy!

    {{ DiscussionBoard.errors[2216792].message }}
    • Profile picture of the author Nightengale
      PM sent. I'd SO APPRECIATE it if you can fix this for me!

      Thanks so much!

      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[2216826].message }}
    • Profile picture of the author Stewart Alexander
      Originally Posted by aaron_nimocks View Post

      I can fix it in 2 mins if you wanted to give me wp-admin access. But without seeing the site and such its hard to visualize what to change.

      If you want to, PM me and Ill do it real quick.
      Aaron,

      I'm having the same problem. Pulling my hair out trying to find the duplicate link. Can you help me out please. I can pm my details if you want.

      Thanks

      Stewart
      {{ DiscussionBoard.errors[3095631].message }}
  • Profile picture of the author pube12
    The awesomeness that is the WF. Hope it worked out for you Nightengale!
    {{ DiscussionBoard.errors[2218682].message }}
  • Profile picture of the author SteveJohnson
    The vast majority of themes include a hard-coded 'home' link in the nav sections because there normally isn't a page named 'Home'. If you add such a page, you'll get a duplicate link in the nav bars.

    Solution? Rename your page to something other than 'Home', then set WP up to display that page as the 'home' page.

    Page names like 'home' don't do a whole lot for your SEO efforts, especially if, as in most themes, the page name is prominently featured at the top of the content area in an <h1> or <h2> tag.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[3095867].message }}

Trending Topics