-
AuthorPosts
-
December 18, 2014 at 2:39 pm #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?
December 18, 2014 at 9:41 pm #370228Hi 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,
ElliottDecember 19, 2014 at 4:18 pm #370604Yes i am using All in One Seo plugin, can that be it?
December 19, 2014 at 4:30 pm #370619I 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/” />
<link rel=”alternate” type=”application/rss+xml” title=”AltanDrømme » Kommentarfeed” href=”http://www.altandroemme.dk/comments/feed/” />
<link rel=”alternate” type=”application/rss+xml” title=”AltanDrømme » Stål Kommentarfeed” href=”http://www.altandroemme.dk/altan/altaner-i-staal/feed/” />December 20, 2014 at 5:05 am #370898Hey!
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!
JosueDecember 22, 2014 at 3:23 pm #371544Thanks, but what will happen when i update the theme, will it be gone again then?
December 22, 2014 at 4:31 pm #371554Hi!
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!
YigitDecember 22, 2014 at 4:58 pm #371570My 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 9 years, 11 months ago by Kimsejer.
December 22, 2014 at 9:01 pm #371787Hey!
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!
ElliottDecember 23, 2014 at 12:15 pm #372037This reply has been marked as private.December 23, 2014 at 6:13 pm #372173Hi!
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 9 years, 11 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.