Curious Minds

Clear answers to science and history questions

How to Add a Contact Page on WordPress

· 6 min read · Science

To add a contact page on WordPress, create a new page, add a contact form using a plugin or the block editor, and publish it. You will also want to link it in your navigation menu so visitors can find it. This guide walks through the process step by step, using built-in WordPress features and common plugins, and covers what to do when things go wrong.

What You'll Need

  • A self-hosted WordPress site (WordPress.org) with administrator access. On WordPress.com, the process is similar but plugin availability depends on your plan.
  • A contact form plugin (e.g., WPForms, Contact Form 7, or Forminator) or a block-based form solution if your theme or plugins provide one.
  • An email address to receive submissions. Using an address on your own domain (e.g., contact@yourdomain.com) is better for deliverability than a free email service.
  • Optional: an anti-spam service such as Akismet or a CAPTCHA (reCAPTCHA, hCaptcha) to reduce junk submissions.

Step-by-Step

  1. Install a contact form plugin. Go to Plugins > Add New, search for a form plugin (WPForms, Contact Form 7, Forminator, etc.), click Install Now, then Activate. If you prefer not to use a plugin, check whether your theme or the block editor offers a form block; many block themes include one.
  2. Create a new page. In the dashboard, go to Pages > Add New. Give it a clear title such as “Contact” or “Contact Us”. This title becomes the page heading and often the menu label.
  3. Add the form. In the block editor, click the + button and search for your form plugin’s block (e.g., “WPForms” or “Contact Form 7”). Insert the block, then select or create a form from the block settings. If you are using a shortcode-based plugin, add a Shortcode block and paste the form’s shortcode (e.g., [contact-form-7 id="123"]).
  4. Configure the form fields. A basic contact form should include Name, Email, Subject (optional), and Message. Add a consent checkbox if you collect personal data, and consider a CAPTCHA or honeypot field to reduce spam. In the plugin’s settings, set the recipient email address to the inbox you monitor.
  5. Add supporting content. Below or above the form, include alternative contact methods (phone, physical address, business hours) and a brief note on response time. Avoid publishing personal home addresses; use a business address or PO box if applicable.
  6. Set the page’s permalink. In the page settings sidebar (under the Document tab), check the URL slug. Short slugs like /contact/ are easier to share and remember.
  7. Publish the page. Click Publish. If you want to review it first, use Preview. After publishing, click “View Page” to confirm the form displays correctly.
  8. Add the page to your menu. Go to Appearance > Menus (or the Site Editor’s Navigation block in block themes). Add the Contact page to your primary menu and save. This makes the page reachable from every page of your site.
  9. Test the form. Submit a test message using your own email address. Confirm that the submission arrives in the recipient inbox and that the sender sees a confirmation message. Check the spam folder if it does not arrive.
  10. Set up spam protection and deliverability. Enable your plugin’s spam protection (Akismet, reCAPTCHA, or a honeypot). Install an SMTP plugin (e.g., WP Mail SMTP) if emails are not being delivered reliably; WordPress’s default mail function often fails on shared hosting.

Common Mistakes

  • Forgetting to test the form. Many contact forms are published without a test submission, so delivery failures go unnoticed. Always send a test message and confirm it arrives.
  • Using a “From” address on a free email service. Sending from a Gmail or Yahoo address can cause messages to be marked as spam. Use an address on your own domain and authenticate it with SPF/DKIM records via your SMTP provider.
  • Not adding the page to the menu. A published page is not automatically linked in navigation. Add it to the menu so visitors can find it.
  • Overcomplicating the form. Asking for too many fields (phone, company, budget, etc.) reduces submissions. Start with name, email, and message.
  • Ignoring privacy requirements. If you collect personal data, add a privacy notice and a consent checkbox where required by law (e.g., GDPR). Link to your privacy policy.
  • Leaving the default “Hello world!” or sample content. Remove placeholder text and ensure the page looks intentional on mobile as well as desktop.

Tips

  • Keep the form short and the page focused. A single clear call to action works better than multiple competing options.
  • Use a dedicated email address for form submissions and set up a filter or label so you can respond promptly.
  • Display an alternative contact method (phone or email link) for visitors who prefer not to use forms.
  • Check the page on a phone: form fields should be large enough to tap, and the layout should not require horizontal scrolling.
  • Review spam settings periodically. Overly aggressive filters can block legitimate messages; overly lax settings let spam through.
  • If you change themes or plugins, re-test the form to make sure it still displays and sends correctly.

Troubleshooting

  • Form does not appear on the page: Check that the form block or shortcode is correctly inserted and that the plugin is active. If using a shortcode, confirm the ID matches the form you created.
  • Emails are not arriving: Install an SMTP plugin and configure it with your email provider’s settings. Check spam folders, and verify the recipient address in the form settings. Some hosts block PHP mail; SMTP bypasses this.
  • Form submits but shows an error: This is often a plugin conflict or a caching issue. Temporarily deactivate other plugins to identify the cause, and clear any caching plugin or server cache.
  • Too much spam: Enable CAPTCHA or a honeypot field, and consider a spam-filtering service. Avoid using only a simple math question, which bots can solve.
  • Page looks broken on mobile: Check the form’s width settings and your theme’s responsive behavior. Some form plugins have mobile-specific options; test after each change.
  • Menu link missing: Confirm the page is published and assigned to the correct menu. In block themes, edit the Navigation block and add the page.

Frequently Asked Questions

Do I need a plugin to add a contact form in WordPress?

Not always. Some block themes and form blocks allow basic forms without a separate plugin. However, most sites use a plugin for reliable delivery, spam protection, and field customization.

Why are my contact form emails going to spam?

Common causes include sending from a free email address, missing SPF/DKIM authentication, or using the host’s default mail function. Using an SMTP plugin with your domain’s email service usually fixes this.

Can I add a contact page without a form?

Yes. You can publish a page with your email address, phone number, and physical address. A form is optional but often more convenient for visitors and reduces exposed email addresses.

How do I stop spam submissions?

Enable CAPTCHA (reCAPTCHA or hCaptcha) or a honeypot field in your form plugin. Services like Akismet can also filter spam. No method blocks all spam, so review submissions periodically.

Is a contact page required by law?

Requirements vary by country and business type. Some jurisdictions require certain contact details on websites (e.g., imprint requirements in parts of Europe). Check local regulations or consult a qualified professional.

Will my contact page be indexed by search engines?

By default, published pages can be indexed. If you prefer, use an SEO plugin to set the page to noindex, though most businesses want their contact page to appear in search results.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions