Gå videre til hovedindhold
Ring til os
Telefonnumre og åbningstider
Hjælpecenter

Udforsk vores ressourcer for onlinehjælp

Hjælp

GoDaddy Hjælp

Manage my WordPress comment settings

WordPress comes with a built-in commenting system that allows you to add a comment block to the bottom of your posts and pages where your audience can share their thoughts and ideas. WordPress comments is a fully fledged comment system that doesn't require a third-party plugin to add comment features to your site. However, there are third-party plugins available that expand the capabilities of WordPress comments.

Enabling comments on your site has many benefits but also comes with some risk. It's important to understand both before getting started with WordPress comments. Unmoderated comments can get out of control and damage your site's brand reputation.

Why enable comments on my WordPress site?

Building user-engagement around WordPress comments can improve your site's SEO performance and create social proof that your content is relevant, current, and your site doesn't live in a vacuum.

Providing a place for your audience to discuss the topic of your post or page answers the question many site builders have - How can I get more content onto the page? This type of user-generated content (UGC) can help search crawlers figure out how relevant your page is to a search query. In addition, you can collect feedback on the topic to help improve your content.

Creating a space for your audience to contact you organically without using a contact form can keep them coming back to engage with your content. Comments can also be a reliable source of lead generation for marketing purposes.

What are the risks to having comments enabled on my site?

The primary risk to WordPress comments is your site's brand reputation. Unmoderated comments can work against this by eroding trust between your brand and your audience. The default settings for WordPress comments are safe, but there are some improvements that you can make in the settings to safeguard your site.

Spammers will try to funnel your traffic or mislead your audience. Placing common sense limits on comments can reduce your risk.

Moderating comments can become a chore as your site takes on more traffic, which can lead to more effort than you're willing or able to put into it. Familiarizing yourself with the comment options before getting started with WordPress comments will help you come up with a comment strategy that makes sense for your situation.

A comment strategy can be as restrictive as deciding you don't want to manage comments and turning them off all together, or as permissive as leaving your comments open with little or no moderation at all. The main idea is to create a strategy that makes sense for your situation and the goals you've set for your site.

What are the basics for managing comments on my site?

When comments are enabled, WordPress adds some text boxes to the bottom of your posts and pages where your audience can engage with your content. Once a comment is approved, it will be displayed below your post or page.

You can view and manage comments in the Comments section of the WordPress dashboard. There are several bins where comments are stored:

  • All: A list of all comments
  • Mine: Your comments, this is based on who you're signed in as.
  • Pending: Comments that are pending approval.
  • Approved: Comments that have already been approved.
  • Spam: Comments that have been flagged as unwanted or irrelevant.
  • Trash: Comments flagged as unwanted. They're automatically removed after 30 days.
  • ALT TEXT

In these comment bins, you can hover over a comment to see the action links for it. The action links allow you to moderate a comment to approve, mark as spam, move to trash, edit, or reply to it.

  • ALT TEXT

WordPress built-in comment tools

Let's look at the built-in comment moderation tools available in WordPress to manage comments. You'll need to stay signed into the WordPress dashboard to manage your comment settings.

Select a task from the following list to manage your WordPress comment settings:

Sign in and open Discussion Settings

You can find the controls for managing comments on the Discussion Settings page in your WordPress dashboard. Here's how to get there:

  1. Sign in to your WordPress dashboard. (Need help signing in to WordPress?)
  2. In the left-hand menu, select Settings and then Discussion.

Disable comments

In the Default post settings section, you can disable comments entirely by unchecking the box for Allow people to submit comments on new posts. This will prevent anyone from commenting on new posts.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. In the Default post settings section, clear the checkbox next to Allow people to submit comments on new posts.
    ALT TEXT
  3. Rul til bunden af siden, og vælg Gem ændringer.

Note: If you have comments enabled on individual posts or pages, individual settings will overwrite the default post settings for these posts or pages.

Back to comment settings list

Prevent anonymous comments

If your WordPress site is allowing comments, you can prevent anonymous contacts by filling in the check box for Comment author must fill our name and email or Users must be registered and logged in to comment, or both.

Requiring your audience to provide contact info or log in before they can comment is an excellent way to prevent bots from spamming your comments. It's also an excellent way to generate leads that are genuinely invested in your content.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. In the Other comment settings section, select or unselect the box next to the following options to enable or disable them:
    • Comment author must fill out name and email.
    • Users must be registered and logged in to comment.

    ALT TEXT
  3. Rul til bunden af siden, og vælg Gem ændringer.

Back to comment settings list

Close comments on old posts

One of the best ways to prevent spammers from overwhelming your moderation queue is to close comments on posts that are older than a certain number of days. WordPress recommends starting with posts older than 14 days.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. I afsnittet Andre kommentar-indstillinger vælger du markeringsfeltet ved siden af Luk automatisk for kommentarer på artikler, som er ældre end XX dage.
  3. På den samme linje ændrer du antallet af dage til det antal, du foretrækker.
    ALT TEXT
  4. Rul til bunden af siden, og vælg Gem ændringer.

Note: For Managed WordPress plans, this is set to 14 days automatically. This isn't a permanent limitation and can be changed to whatever meets the needs of your site.

Back to comment settings list

You can limit the number of links in a comment in the Comment Moderation section. The default setting is 2, which will hold any comment with 2 or more links in the moderation queue. This setting allows you to reduce the risk of spammers funneling traffic from your site. You can set it to 0 if you want to moderate all links in comments.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. Scroll down to the Comment Moderation section and, in the first line of this section, change the number according to your preference. Any comments having that number of links or more will automatically require approval.
    ALT TEXT
  3. Rul til bunden af siden, og vælg Gem ændringer.

Back to comment settings list

Build a comment moderation list

Comments can be moderated based on specific words contained in its content, author name, URL, email, IP address, or browser's user agent string. Moderated comments are held in the moderation queue. It's important to understand that it's one item per line (not comma separated values) and it will match inside words, so “press” will match “WordPress”.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. Scroll down to the Comment Moderation section and enter the items you want to moderate into the box, one item per line. You can enter keywords, phrases, IP addresses, domains or URLs, usernames, or email addresses.
    ALT TEXT
  3. Rul til bunden af siden, og vælg Gem ændringer.

Back to comment settings list

Build a comment blocklist

WordPress comments includes a setting to build a comment blocklist in the Disallowed Comment Keys field to help moderate comments. Any comments that include a word from the blocklist in its content, author name, URL, email, IP address, or browser's user agent string are sent to Trash instead of posting or being held in the moderation queue. When building the blocklist, it's important to understand that it's one item per line (not comma separated values) and it will match inside words, so “press” will match “WordPress”.

  1. Sign into WordPress and open Discussion Settings. (Remind me how to do this)
  2. Scroll down to the Disallowed Comment Keys section and enter blocklisted items into the box, one item per line. You can enter keywords, phrases, IP addresses, domains or URLs, usernames, or email addresses.
    ALT TEXT
  3. Rul til bunden af siden, og vælg Gem ændringer.

Back to comment settings list

Flere oplysninger