Do you want to remove the WordPress version number from your website?
Many believe that removing the WordPress version number from your website’s source code can prevent some common online attacks.
In this article, we’ll show you how to easily remove WordPress version number the right way.
Why Remove WordPress Version Number?
By default, WordPress leaves its footprints on your site for the sake of tracking. That is how we know that WordPress is the top website builder in the world.
However, sometimes this footprint might be a security leak on your site if you are not running the most updated version of WordPress. It provides the hacker with useful information by telling them which version you are running.
We recommend using the latest version of WordPress on all your websites so you don’t have to worry about this. However, if for some reason you are running an older version of WordPress, then you should definitely follow this tutorial.
It is quite difficult to remove all traces of which WordPress version you are using on your website. A sophisticated attack may still be able to find that information.
However, it will prevent automatic scanners and other less sophisticated attempts from guessing your WordPress version.
That being said, let’s take a look at some ways to easily remove version number from your WordPress website.
Method 1. Remove WordPress Version Number using Sucuri
This method is easier and recommended for all users.
Upon activation, the plugin will automatically hide WordPress version information. You can verify it by visiting Sucuri Security » Settings and switching to the Hardening tab.
Method 2. Manually Remove WordPress Version Information
This method doesn’t work as a new theme update will automatically replace the old template with the new file.
Another commonly recommended, but inefficient method is to put this code in your theme’s functions.php or site-specific plugin:
remove_action('wp_head', 'wp_generator');
This will only remove the information from the WordPress header. The version number will still be visible in your website’s RSS feeds.
The right way to remove WordPress version information is by disabling the function responsible for displaying it.
In order for you to completely remove your WordPress version number from both your head file and RSS feeds, you will need to add the following code to a site-specific plugin or code snippets plugin.
function wpbeginner_remove_version() {
return '';
}
add_filter('the_generator', 'wpbeginner_remove_version');
By adding this code, you will remove the WordPress version number from WordPress RSS feeds and your website’s head section.
Can You Completely Hide WordPress Version?
WordPress may still add the version information in various other places throughout your website. For instance, it is included as the query string in source code for CSS and JS files.
Removing all instances of WordPress version information can be time-consuming, complicated, and may not always work.
From a security perspective, removing the obvious generator tags can protect you from some very common attacks.
However, if someone is determined to break into your website, then hiding your WordPress version number does little to stop this.
You need to implement a proper WordPress security setup in place to make your website more secure. This adds layers of security around your website making it harder to hack into.
One of the biggest concerns new web designers have is whether their skills are still relevant in 2021. As we move into the second decade of the 21st century, we have almost unlimited access to...
The Internet has completely transformed life over the last 20 years so much that it is hard to remember a time without it. Not only has it changed much about life over the previous few...
Many people choose to use WordPress because of how powerful and relatively easy to use it is. It is also one of the best platforms if you want to optimize your web pages. However, if...
WordPress is responsible for powering millions of sites that we see today on the Internet, which has certainly grown exponentially since its birth in 1983. As of March 2021, there are 1.84 billion websites active...
Owning a plumbing business in this digital age entails the need for you to create a solid online presence. In this way, you will be able to promote your services and reach your target market....
Whether you’re writing a blog post or creating new pages on your website, images are essential. Not only do they help capture audience attention and improve user experience, but photographs also offer a valuable SEO...
Today, we will explain the importance of the look of your blog depending on the topic and purpose of the blog itself. When it comes to WordPress, you can often hear the term content layout....
No matter what type of business you might have, you should consider adding a blog to your website. Having a blog is an essential part of any business, and it can have some fantastic benefits...
Due to the impact the Covid-19 pandemic had on the world, the field of design has changed tremendously in the past months. Today we’re experiencing drastic changes in how people do business. As a result,...
Are you looking for a simple way to verify your WordPress site on Pinterest?
Verifying your website on Pinterest will unlock neat features like Pinterest analytics, ads program, stats for your photos, and more.
In this article, we will show you how to easily verify your WordPress site on Pinterest.
Why You Should Verify Your WordPress Site on Pinterest?
Pinterest is one of the most popular social media platforms to share your photos, videos, and other visual content. It allows you to create an account and manage your images like Instagram or Flickr.
It also allows other users to collect website links, and other visual content by creating boards.
If you are running a photography website or any other type of blog with images and videos, then Pinterest can be an important source of traffic.
Verifying your website on Pinterest will help you learn more about your visitors using Pinterest Analytics. You will also be able to participate in their ad program and plan a strategy to grow your Pinterest traffic.
That being said, let’s take a look at how to easily verify your WordPress blog on Pinterest.
How to Verify Your WordPress Site on Pinterest
Before we start, you’ll need to upgrade your Pinterest profile to a business account. This will allow you to use all their Pro tools like analytics, ads program, and more. The Pinterest business account is free and easy to set up.
Ready, let’s get started.
Step 1. Upgrade Your Pinterest Account to Business
First, you need to log into your Pinterest account and click on the down arrow at the top right corner of your screen. Next, click on the ‘Unlock business tools’ option.
On the next screen, you will see a list of features the business account will offer. To use these features, click the ‘Switch to business’ button.
After that, enter your business account details like a profile name, website URL, country, and language. Once you have entered all these details, click the ‘Next’ button.
Pinterest will now ask you to describe your business. You can select an industry from the drop-down menu and pick 3 goals from the given options. After that, click the ‘Next’ button.
Now select an option to get customized recommendations and click the ‘Next’ button.
On the next screen, you can select an option if you are interested in advertising on Pinterest and then click the ‘Next’ button. For the sake of this tutorial, we selected the ‘No, I am not planning to advertise’ option.
Next, Pinterest will show you different options to get started with your business account. You can click the ‘cross’ icon in the top right corner to skip this part.
Step 2. Claim Your Website on Pinterest
The next step is to claim your website on Pinterest.
To do that, you can click on the ‘Claim domain’ button from your Pinterest Business hub page, and it will directly take you to the claim settings page.
Another way to claim your website is by clicking on the down arrow in the top right corner and selecting the ‘Settings’ option. Then head over to the ‘Claim’ section in the left menu.
To get the credit for your content on Pinterest, click the ‘Claim’ button for Websites.
Once you click the button, a popup window will appear with three options to claim your WordPress website.
We are choosing the ‘Add HTML tag’ option because it is the easiest.
However, if you prefer, you can choose the other option where you download the HTML file and upload it to your website’s root directory using an FTP client or your WordPress hosting file manager.
Alternatively, you can also add a verification record to your domain settings using your domain registrar.
Step 3. Add HTML Tag to Your WordPress Website
There are multiple ways to add an HTML tag to your website’s header, but we will only cover the two easiest methods.
AIOSEO is the best SEO plugin for WordPress and makes it very easy to optimize your site for search engines without hiring an expert.
While we recommend the Pro version, you can also use the free version of AIOSEO to add Pinterest verification.
To add the HTML tag, go to All in One SEO » General Settings and then click the ‘Webmaster Tools’ tab from the top menu.
After that, click the ‘Pinterest Site Verification’ block.
Now enter the HTML tag you copied in the previous step in the Pinterest Site Verification field and click the ‘Save Changes’ button.
Aside from using AIOSEO, another way of adding the HMTL tag is by installing and activating Insert Headers and Footers plugin.
Upon activation, you need to visit Settings » Insert Headers and Footers page in your WordPress admin area. In the Scrips in Header section, you need to paste the HTML tag and click on the Save button.
Once the HTML tag is added in your website’s header section, you need to go back to the Pinterest screen and click on the Continue button in the popup.
It will now ask you to enter the URL of your website and then click the ‘Verify’ button.
Once you do that, you will see a message saying ‘Verification in progress.’ Normally, the process takes 24 hours, and you get an email about your website’s verification.
That is it, you have now successfully verified your WordPress website on Pinterest.
Tip: If Pinterest fails to verify after you’ve added the verification code, then it means you need to clear your WordPress cache.
Your company’s website is often the first thing potential customers see when they look up your brand. Therefore, it’s crucial to make an excellent first impression. Unfortunately, if your website is bogged down by slow...
Have you ever wondered why some sites are extra slow? Like, it feels a lifetime has passed until it loads the text and images. Well, that’s because they probably didn’t optimize the pictures the way...
User-generated content is only becoming more popular as time passes. Based on your internet activity, user-generated content is a system of advertising that will take the information you upload (things you search, watch, read, etc.)...
WordPress is the most popular platform for websites. However, it is also the most compromised CMS on the web due to the sheer number of websites. Even if you have basic protection on your website,...
There is a growing need for employees working online from the comfort of their own home or from any other place that suits them more than a classic office. Such employees are not under the...
Do you want to move a site from a WordPress multisite to a single install?
If you run a WordPress multisite network, sometimes, you may need to move one of the websites to its own separate WordPress install.
In this article, we’ll show you how to easily move a site from WordPress multisite to its own single install while preserving SEO rankings and all your content.
Step 1: Getting Started
To move a website from a WordPress multisite network, you’ll need a domain name.
If you already have a domain name where you want to install the single site, then you are good to go.
If you don’t have a separate domain name, you’ll need to register and add a new domain name to your hosting account.
We recommend using Domain.com. They are one of the best domain name registrars in the world and offer beginner-friendly domain management experience.
Important: Since you are going to make some serious changes to your WordPress multisite, it is necessary to create a complete WordPress backup before you do anything else.
Now that everything is set up, let’s move a site from WordPress multisite network to its single install.
Step 2: Exporting a Single Site in WordPress Multisite Network
The built-in WordPress import/export functionality works the same way in multisite as it does on a single site install. We will use the default tools to export the data from a site on a WordPress multisite network.
First, you need to log in to the dashboard of the single site you want to move, and then click on Tools » Export.
Next, you want to ensure all content is checked and click on the Download Export File button.
WordPress will now create an XML file containing all your data and send it to your browser for download.
Be sure to save the file on your computer because you will need it later.
Step 3: Importing Child Site to New Domain
Login to the WordPress admin area on the new location where you want to move your child site and then go to Tools » Import. On the import screen, WordPress will show you a number of import options.
You need to click on the ‘Install Now’ link below ‘WordPress.’
Wait for the importer to be installed and then click on the ‘Run Importer’ link.
On the next screen, you will be asked to upload the WordPress export file you downloaded earlier from the WordPress multisite.
Click on the Choose file button to select the file from your computer and then click on the ‘Upload file and import’ button.
On the next screen, WordPress will ask if you would also like to import users. If you do nothing, then WordPress will import all users. This is recommended if you do not want to change authors.
You will also see the Import Attachments option, and you want to make sure it is checked so that WordPress can download images from your posts and pages.
Don’t worry if it misses out on some or most of your images. You can import them separately afterward.
Click on the ‘Submit’ button to continue.
WordPress will now start importing your content. This will take a few minutes depending on how much content you have. Once it is done, you will see a notification that says ‘All done. Have fun!’
That’s all. You have successfully imported data from a multisite network child site to an individual WordPress install. There are still a few things left to do.
However, if you were using subdomains or directory structures in your WordPress multisite, you need to set up redirection so that users coming to your old URLs are redirected to your new site.
There are two ways to do this. You can set up a redirect using a WordPress plugin (recommended), or you can add some code to your WordPress .htaccess file.
We’ll show you both methods, and you can choose the one that best suits you.
Note: Make sure that your old site on the multisite network and the site on the new domain are both using the same permalink structure.
Method 1. Setting Redirects Using All in One SEO for WordPress
This method is easier and recommended for all users. We’ll be using All in One SEO for WordPress, which is the best WordPress SEO plugin on the market.
It allows you to easily optimize your WordPress site for search engines and comes with powerful features like SEO analysis, custom XML sitemaps, Schema.org support, and a redirects manager.
Note: You’ll need at least the Pro plan to access the Redirection Manager feature.
Next, you need to install and network activate the Redirection Manager addon. You can find it under ‘Downloads’ from your account page on the All in One SEO website.
Once you have network-activated both plugins, you need to switch to the dashboard of the child site.
From here, go to the All in One SEO » Redirects page and switch to the ‘Full Site Redirect’ tab.
First, turn on the Relocate Site option by toggling the switch next to it.
Then, enter your new site’s domain name next to ‘Relocate to domain’ option.
Now click on the Save Changes button to store your settings.
All in One SEO for WordPress will now redirect users to your new domain name.
Method 2. Setting up Redirects using the Redirection Plugin
First, you need to install the Redirection plugin on your WordPress Multisite.
You can Network Activate a plugin, or you can log in as Super Admin on your child site and activate the Redirection plugin for that particular site alone.
After that, you need to visit the admin dashboard of the child site for which you want to set up the redirect.
Redirecting from Subdomain to New Domain
The Redirection plugin makes it super easy to point a domain name to a different one.
Simply go to the Tools » Redirection page and switch to the ‘Site’ tab.
Simply enter your new domain name and then click on the ‘Update’ button to save your settings.
The plugin will redirect all your site users to your new domain name with the correct permalink structure.
The advantage of this method is that you can still log in to the admin area of your old subdomain.
Redirecting from Directory to New Domain
If your multisite uses a directory-based URL structure, then the Redirection plugin makes it easy to redirect it properly to your new domain.
Simply go to the Tools » Redirection page on your sub-site, and then click on the Add New button at the top.
This will take you to Redirection’s setup form. Here is how you need to fill in that form:
This code redirects visitors coming to any page on subdomain.example.com to http://www.example.net. The $1 sign at the end of the destination URL ensures that your users land on the same page they requested.
Redirecting From Directory to New Domain
For directory-based multisite installs, you’ll need to paste the following code in the .htaccess file of your WordPress multisite.
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^childsite/(.*)$ http://example.net/$1 [R=301,L]
This code simply redirects any users coming on http://www.example.com/childsite/ to http://example.net. The $1 makes sure that your users land on exactly the same page or post they requested.
Don’t forget to replace childsite and example.net with the name of your subsite and its new location.
Step 5: Troubleshooting the Migration
Moving a site is not a routine task, so it is likely that you may come across some issues.
1. Export File Too Large – If your WordPress export file is too large, you may fail to import it properly. To fix this, you may need to split large XML file into smaller pieces.
2. Images Not Imported – Another common issue is that images may not import correctly to your new site. To fix this, you can try importing them as external images.
3. Redirects Not Working – If users are not being redirected correctly to your new site, then you need to carefully review your redirect settings. Make sure that your single install and the child site are both using the same Permalinks structure.
We hope this article helped you move a site from a WordPress multisite to a single install. You may also want to review our WordPress SEO checklist for your new install or try these essential WordPress plugins on your fresh site.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
To start this article, we will talk a bit about something called growth hacking. Growth hacking is the process of experimenting through marketing and sales activities to identify the most effective ways to grow a...