Vill du inaktivera trackbacks och pings på dina befintliga WordPress posts?
Trackbacks och pingbacks meddelar dig att en annan blogg har länkat till ditt content och vice versa. Spammare missbrukar dock ofta den här funktionen genom att skicka trackbacks och pings från skräppost-webbplatser.
I den här artikeln visar vi dig hur du inaktiverar trackbacks och pingbacks på dina befintliga WordPress posts.
Varför inaktivera trackbacks och pings i WordPress?
I bloggarnas barndom användes trackbacks och pingbacks för att bloggar skulle kunna meddela varandra om links.
Låt oss föreställa oss att you skriver en artikel och länkar till en viktig page på din väns blogg. Din blogg kommer automatiskt att skicka en ping till den personens blogg.
Denna pingback kommer att visas i deras bloggs invänta [granskning] / kö för moderation av kommentarer med en länk till din website. Spammare och tjuvar av content kan dock använda den här funktionen för att skicka falska trackbacks och pings, vilket kan skada din sökmotorsoptimering.
Du kan inaktivera funktionen för trackbacks och pingbacks genom att gå till Settings ” Discussion i WordPress dashboard. Sedan avmarkerar du bara boxen bredvid ”Allow link notifications from other blogs (pingbacks and trackbacks) on new posts”.
Tänk på att denna inställning endast inaktiverar trackbacks och pingbacks för alla nya artiklar som du publicerar. Alla dina gamla posts kommer fortfarande att ha trackbacks och pingbacks aktiverade.
Med detta i åtanke, låt oss se hur du enkelt kan inaktivera trackbacks och pingbacks på befintliga WordPress posts.
Inaktivera Trackbacks och Pings för WordPress Posts
Det enklaste sättet att inaktivera trackbacks och pings på hela din website i WordPress är att använda funktionen för massredigering.
Först måste du ändra inställningarna för sidonumrering så att alla dina posts visas på samma vy. För att göra detta går du till Posts ” All Posts och klickar sedan på knappen Screen Options i det övre högra hörnet av skärmen.
Som standard visar WordPress 20 posts per page.
För att ändra detta skriver du helt enkelt in ett new nummer i boxen ”Number of items per page”. Eftersom du vill update alla dina posts i WordPress rekommenderar vi att du skriver in ett högt tal, t.ex. 999.
Därefter klickar du på knappen ”Tillämpa” för att ladda om listan med poster.
Nu kan du välja alla posterna genom att kontrollera boxen bredvid ”Rubrik”.
Därefter öppnar du dropdown som visar ”Bulk Actions” som standard och väljer ”Edit”.
Sedan klickar du bara på ”Tillämpa”.
WordPress kommer nu att visa inställningarna för bulk edit för alla dessa posts.
Öppna bara dropdown-menyn ”Pings” och välj ”Do not allow”.
Slutligen klickar du bara på knappen ”Update” för att save your changes och inaktivera pings och trackbacks i WordPress.
Om du har fler än 999 inlägg på din blogg WordPress måste du gå till nästa page och upprepa processen.
Vi hoppas att den här artikeln hjälpte dig att lära dig hur du enkelt inaktiverar trackbacks och pings på befintliga WordPress-poster. Du kanske också vill se vår lista över de bästa gratis tools som alla bloggare bör använda, eller kontrollera vår guide om hur man snabbt genererar 100+ idéer till blogginlägg.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Jiří Vaněk
I’m asking from a spammer perspective because I still haven’t figured out this feature either. So when I have moderated comments that have to go through approval, isn’t it better to have trackbacks and pingbacks turned on because they won’t get to the site without approval and at least I’ll have an overview of who is linking to me, where and how?
WPBeginner Support
The issue with allowing trackbacks like that would be that there could be people who try to spam your comment sections mainly to include a link.
Administratör
Jiří Vaněk
I understand, so primarily, if I understood correctly, when I disable this function, I won’t unnecessarily attract spammers to insert something on my website that shouldn’t be there. That actually makes sense. I’m finally starting to understand pingbacks and trackbacks a bit better. Thank you for the enlightenment.
Oni
Hello,
maybe i do not understand fully so please sorry this question:
1) disabling pingback and trackback from wordpress do not preserve me from someone to write them back: is it so? If yes, if someone write something that cite me i will never see (not saying that this is a problem, i’m just trying to understand).
2) Comment in approval usually are not shown in pages(is this true?): how does the comments approval queue affect SEO of a website?
WPBeginner Support
Someone would still be able to write about and link to your site with trackbacks and pings disabled on the site you can normally use analytics tools to check for sites that are linking to your site without needing to use trackbacks and pingbacks.
Comments waiting for comment approval would not affect your site’s SEO and would not show up on the page until you approve the comment.
Administratör
Moe Morales
Thanks for this tip! It saved me a TON of time! Cheers!
WPBeginner Support
You’re welcome, glad our guide was helpful
Administratör
lin
This did not work. It is still showing on my existing blog posts at the bottom.
I have it updated in settings and ”PINGS” are turned off on all posts as well
WPBeginner Support
Turning them off would disable them from being added, you would need to remove previous pings for what it sounds like you’re waning.
Administratör
John Zimmer
Very helpful. Clear, concise instructions that got the job done efficiently.
Thank you!
WPBeginner Support
Glad our guide was helpful!
Administratör
Zack
Thank you for this great and detailed guide it saved me alot of stress because I was getting alot of pingbacks with this guide I was able to get it fixed.
WPBeginner Support
Glad our guide was able to help!
Administratör
Patrick Kamau
Thank you so much for this article. I have been stressed by these pingbacks for quite a while. I had turned off them from new articles but they kept coming. Now I know it was because of the old posts. I have followed your essay steps and now I hope they will be gone forever.
Thanks.
WPBeginner Support
You’re welcome, glad our guide could be helpful!
Administratör
Steve
I’m not sure you indicated it, but if a trackback is found in a post (or page) using your Edit method (which will now be changed to be disallowed), will it alter the date currently shown for the post (or page)? I would not want the original post date to now suddenly indicate the date I ran this Edit as this would mess up the time order of the posts.
WPBeginner Support
Changing the trackback through the method in the article shouldn’t affect the published date for the post.
Administratör
Dianne
Thanks so much! I never knew about bulk editing. This really helped
WPBeginner Support
Glad we could help
Administratör
katie
Hi! Is there a way to allow pingbacks but not to show them in the comments? Or does that defeat the purpose of allowing them in the first place. Sorry if that’s a silly question, new to all of this. Thanks!
WPBeginner Support
To do that you would need to delete the pingbacks in your comments at which point we feel it would be better to prevent them altogether.
Administratör
Stephanie
I did the steps correctly but when I go back to make sure everything is saved. The ”ping” section does not stay on do not allow. It goes back to how it used to be. Why?
WPBeginner Support
You would want to start by following our troubleshooting guide below:
https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administratör
Eduardo
Awesome!! Thank you very much
WPBeginner Support
You’re welcome
Administratör
Timur
Hi, how can I turn on pings on older articles?
I have a lot of articles and mention that i disable ”Attempt to notify any blogs linked to from the article” and now i want this ping to my article. I turned on this option but mine nothing has changed with old posts.
Regards/
WPBeginner Support
You would need to use the second method in the article to enable pings on the older posts
Administratör
Tor
ah, nice. I have a blog post that spammers have kept banging on for the last week. thank you!
WPBeginner Support
You’re welcome, glad our guide could help
Administratör
Babak Fakhamzadeh
I’ve got a few thousand posts. If I set my pagesize to over 30 or so, Wordpress returns a ’page not found’ after submitting the bulk edit and waiting for a while.
I really don’t want to do this 100 times with a page size of 20.
So, is there a plugin or other method that can help me do this?
WPBeginner Support
Sadly not one we would recommend at the moment, you may want to reach out to your host to increase your maximum execution time or try: https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
Administratör
Babak Fakhamzadeh
Thanks for the quick response.
Asif
I have applied this tutorial as well as https://www.wpbeginner.com/wp-tutorials/how-disable-self-pingbacks-in-wordpress/ but still ping back comments are visible on my blog. May you please help out to get rid from them?
WPBeginner Support
Those pingbacks are probably older and approved. You will have to find and delete them by visiting the comments page in WordPress admin area.
Administratör
Jean LeFebvre
Thank you, I followed your advice. I have worked so hard to get rid of spam in my life and I almost let it back in again because of not knowing what it was!
Wayne Shufelt
Just wanted to say thanks for this tutorial. I got a trackback on one of me website posts the other day and was not sure about what it was. I thought it might be something I should not open so I deleted it.
I have now followed youtr instructions and shut of that capability in WordPress.
So, Thanks again,
Wayne
Barbara
Thanks so much for this. My site was being overrun with trackbacks.
Brown Smith
Hi, If I off trackback then will stop SEO juice pass? I’m really worried about my blog i just off it after read this post.
WPBeginner Support
Hi Brown,
Turning off trackbacks doesn’t affect your site’s SEO.
Administratör
Tim Romero
Thanks. This was a big help.
JD Lasica
Would be nice to know what version of WordPress this works on. I’ll upgrade because I’m not seeing the Bulk Edit option. Thanks!
WPBeginner Support
Hello,
This tutorial was written specifically for self-hosted WordPress.org websites. Please see our guide on the difference between self hosted WordPress.org vs free WordPress.com blog.
Administratör
Tony Wang
Great article, but disabling pings on pages in bulk edit does not seem to work, there is no ”ping” option. Is that true, or am I missing something? So now I need to turn off pings on every individual existing page? Just started getting a bunch of ping spam.
john
Thanks for the explanation. Mine were already disabled as it was configured by someone else / or switched off as a default. This article explains why they are switched off. What is also useful is to know how to do a bulk edit, i’ve not used this feature before as luckily my set up was done correctly in the first place and is a modern wordpress website with up-to-date security and secure plugins and a secure server configuration that also helps. But you can never be too sure and it is worth taking this measure of disabling pingbacks etc…You should however keep your sitemaps up to date and submit them to include new articles. This is the modern method for updating search engines. Other bloggers find out about the external links to their sites and visa versa using tools such as the google webmaster tools.
Ricardo Ribeiro
Unfortunately on the last step of this tutorial I get
Request-URI Too Large
The requested URL’s length exceeds the capacity limit for this server.
priya
All your article I read so far seems for self hosted site. Please help me find some useful articles for my wordpress blog site.
Brian
Hi Priya,
WordPress is a free tool to help create websites or blogs. It comes in a couple of different flavors. There is WordPress self hosted and WordPress.com, which is hosted. They are both still WordPress.
Here is an article that explains the difference:
https://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/
If you want help with WordPress.com (hosted) specifically, here is a great starting point:
Hope this helps!
Tammi
Exactly the solution that I was looking for, thanks WPBeginner!
Ravi sharma
Really Awesome And Helpful Post
Christabel Hilda
That has been helpful