Tweaks

Hide WordPress DNS Prefetch

What Is WordPress DNS Prefetch META?

WordPress automatically adds DNS Prefetch META Tags to your website’s source code. These tags help pre-load resources from external WordPress domains to speed up connections.

<link rel="dns-prefetch" href="https://w.org">
<link rel="dns-prefetch" href="https://wordpress.org">

However, these tags can unintentionally expose your site’s use of WordPress, making it more vulnerable to attacks. Disabling them improves security by masking WordPress-related footprints.

This tutorial explains how to enable the Hide WordPress DNS Prefetch META Tags feature in WP Ghost to make your site more secure.

Why Hide WordPress DNS Prefetch META?

  • Enhanced Security: Prevents attackers from identifying your website as a WordPress site.
  • Reduced Exposure: Removes references to external WordPress domains, making your site less likely to be targeted.
  • Better Privacy: Eliminates unnecessary requests to WordPress servers.

With this setting enabled, your website will no longer display DNS prefetch tags pointing to WordPress, adding an extra layer of protection against malicious attacks.

Hide WordPress DNS Prefetch META Tags

  1. Go to WP Ghost > Tweaks > Hide Options.
  2. Switch on the Hide WordPress DNS Prefetch META Tags option to remove the WordPress DNS Prefetch METAs.
  3. Click the Save button to apply the changes.
John Darrel

Change Database Prefix in WordPress

Because hackers often use bots to search for security flaws in your website, it is…

1 year

Customize WordPress Uploads Directory

The easiest way to change the default media uploads path is to use the WP…

1 year

WP Ghost and WP Rocket Cache

To hide all CSS and JS you need to follow the steps to Combine the…

1 year

Why is website security important?

https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…

1 year

Is WordPress Website Easily Hacked?

The security of your WordPress site depends on multiple factors, such as the strength of…

1 year

Setting up Two-Factor Authentication (2FA) for WordPress Using Mobile Apps

When you enable two-factor authentication (2FA) for your WordPress website, it adds an extra layer…

1 year