How to Add Keywords in WordPress Without Plugins


Home › Knowledge Centre › How to Add Keywords in WordPress Without Plugins

Keywords In WordPress Without Plugins means adding search terms to your website without using an SEO plugin. You can do this by placing your main keyword in the page title, URL, headings, opening text, image alt text, and useful links. 

You can also add a meta keywords tag with code, but Google does not use that tag for rankings. This guide shows both methods, explains what matters, and helps you make safe changes in WordPress.

What Are Keywords in WordPress?

Keywords are the words and phrases people type into search engines when looking for information, products, or services.

For example, if someone wants to find a website design company, they may search for:

  • Website design company
  • Professional website design services
  • Affordable website designers
  • Website development services

These are examples of SEO keywords.

When you add these words naturally to your WordPress pages, you help search engines understand what your content is about.

There are two main types of keyword usage:

1. SEO keywords: These are the search terms you use in your page title, headings, URLs, content, image descriptions, and internal links.

2. Meta keywords: These are keywords added inside an HTML meta tag in the page code. They are not visible to website visitors.

It is important to understand that Google does not use the meta keywords tag as a ranking signal. Therefore, your main focus should be on using relevant SEO keywords in your website content.

Can You Add Keywords in WordPress Without Plugins?

Yes, you can add SEO keywords to WordPress without installing any plugins.

WordPress allows you to edit your page titles, headings, URLs, content, images, and links directly from the dashboard.

You can also add custom PHP code to your website to create additional meta tags.

Here are some places where you can add keywords without an SEO plugin:

  • Page title
  • H1 heading
  • H2 and H3 headings
  • URL slug
  • First paragraph
  • Main content
  • Image alt text
  • Internal links
  • Meta description through custom code
  • Meta keywords through custom code

You do not need an SEO plugin for basic keyword placement.

How to Add SEO Keywords in WordPress Without Plugins

Let's understand each method step by step.

1. Add Your Main Keyword to the Page Title

The page title is one of the first places where you should use your main keyword.

It tells visitors and search engines what your page is about.

For example:

Main keyword: Add Keywords In WordPress Without Plugins

Example page title: How to Add Keywords in WordPress Without Plugins

To edit the page title:

  1. Open your WordPress dashboard.
  2. Go to Posts or Pages.
  3. Select the page you want to edit.
  4. Click on the title field.
  5. Add your main keyword naturally.
  6. Click Update or Publish.

Do not repeat your keyword many times in the title.

Keep it clear and useful for readers.

2. Add Keywords to Your H1 Heading

The H1 heading is the main heading of your page.

It helps readers understand the main topic of your content.

For example:

H1: Add Keywords In WordPress Without Plugins

Try to use one clear main heading for your page.

Your H1 should explain the topic in simple words.

Avoid adding unrelated keywords just to increase keyword usage.

3. Add Keywords to Your H2 and H3 Headings

Subheadings help divide your content into smaller sections.

They also help readers find the information they need.

You can use related keywords in your H2 and H3 headings.

For example:

H1: Add Keywords In WordPress Without Plugins

H2: How to Add SEO Keywords in WordPress

H2: How to Add Meta Keywords Using PHP

H2: How to Add Keywords to WordPress Pages

H2: Common WordPress Keyword Mistakes

Use related keywords only when they match the information in that section.

4. Add Your Main Keyword to the URL Slug

A URL slug is the part of your web address that comes after your domain name.

For example:

Website URL:

https://example.com/add-keywords-wordpress-without-plugins/

A short and clear URL helps visitors understand the page topic.

To change the URL slug:

  1. Open your WordPress post or page.
  2. Find the URL or permalink settings.
  3. Click the slug field.
  4. Add a short version of your main keyword.
  5. Save or update the page.

Avoid long URLs with unnecessary words and numbers.

If your page is already published and indexed, do not change its URL without planning a proper 301 redirect.

5. Add Keywords to the First Paragraph

Your opening paragraph should explain the main topic.

Try to include your primary keyword naturally near the beginning of the content.

For example:

"If you want to improve your WordPress SEO, you can add keywords to your website without installing additional plugins. WordPress allows you to edit titles, headings, URLs, and page content directly from your dashboard."

This makes the topic clear to readers.

Do not force your keyword into every sentence.

6. Add Related Keywords to Your Main Content

Using only one keyword throughout an article is not a good content strategy.

You should also include related search terms that help explain the topic.

For example, if your primary keyword is "Add Keywords In WordPress Without Plugins", related keywords may include:

  • WordPress SEO without plugins
  • Add SEO keywords to WordPress
  • WordPress keyword placement
  • Add meta keywords in WordPress
  • WordPress SEO settings
  • WordPress custom fields
  • WordPress meta tags

Use these phrases where they make sense.

Write for people first. Your content should answer their questions instead of repeating keywords.

7. Add Keywords to Image Alt Text

Image alt text describes an image for people who cannot see it and helps search engines understand the image.

For example:

Image: WordPress dashboard showing the post editor.

Good alt text: WordPress post editor showing keyword placement settings.

To add alt text:

  1. Open your WordPress dashboard.
  2. Go to Media.
  3. Select your image.
  4. Find the Alternative Text field.
  5. Write a short description of the image.
  6. Save your changes.

Use keywords only when they accurately describe the image.

Do not use the same keyword in every image's alt text.

8. Add Keywords to Internal Links

Internal links connect one page of your website to another.

They help visitors find related information and help search engines discover your website pages.

For example, if you have an article about WordPress SEO, you can link to another article about keyword research.

Example:

"Learn how to perform effective keyword research before creating your website content."

Here, the linked text should describe the page being linked to.

This is called anchor text.

Use natural and meaningful anchor text instead of repeating the same keyword in every internal link.

How to Add Meta Keywords in WordPress Without a Plugin

If you specifically want to add a meta keywords tag to your WordPress website, you can do it using PHP code.

This method is useful when a client, internal tool, or another system requires a meta keywords tag.

However, remember that adding this tag will not improve your Google rankings.

Let's understand the process.

Step 1: Create a Child Theme

Before adding code, create a child theme.

A child theme allows you to make changes without directly editing your main theme files.

This is important because theme updates can overwrite changes made to the original theme.

You can create a child theme using your hosting file manager or FTP.

Step 2: Open the functions.php File

Follow these steps:

  1. Open your WordPress dashboard.
  2. Go to Appearance.
  3. Open Theme File Editor, if available.
  4. Select your child theme.
  5. Find the functions.php file.

You can also edit this file using your hosting control panel.

Important: Always create a backup before editing PHP files.

Step 3: Add the PHP Code

Add the following code to your child theme's functions.php file:

add_action('wp_head', 'custom_wordpress_meta_keywords');

function custom_wordpress_meta_keywords() {

    if (!is_singular()) {
        return;
    }

    $keywords = get_post_meta(
        get_queried_object_id(),
        'meta_keywords',
        true
    );

    if (!empty($keywords)) {
        echo '<meta name="keywords" content="' .
            esc_attr($keywords) . '">' . "\n";
    }
}

Let's understand what this code does.

  • add_action('wp_head') tells WordPress to run the function inside the page head.
  • is_singular() checks whether the visitor is viewing an individual post or page.
  • get_post_meta() collects the keyword value saved for that page.
  • esc_attr() safely prepares the value for use inside an HTML attribute.
  • The final line prints the meta keywords tag.

This code does not automatically choose keywords for your pages. You need to add them manually.

Step 4: Add Keywords to Individual Posts

Now you need to add keywords to each post or page.

Follow these steps:

  1. Open the WordPress post editor.
  2. Click the three-dot menu in the top-right corner.
  3. Open Preferences.
  4. Find the Custom Fields option, if available.
  5. Enable Custom Fields.
  6. Return to the post editor.
  7. Find the Custom Fields section.
  8. Add a new field named meta_keywords.
  9. Enter your keywords separated by commas.
  10. Update the post.

Example:

Field name: meta_keywords

Field value: WordPress SEO, WordPress keywords, add keywords without plugins

The PHP code will read this value and add it to the page head.

Note: The Custom Fields option and its location may vary by WordPress version and editor setup. If it is unavailable, you can use another method to add post metadata.

How to Check Whether Meta Keywords Have Been Added

After adding the PHP code and custom field, you should check whether the tag is working.

Follow these steps:

  1. Open the published WordPress page.
  2. Right-click anywhere on the page.
  3. Select View Page Source.
  4. Press Ctrl + F.
  5. Search for meta name="keywords".

You should find something similar to this:

<meta name="keywords" content="WordPress SEO, WordPress keywords, add keywords without plugins">

If you can see this code inside the page source, the meta keywords tag has been added.

Remember, seeing the tag in your page source does not mean Google will use it for ranking.

How to Add a Meta Description Without a Plugin

A meta description is a short summary of your page.

It can help visitors understand what your page offers before clicking your search result.

Unlike meta keywords, Google supports the meta description tag. However, Google may choose a different description from your page content when showing search results.

You can add a meta description using a custom field and PHP code.

Step 1: Add a Custom Field

Open your WordPress post editor.

Create a custom field with the following details:

Field name: meta_description

Field value: Learn how to add SEO keywords in WordPress without plugins using simple steps and manual PHP code.

Step 2: Add the PHP Code

Add this code to your child theme's functions.php file:

add_action('wp_head', 'custom_wordpress_meta_description');

function custom_wordpress_meta_description() {

    if (!is_singular()) {
        return;
    }

    $description = get_post_meta(
        get_queried_object_id(),
        'meta_description',
        true
    );

    if (!empty($description)) {
        echo '<meta name="description" content="' .
            esc_attr($description) . '">' . "\n";
    }
}

This code checks the custom field and prints the description inside the page head.

Make sure your theme or another SEO tool is not already generating a meta description. Duplicate meta descriptions should be avoided.

Common Mistakes to Avoid When Adding Keywords in WordPress

Adding keywords is easy, but some mistakes can affect your website's SEO quality.

Here are some common mistakes to avoid.

1. Keyword Stuffing

Keyword stuffing means using the same keyword too many times.

For example:

"WordPress SEO is important for WordPress SEO. Use WordPress SEO to improve WordPress SEO."

This makes the content difficult to read.

Use your keywords naturally.

2. Using the Same Keywords on Every Page

Every page should have a clear purpose.

Do not add the same list of keywords to all your website pages.

Choose keywords based on the topic and search intent of each page.

3. Adding Unrelated Keywords

Never add keywords that do not match your content.

For example, a blog about WordPress SEO should not include unrelated keywords about mobile phones or fashion.

Your keywords should always match the information on the page.

4. Editing the Main Theme Directly

If you add custom PHP code to your main theme, a theme update may remove your changes.

Use a child theme or another suitable method for managing custom code.

5. Adding Duplicate Meta Tags

If your theme or another tool already generates a meta description, adding another one can create duplicate tags.

Check your page source before adding new code.

6. Forgetting to Test Your Code

A small PHP error can cause problems on your website.

Always create a backup and test your code on a staging website before using it on your live website.

Best Practices for SEO, AEO and GEO in WordPress

Modern search is not only about placing keywords in your content.

Your website should provide clear and useful information that people and search systems can understand.

Here are some useful practices.

1. Answer Questions Directly

Start important sections with a simple answer.

For example:

Question: Can I add SEO keywords in WordPress without plugins?

Answer: Yes. You can add SEO keywords by editing your page title, headings, URL, content, images, and internal links directly in WordPress.

This format can make your content easier to understand and extract.

2. Use Question-Based Headings

People often search using questions.

You can include headings such as:

  • How do I add keywords to WordPress?
  • Can I add keywords without Yoast SEO?
  • How do I add meta keywords manually?
  • Where should I place SEO keywords?

Answer each question clearly.

3. Use Simple and Clear Language

Avoid long sentences and difficult words.

Explain technical terms with simple examples.

For example, explain that a URL slug is the last part of a website address.

This helps beginners understand your content.

4. Add Relevant Structured Data

Structured data helps search engines understand specific information on your page.

For example, you may use Article schema for a blog post and BreadcrumbList schema for website navigation.

Your structured data must match the actual content of the page.

Do not add schema only to include more keywords.

5. Show Experience and Expertise

Write from real knowledge and practical experience.

Include:

  • Real WordPress screenshots.
  • Tested code examples.
  • Clear instructions.
  • Common problems and their solutions.
  • References to official WordPress and Google documentation.

At Digital Lead Metrics, a practical SEO approach should focus on useful content, clear website structure, and correct technical implementation rather than simply adding more keywords.

WordPress Keyword Placement Checklist

Before publishing your WordPress page, check these points:

SEO Element What to Check
Page title Main keyword included naturally
H1 heading Clearly explains the topic
H2 headings Related keywords used where relevant
URL slug Short and descriptive
Introduction Main topic explained early
Main content Useful information and related terms
Image alt text Describes the actual image
Internal links Links to relevant website pages
Meta description Unique and relevant
Meta keywords Only if another system requires them
Structured data Accurate and relevant
Readability Simple and easy to understand
Technical SEO No duplicate or broken tags

Use this checklist before publishing every important page.

Conclusion

Adding keywords in WordPress without plugins is simple. You can use your main keywords in page titles, headings, URLs, content, image alt text, and internal links directly from your WordPress dashboard.

If you need a meta keywords tag, you can also add it using custom fields and PHP code.

However, remember that Google does not use the meta keywords tag for rankings. Focus on helpful content, natural keyword placement, good internal linking, and a clear website structure.

Digital Lead Metrics recommends focusing on real SEO improvements instead of spending time on outdated keyword practices. A good keyword strategy starts with understanding what people search for and giving them the right information.

Frequently Asked Questions

1. How do I add keywords in WordPress without plugins?

Open your WordPress dashboard and edit your post or page. Add your main keyword naturally to the page title, H1 heading, URL, introduction, headings, and main content. You can also add descriptive image alt text and internal links without installing any SEO plugin.

2. Can I add keywords to WordPress manually?

Yes. WordPress allows you to add keywords manually through its post and page editor. You can also use custom fields and PHP code to add certain meta tags to your website.

3. Does WordPress automatically add meta keywords?

No. Standard WordPress installations do not automatically generate a meta keywords tag. You need custom code or another suitable method if you specifically require this tag.

4. Does Google use meta keywords for SEO?

No. Google does not use the meta keywords tag for indexing or ranking websites. You should focus on relevant page content, titles, headings, and other useful SEO practices.

5. How many keywords should I use on a WordPress page?

There is no fixed number of keywords that every page must use. Choose one main topic and use relevant related terms naturally. Your content should answer the visitor's question without repeating keywords unnecessarily.

6. Can I add keywords to WordPress without Yoast SEO?

Yes. You do not need Yoast SEO to add keywords to your WordPress content. You can edit titles, headings, URLs, images, and text directly through the WordPress dashboard.

7. How do I add meta keywords using PHP?

You can use the WordPress wp_head action to print a meta keywords tag in the HTML head. You can also use get_post_meta() to collect keywords stored in a custom field for each post.

8. How do I check keywords in WordPress page source?

Open your published page, right-click, and select View Page Source. Press Ctrl + F and search for your keyword or the relevant meta tag. This lets you check whether your custom code has generated the expected HTML.

9. Can I add keywords to WordPress images?

Yes. You can add descriptive alt text to images through the WordPress Media Library or image block settings. Use words that accurately describe the image instead of forcing unrelated keywords into the alt text.

10. Can I do WordPress SEO without plugins?

Yes. You can manage many basic SEO tasks manually, including keyword placement, page titles, headings, URLs, internal links, image alt text, and certain meta tags. However, advanced SEO tasks may require additional technical work.

11. Should I add the same keywords to every WordPress page?

No. Each page should focus on its own topic and search intent. Using the same keyword list everywhere can make your content less relevant and create unnecessary repetition.

12. Is it safe to edit the functions.php file?

Yes, if you know what you are doing and use the correct code. However, an incorrect PHP change can cause website errors. Always create a backup and test your changes on a staging website before publishing them.

13. Can I add meta descriptions without an SEO plugin?

Yes. You can create a custom field for each post and use PHP code to print its value as a meta description. Check that another theme feature or SEO tool is not already generating the same tag.

14. Do keywords in headings help SEO?

Relevant words in headings help visitors and search engines understand the page structure and topic. Use clear headings that match the information in each section rather than adding keywords only for SEO.

15. What is the difference between SEO keywords and meta keywords?

SEO keywords are search terms used naturally in page content, headings, titles, and other relevant areas. Meta keywords are terms stored in an HTML meta tag. The two are different, and Google does not use the meta keywords tag for rankings.

About Digital Lead Metrics

Digital Lead Metrics focuses on practical digital marketing and SEO strategies that help businesses improve their online visibility. By following useful SEO practices, website owners can build better content, improve website structure, and create a stronger experience for their visitors.

Let's Grow Together

Ready to grow your business online?

Let's build a digital marketing strategy designed around your goals, audience and growth opportunities.

Get a Free Strategy →
Digital Lead Metrics

Visit or contact our Massachusetts team.

Talk with the team about social media marketing, content strategy, paid social campaigns, audience engagement or a complete digital strategy.

📍 300 W Main St. Suite A-4, Northborough, MA 01532
Get Directions →