WordPress.org

Ready to get started?Download WordPress

Forums

Hide menu and sidebar text from search engines? (15 posts)

  1. Jon Fergus
    Member
    Posted 1 year ago #

    Ok, so I'm using the Mozimat Goodnews theme, and I'm having terrible search results, because when I search it gives me results that include the main navigation menu and the sidebar. So, if I search for a word that happens to be in the menu or sidebar, every page on the site will show up in the search results, as every page in the site has a sidebar and navigation menu. Also, in the 160 character snippet text for the page, the default starts with the navigation menu text.

    How can I solve this problem? Is it possible to hide the menu and sidebars from the search engines? Essentially what I want is for search engines to only search within the page contents themselves.

    Any help would be much appreciated.

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    the Mozimat Goodnews theme, and I'm having terrible search results

    If you are sure, why don't you change the theme?

  3. Jon Fergus
    Member
    Posted 1 year ago #

    Um.... if I'm sure of what?
    Anyway, that's not the solution I'm looking for.

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    What exactly is the solution that you are looking for?

  5. Jon Fergus
    Member
    Posted 1 year ago #

    If I knew what the solution was, I wouldn't be here asking the question.

  6. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Hide menu and sidebar text from search engines?

    If you see the posts/ pages with sidebar, there is NO WAY with which you can stop the search engines, other than blocking them. If you do not want SEs indexing them, you have to remove sidebars/ their contents.

  7. Jon Fergus
    Member
    Posted 1 year ago #

    Hmm... ok.

    What about the main navigation menu? Is it the same situation? The part I don't understand is that when I search other sites I never see the navigation menu in the results text. So there must be some way of having it not show up...??

  8. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    It is as simple as follows, unless you block the search engines, irrespective of whatever you do:
    1. Links found anywhere by SEs will be followed and indexed and all that is readable in those links will be indexed.
    2. Such links can be in your site or on other sites.
    3. In search results, only a few words relevant to your search (keywords/ phrases you searched) will be shown. But if you click on those links, you can see the entire page/ post.

  9. Jon Fergus
    Member
    Posted 1 year ago #

    3. In search results, only a few words relevant to your search (keywords/ phrases you searched) will be shown. But if you click on those links, you can see the entire page/ post.

    This is where I have the problem. Here's a search result example. So long as google is treating my navigation menu as part of each page, every single page contains the word 'karma', because it's in the navigation menu. So, the 'words relevant to my search' are found everywhere - not a very valuable search.

    Sorry for being so dense, but I don't see other sites having this issue, so there must be some kind of solution...

    Thanks for your patience.

  10. Jon Fergus
    Member
    Posted 1 year ago #

    I found this today. Can anyone let me know if this is what I need?

    Nofollow WordPress Category Navigation
    Initially, I looked for a plugin that would add “nofollow” to all of the category links in my website’s navigation bar automatically. It turns out that WordPress already has this ability if you’re using custom menus.

    Open the Menus screen under the Appearance heading of the WordPress admin menu.
    Click the tab for the menu you want to edit.
    Click the Screen Options tab at the top of the page and select the Link Relationship (XFN) check box.
    Close the Screen Options tab. Each time you click the arrow on the right side of a menu option, you’ll now see a field titled Link Relationship (XFN).
    Type nofollow in the Link Relationship (XFN) field for each link to which you want to add the “nofollow” attribute.
    Click the Save Menu button when you are finished.

    Here's the full article.

  11. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Are you happy with the above solution? If yes, follow the guidelines.

  12. Jon Fergus
    Member
    Posted 1 year ago #

    Problem is, I don't really understand if this is a solution, so am hesitant to apply it. My main question is:
    Does this 'nofollow' just the navigation menu or also the pages they link to?

  13. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    You have to actually do that and watch the results. Try to use Google services like Google Webmaster Tools and Google Analytics to see what is happening to your links on real time basis. If you are unaware of these, go to any of your Google accounts and look around.

  14. Jon Fergus
    Member
    Posted 1 year ago #

    Thanks. I think I'll need to take a day, roll up my sleeves and wade through some trial and error.

    Thanks for helping out.

  15. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    You are welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic