Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här inaktiverar du trackbacks och pings på befintliga posts i WordPress

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.

How to Disable Trackbacks and Pings on Existing 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”.

Disabling trackbacks and pingbacks in WordPress

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.

Disabling pings and trackpacks on existing WordPress posts

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.

Blocking trackpacks and pingbacks on old WordPress blog posts

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”.

Select all posts on the page

Därefter öppnar du dropdown som visar ”Bulk Actions” som standard och väljer ”Edit”.

Sedan klickar du bara på ”Tillämpa”.

Bulk edit all selected posts

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”.

Do not allow pings

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.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

51 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    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 says

      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 says

        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.

  3. Oni says

    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 says

      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

  4. lin says

    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 says

      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

  5. Zack says

    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.

  6. Patrick Kamau says

    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.

  7. Steve says

    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 says

      Changing the trackback through the method in the article shouldn’t affect the published date for the post.

      Administratör

  8. katie says

    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 says

      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

  9. Stephanie says

    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?

  10. Timur says

    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 says

      You would need to use the second method in the article to enable pings on the older posts

      Administratör

  11. Babak Fakhamzadeh says

    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?

  12. Jean LeFebvre says

    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!

  13. Wayne Shufelt says

    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

  14. Brown Smith says

    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.

  15. JD Lasica says

    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!

  16. Tony Wang says

    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.

  17. john says

    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.

  18. Ricardo Ribeiro says

    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.

  19. priya says

    All your article I read so far seems for self hosted site. Please help me find some useful articles for my wordpress blog site.

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.