How To Change Email Sender Name on WordPress Site

If your WordPress on Linux site is setup to send emails when users register, forget their passwords, or to send notifications when a new post is published, you may notice the senders email looks a little something like this:
Wordpress <>

This can easily be customized to reflect a different sender name.

From the Linux shell, navigate to /var/www/html/wp-includes and open pluggable.php in your favorite editor. I use vim so my command looks like this:

vim /var/www/html/wp-includes/pluggable.php

Search for the string ‘from_name’. This is done by entering


It should take you to a section that looks like this:

$from_name = 'WordPress';

Change ‘WordPress’ to MyBlog, admin, your name or whatever sender name you’d like to use.

Next, search for the string ‘wordpress@’. This is done entering


There are two areas this needs to be changed.┬áThe line of code displays ‘’ Change ‘wordpress’ to admin, your name or whatever username you’d like to use. Possibly one of your domain email accounts. Keep in mind, this only changes the username@, not the domain name itself.

When finished, emails will be coming from:

YourNameofChoice <>

How To Add Keywords To WordPress Theme Using Tags

Log into Admin panel
On the left-hand navigation menu, navigate to Appearance>Editor
On the right-hand side, find the header.php file
Locate the Title tag
Place the following code just below the title:

<meta name="keywords" content="<?php
$posttags = get_the_tags();
if ($posttags) {
  foreach($posttags as $tag) {
    echo $tag->name . ', '; 
?>how to" />

I placed a generic tag “how to” at the end to avoid trailing my keywords with a lonely comma. My blog is mostly a How-To so it’s appropriate.

Then, press the “Update File” button.

To see the changes, view your post. Once it’s open, go to the Tools section in your browser and select View Source.

Your header area should display your keywords below your title area as such:

<meta name="keywords" content="add, function, keywords, tags, theme, wordpress, how to" />