Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #369950

    Hi,

    I have a problem when i make a search on my site on Google, i get alot of links that ends with /feed/ – its double links, because alle the links without /feed/ is also there.

    How can i fix this?

    /feed/

    #370228

    Hi Kimsejer!

    Are you using an SEO plugin? Did you recently create a sitemap?

    I would try installing the WordPress SEO plugin and then in Dashboard > SEO > Titles & Meta check the “Hide RSS Links” option.

    Regards,
    Elliott

    #370604

    Yes i am using All in One Seo plugin, can that be it?

    #370619

    I can see it here when i show the code in Chrome:

    <!– Scripts/CSS and wp_head hook –>
    <link rel=”alternate” type=”application/rss+xml” title=”AltanDrømme » Feed” href=”http://www.altandroemme.dk/feed/&#8221; />
    <link rel=”alternate” type=”application/rss+xml” title=”AltanDrømme » Kommentarfeed” href=”http://www.altandroemme.dk/comments/feed/&#8221; />
    <link rel=”alternate” type=”application/rss+xml” title=”AltanDrømme » Stål Kommentarfeed” href=”http://www.altandroemme.dk/altan/altaner-i-staal/feed/&#8221; />

    #370898

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    // Remove auto generated feed links
    function my_remove_feeds() {
    	remove_action( 'wp_head', 'feed_links_extra', 3 );
    	remove_action( 'wp_head', 'feed_links', 2 );
    }
    add_action( 'after_setup_theme', 'my_remove_feeds' );
    

    Cheers!
    Josue

    #371544

    Thanks, but what will happen when i update the theme, will it be gone again then?

    #371554

    Hi!

    You can avoid that by using a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/
    You can download pre-built child theme here – http://kriesi.at/documentation/enfold/downloads/

    Cheers!
    Yigit

    #371570

    My site just got blank when i did it. I can not see the website or connect to the admin panel to switch back to parent theme.. Site just plane white! — HEEEEELP

    EDIT: Delete the child folder, now i have switch back to parent theme, but i still want the parent/child, because i have some custom in the funktions file. – But i tried what he did in the video, but then i just got a totaly blank site.

    • This reply was modified 10 years ago by Kimsejer.
    #371787

    Hey!

    Are you sure you have Dashboard > SEO > Titles & Metas > Hide RSS Links checked? That should be removing the feed links from your header but I still see one listed.

    Send us a WordPress login and we’ll take a look.

    Cheers!
    Elliott

    #372037
    This reply has been marked as private.
    #372173

    Hi!

    It looks like you have the “All in one SEO” plugin installed and not the “WordPress SEO” plugin, https://wordpress.org/plugins/wordpress-seo/.

    Try deactivating all of your plugins to see if that removes the last link in your header.

    Best regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.