WordPress SEO Keyword and Description without any Plugin

I don’t like much third party plugins, below I described how to add  SEO basic description and keywords meta tags without any additional plugin load.

  1. Login to WordPress admin and  create new post/page, below snap I am creating new page.                                                                    create-page
  2. In the right top , click screen options button and enable custom fields option. custom-field
  3. Create new custom field description and keywords  for the page then save and publish the page.                                                                     description-keywords
  4. Go to theme  function.php file through ftp or admin theme editor and add below function

that’s it enjoy basic SEO without additional plugin, see below page source code in the browser, our description and keywords meta tags added successfully.


For advance you can extend the same function by adding more tags like below (added for social media).