WordPress Help

Set up meta tags in WordPress

Browsers and search engines use meta tags to gain information about your website. Follow the steps below to manually add meta tags to your WordPress site by editing theme files.

Note: If you want to add only a meta title and description, here's how to do it with a plugin without the need to edit theme files.
Required: Making changes to your theme directly will become problematic if your theme developer updates the theme. To ensure your changes survive an update, you must set up a child theme.
  1. Connect to your site with FTP or File Manager.
  2. Go to the wp-content/themes folder.
  3. Find and enter the folder with your active theme.
  4. Open the header.php file.
  5. Under <header> tag, place the meta tags you want to use on your site. You can find examples of the most commonly used meta tags here.
  6. Save the file.
  7. (Optional) To check if the meta tags were added successfully, visit your site in a browser and Press Ctrl+U for Windows (or Command+Option+U for macOS) to view the source code.

More Info