Remove WordPress Version Numbers

Every time you login to your WordPress Dashboard, you should install any updates it says are available (Dashboard -> Updates). There are automated programs that look for older, exploitable versions of WordPress for them to hack, so you want to make discovering the version number of your WordPress as difficult to find as possible. When on your website, if you right click and choose “View Source” you’ll notice some code that says:

<meta content="WordPress 3.4.2" name="generator" />

Go into Appearance -> Editor and look for functions.php. Add the following code before the ?> ending:

// remove version number from head & feed
function disable_version() {
    return '';
}
add_filter('the_generator', 'disable_version');
remove_action('wp_head', 'wp_generator');

now save changes, and reload the page. When you View Source now, it should now be gone.

Latest Posts

Starting In Victoria Bc

This is our origin story, how One Day Website started in Victoria, British Colombia. For those unfamiliar, we’re on the southern tip of Vancouver island, a 90 minute ferry ride from Vancouver. I’d lived in Victoria for many years, had built many websites for myself, but I never considered doing it professionally.

Building Your Business Website

When building your website, it’s a bit overwhelming, and you’ve likely been recommended a certain provider that is as cheap and easy as possible. Like everything in business, you have to choose if you’d rather spend time, or money on building out your website. This post goes over the questions you should ask, no matter which provider you choose.

Website Colour Schemes

Colour Theory