Content Delivery Network (CDN) is a great idea to speed up your website. Using CDN will definitely increase your website speed, giving better performance to end users and search engine bots as well. In the previous articles, I have told you that the speed of your website will affect your search engine ranking. Google and Yahoo have already stated that they will not allow slow loading websites in their search results, this is because they provide good content and a browsing experience to their visitors. It is also our duty to ensure that the website performs well. If you are using WordPress, this article is for you and will help you speed up your blog. content delivery network How to use content delivery network in shared hosting for WordPress.

Content Delivery Network will parallelize downloads across hostnames, which means that every time you request a web page, multiple sub-requests will be generated for the images, scripts, CSS, etc. So it takes longer if you host all images, scripts, and CSS in one domain. Because after processing only the first request, another request will be processed. Thus, it will slow down the page loading time. For that we use the content delivery network (CDN) to speed up downloads via hostnames. I’m not going to use an external and premium content delivery network setup. I’m talking about making your own content delivery network with WordPress on shared hosting for free. Like I said, this will also increase your search engine rankings. How to Set Up Your Own Content Delivery Network (CDN) on Your Free Shared Hosting WordPress Blog:

We have many alternatives for CDN, you can use external CDN, but it is cost effective, I think it costs around $ 10 for professional CDN services. Its performance is really good, it will improve the speed of your website by between 20 and 30%. But if you can’t afford that amount, just choose to create your own CDN with existing domain on WordPress blog using w3 total cache plugin. Follow these steps below to configure the CDN on your blog with the existing domain.

But before proceeding further, you need to back up your entire My SQL database and Directory data. Remember that making a backup is very important, if something goes wrong, you can recover it from the backup, so don’t forget to make a backup. I don’t want to make any mess here like the other sites that are taking completely confusing steps. I was also confused a lot before, but I started working on it on my own and finally did.

Follow these steps below to configure the CDN with the W3 Total Cache plugin in WordPress:

1. We need to follow a step-by-step procedure for things to work properly, so first open your FTP client and log in with your domain FTP user account.

2. Now go to the domain home directory, after that, if you have it. htaccess, please make it writable by temporarily granting 777 permissions.

3. Now open the wp-config file that is present in your home directory and paste the following code there. define (‘ENABLE_CACHE’, true);

4. The above code allows you to use the W3 total cache plugin. Now download the W3 WordPress Total Cache Plugin.

5. Extract compressed directory and upload w3 total cache folder to / wp-content / plugins directory, now login to your WordPress dashboard and activate W3 total cache plugin.

6. Now log into your hosting control panel and create a subdomain with the name of cdn. yourdomain com, after logging into your domain FTP account, you will now see two domains, the first is the root domain and the second is the subdomain.

7. Go to your root domain and download the wp-content folder on your local machine.

8. Now open your subdomain directory on the FTP and upload the wp-content directory.

9. Almost the work on the hosting side and server side is done, now it is time for the configuration part in the W3 Total cache in WordPress.

10. Go to WordPress settings tab, select W3 Total Cache and under General Settings tab now enable Page Cache feature and Select Enhanced Disk Method.

11. Now select the minimize option and select the disk method. Only use disk method if you use shared hosting, in case you have VPS or dedicated type plan then you can use the different methods.

12. And select your Content Delivery Network (CDN) as Self-Hosted / File Transfer Protocol Upload.

13. In the page cache settings, select the compression method like Gzip and Deflate, this will reduce the size of your page and load it faster. Save the configuration.

14. Now go to CDN Settings and select active theme files from Host, you can use themes and even wp-include files too. But using wp-include files sometime gives errors.

15. After that, select Force overwrite existing files and click Save Changes.

16. Now you can see the FTP settings below it. There you need to provide your web hosting FTP settings, first your hosting FTP hostname, username and password.

17. Provide the FTP path as / cdn. Your domain. com. And provide Replace site hostname with cdn. Your domain. com. Please see the image below.

18. Now click Save Changes, then try Flush All Cache, this will create a new Cache page with all changes made.

19. Now just try to open your website, you can see a dramatically improved website. This works for me, and I’m sure it will work for you too.

Any problem please send me to arafath[at]solvater.com. Implementing this idea is very essential because it will increase your ranking and visibility in search engines.