SlideShare a Scribd company logo
1 of 26
WordPress Hosting Best
Practices
Powered By,
HostDime India
Premier Global Data centers
1. Introduction to WordPress Hosting
● Once you have decided to build a new website, you will need
a platform who can manage your website content and Data
management.
● WordPress is well-known Website/blogging platform for
content management and website building.
● To install WordPress, you need a place to store your
Website Content.
2. Things to consider while choosing
WordPress Hosting
● Technical support
● Hosting Cost and renewal Price
● Uptime and reliability
● Control Panel
● Upgrade Options
● Security
● Backup
● Migration Services
● Customer reviews and Reputation
● Additional features - CDN Free Plugins, Performance Suggestions
3. Types of Web Hosting Environments
● Free WordPress Hosting
● Shared WordPress Hosting
● VPS WordPress Hosting
● WordPress Dedicated Server Hosting
● Managed WordPress Hosting
Managed WordPress Hosting Containers
● Environment will be pre-installed with plugins and accelerators to favor the Wordpress
Hosting Exclusively.
● Hosting providers handle the hosting setup server optimization and management.
● Supercharged Speed
● Expert Support
● Powerful Security
● Backups
● WP Caching And CDN
4. Comparing web hosting stacks ( Linux /
Windows )
● LAMP/WAMP Dev Stack
● L/W – Linux/Windows, the operating system
● A – Apache, the Web server
● M – MySQL, the database management system
● P – PHP, Python, or Perl, the scripting language.
● What’s the Difference?
Point of Interest
● Affordability
● Security
● Smoother Operation
● Flexibility
● Use within Enterprises?
5. Boosting WordPress performance - Hardware &
Software ( Tuning Apache / MySQL / PHP )
● WordPress Load Time
Website Load time - a metric that can take your website to the next level
● How to check your Website Speed?
https://tools.pingdom.com
● Full of technical stuff and metrics
What slows it down?
● Webhost Server
● WordPress Configuration
● Page Size
● Bad Plugins
● External scripts
WordPress Cache
● Page generation are dynamic, so as concurrent visit increases, the site performance declines.
● Caching reduces multiple-page generation
● Popular Cache plugins are WP Super Cache, W3 Total Cache etc..
Optimize
● based on the image file format and the compression
● Image formats
● WP Smush, Lazy Load
Other Wordpress Performance Tips
● Keep Your WordPress Updated
● Use Excerpts on Homepage and Archives
● Split Comments into Pages
● Use a Content Delivery Network (CDN)
● Don’t Upload Videos Directly to WordPress
● Use a Theme Optimized For Speed
● Use a Faster Plugin for front end like Slider or gallery
● Split Long Posts into Pages
● Reduce External HTTP Requests
● Reduce Database Calls
● Optimize WordPress Database
● Limit Post Revisions
● Disable Hotlinking and Leaching of Your Content
Apache/PHP/MySQL Optimizations
● MySQL Tweaks
● Apache Event Configurations
● PHP Accelerators - Memcached, Varnish, redis
● WordPress Page Caching configuration
6. Handling Server Security
1. Use strong passwords for MySQL database user.
2. Use strong passwords for admin logins. If possible set an admin username other than using admin
3. Create robots.txt and deny access to defined pages.
4. Create Mod-sec rules for filtering incoming traffic and prevent DDoS
5. Set password protection for wp-admin folder.
6. Deny all IPs in .htaccess except for the admin user.
7. Update the wordpress, its related plugins and themes.
8. Enable Captcha for admin page, comment forums, contact forms for avoiding brute force attacks.
9. Use SFTP for file transfer
10. Block access to wp-config.php
11. iThemes Security plugin can help you change your login URLs. Like so:
Change wp-login.php to something unique; e.g. my_new_login
Change /wp-admin/ to something unique; e.g. my_new_admin
Change /wp-login.php?action=register to something unique; e.g. my_new_registeration
12. Set permissions for files and folders.
Default : Files: 644
Folders : 755 (Avoid using 777)
13.Disable directory listing :
Options All -Indexes >> Adding in .htaccess
14. Finally, backup website regularly.
7. Server Side Errors
● Check for the permissions and ownership of files and folders.
● Check for any invalid entries in the .htaccess file. Rename the file.
Make sure that you go to Settings » Permalinks and click the save button. This will generate a
new .htaccess file for you with proper rewrite rules to ensure that your post pages do not return
a 404.
● Check for any heavy resource usage by the website in the server. If so, optimise the website
and use the suitable php version.
● Check for any invalid php.ini file in the root directory
● Check for memory_limit.
● Deactivate the plugins. if not check for themes.
● Reupload the core files from wp-admin and wp-includes.
Server-side Security Measures
● Change default ssh port
● Disable root login with authentication. Instead go for ssh key.
● Kernelcare
● Hardware-level Vulnerabilities.
● Use of SSL.
8. WordPress Backup & Recovery - Server Side.
● If the server is having control panel, we can take backups of accounts
with the wordpress installation by scheduling.
● Daily/Weekly/Monthly Backups.
● If control panel is not installed, we can write bash scripts to take backup
manually.
● If the wordpress is installed using Softaculous, within softaculous backup
option is available.
Any Questions...?
Thank you…!

More Related Content

What's hot

wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
Arun Janarthanan
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
drupalcampest
 
Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization
paudelvinay
 

What's hot (20)

Ui perf
Ui perfUi perf
Ui perf
 
Speeding Up WordPress sites
Speeding Up WordPress sitesSpeeding Up WordPress sites
Speeding Up WordPress sites
 
Tips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 WebsitesTips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 Websites
 
Drupal 7 performance and optimization
Drupal 7 performance and optimizationDrupal 7 performance and optimization
Drupal 7 performance and optimization
 
Performance Optimization in Drupal 8
Performance Optimization in Drupal 8Performance Optimization in Drupal 8
Performance Optimization in Drupal 8
 
Presentation on Instant page speed optimization
Presentation on Instant page speed optimizationPresentation on Instant page speed optimization
Presentation on Instant page speed optimization
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
 
Caching 101
Caching 101Caching 101
Caching 101
 
Ithemes presentation
Ithemes presentationIthemes presentation
Ithemes presentation
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
Launching a WordPress Site 101 (Cincinnati WordPress, August 2015)
Launching a WordPress Site 101 (Cincinnati WordPress, August 2015)Launching a WordPress Site 101 (Cincinnati WordPress, August 2015)
Launching a WordPress Site 101 (Cincinnati WordPress, August 2015)
 
Building low latency java applications with ehcache
Building low latency java applications with ehcacheBuilding low latency java applications with ehcache
Building low latency java applications with ehcache
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
 
Caching 101 - WordCamp OC
Caching 101 - WordCamp OCCaching 101 - WordCamp OC
Caching 101 - WordCamp OC
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
 
Sofia WP User Group Presentation
Sofia WP User Group PresentationSofia WP User Group Presentation
Sofia WP User Group Presentation
 
JS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGJS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTING
 
Understanding Web Cache
Understanding Web CacheUnderstanding Web Cache
Understanding Web Cache
 
Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization
 
Client-side Website Optimization
Client-side Website OptimizationClient-side Website Optimization
Client-side Website Optimization
 

Similar to WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum

Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
ResellerClub
 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
Thomas Weinert
 
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! SiteHow to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
Daniel Kanchev
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
wpnepal
 

Similar to WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum (20)

WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting
WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion HostingWPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting
WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
 
How to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesHow to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websites
 
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
 
Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
 
Learn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 SlidesLearn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 Slides
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website
 
Self vs Managed WordPress Hosting : An In-Depth Comparison [2023]
Self vs Managed WordPress Hosting : An In-Depth Comparison [2023]Self vs Managed WordPress Hosting : An In-Depth Comparison [2023]
Self vs Managed WordPress Hosting : An In-Depth Comparison [2023]
 
wp-config Tips and Tricks
wp-config Tips and Trickswp-config Tips and Tricks
wp-config Tips and Tricks
 
WordPress MU 101
WordPress MU 101WordPress MU 101
WordPress MU 101
 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
 
Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022
 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
Word press beirut 9th meetup march
Word press beirut 9th meetup   marchWord press beirut 9th meetup   march
Word press beirut 9th meetup march
 
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! SiteHow to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
 
WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019
 

Recently uploaded

一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 

Recently uploaded (20)

Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsMira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
 
Call girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girlsCall girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girls
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 

WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum

  • 1. WordPress Hosting Best Practices Powered By, HostDime India Premier Global Data centers
  • 2. 1. Introduction to WordPress Hosting
  • 3. ● Once you have decided to build a new website, you will need a platform who can manage your website content and Data management. ● WordPress is well-known Website/blogging platform for content management and website building. ● To install WordPress, you need a place to store your Website Content.
  • 4. 2. Things to consider while choosing WordPress Hosting
  • 5. ● Technical support ● Hosting Cost and renewal Price ● Uptime and reliability ● Control Panel ● Upgrade Options ● Security ● Backup ● Migration Services ● Customer reviews and Reputation ● Additional features - CDN Free Plugins, Performance Suggestions
  • 6. 3. Types of Web Hosting Environments
  • 7. ● Free WordPress Hosting ● Shared WordPress Hosting ● VPS WordPress Hosting ● WordPress Dedicated Server Hosting ● Managed WordPress Hosting
  • 8. Managed WordPress Hosting Containers ● Environment will be pre-installed with plugins and accelerators to favor the Wordpress Hosting Exclusively. ● Hosting providers handle the hosting setup server optimization and management. ● Supercharged Speed ● Expert Support ● Powerful Security ● Backups ● WP Caching And CDN
  • 9. 4. Comparing web hosting stacks ( Linux / Windows ) ● LAMP/WAMP Dev Stack ● L/W – Linux/Windows, the operating system ● A – Apache, the Web server ● M – MySQL, the database management system ● P – PHP, Python, or Perl, the scripting language. ● What’s the Difference?
  • 10. Point of Interest ● Affordability ● Security ● Smoother Operation ● Flexibility ● Use within Enterprises?
  • 11. 5. Boosting WordPress performance - Hardware & Software ( Tuning Apache / MySQL / PHP ) ● WordPress Load Time Website Load time - a metric that can take your website to the next level ● How to check your Website Speed? https://tools.pingdom.com ● Full of technical stuff and metrics
  • 12. What slows it down? ● Webhost Server ● WordPress Configuration ● Page Size ● Bad Plugins ● External scripts
  • 13. WordPress Cache ● Page generation are dynamic, so as concurrent visit increases, the site performance declines. ● Caching reduces multiple-page generation ● Popular Cache plugins are WP Super Cache, W3 Total Cache etc..
  • 14. Optimize ● based on the image file format and the compression ● Image formats ● WP Smush, Lazy Load
  • 15. Other Wordpress Performance Tips ● Keep Your WordPress Updated ● Use Excerpts on Homepage and Archives ● Split Comments into Pages ● Use a Content Delivery Network (CDN) ● Don’t Upload Videos Directly to WordPress ● Use a Theme Optimized For Speed ● Use a Faster Plugin for front end like Slider or gallery ● Split Long Posts into Pages ● Reduce External HTTP Requests ● Reduce Database Calls ● Optimize WordPress Database ● Limit Post Revisions ● Disable Hotlinking and Leaching of Your Content
  • 16. Apache/PHP/MySQL Optimizations ● MySQL Tweaks ● Apache Event Configurations ● PHP Accelerators - Memcached, Varnish, redis ● WordPress Page Caching configuration
  • 17. 6. Handling Server Security
  • 18. 1. Use strong passwords for MySQL database user. 2. Use strong passwords for admin logins. If possible set an admin username other than using admin 3. Create robots.txt and deny access to defined pages. 4. Create Mod-sec rules for filtering incoming traffic and prevent DDoS 5. Set password protection for wp-admin folder. 6. Deny all IPs in .htaccess except for the admin user. 7. Update the wordpress, its related plugins and themes. 8. Enable Captcha for admin page, comment forums, contact forms for avoiding brute force attacks.
  • 19. 9. Use SFTP for file transfer 10. Block access to wp-config.php 11. iThemes Security plugin can help you change your login URLs. Like so: Change wp-login.php to something unique; e.g. my_new_login Change /wp-admin/ to something unique; e.g. my_new_admin Change /wp-login.php?action=register to something unique; e.g. my_new_registeration 12. Set permissions for files and folders. Default : Files: 644 Folders : 755 (Avoid using 777) 13.Disable directory listing : Options All -Indexes >> Adding in .htaccess 14. Finally, backup website regularly.
  • 20. 7. Server Side Errors
  • 21. ● Check for the permissions and ownership of files and folders. ● Check for any invalid entries in the .htaccess file. Rename the file. Make sure that you go to Settings » Permalinks and click the save button. This will generate a new .htaccess file for you with proper rewrite rules to ensure that your post pages do not return a 404. ● Check for any heavy resource usage by the website in the server. If so, optimise the website and use the suitable php version. ● Check for any invalid php.ini file in the root directory ● Check for memory_limit. ● Deactivate the plugins. if not check for themes. ● Reupload the core files from wp-admin and wp-includes.
  • 22. Server-side Security Measures ● Change default ssh port ● Disable root login with authentication. Instead go for ssh key. ● Kernelcare ● Hardware-level Vulnerabilities. ● Use of SSL.
  • 23. 8. WordPress Backup & Recovery - Server Side.
  • 24. ● If the server is having control panel, we can take backups of accounts with the wordpress installation by scheduling. ● Daily/Weekly/Monthly Backups. ● If control panel is not installed, we can write bash scripts to take backup manually. ● If the wordpress is installed using Softaculous, within softaculous backup option is available.

Editor's Notes

  1. These two types of hosting offer the same level of proficiency. So the type of hosting service you choose greatly depends on what kind of technologies your website needs. For example, if you would like to start a blog with WordPress, or setup an online forum using phpBB, then Linux hosting will be a great choice for you. However, if your website requires specific Microsoft technologies such as MSSQL, you are required to use Windows hosting.
  2. Affordability Linux is budget friendly, especially in the case of startups. While Windows operating system comes with tedious amount of cost as license fee. It is possible to cut your costs with Windows by getting a Windows Server Data Center license and creating a bunch of virtual machines. No matter what you do with Microsoft products, though, you’re using proprietary software that comes at a cost. The backend systems commonly used by IIS web applications also usually cost money. Security Typically startups do not have IT people working for them full-time. That can create a problem because when you’re working with Windows servers, staying abreast of updates can be time-consuming, and there are bad consequences for falling short. Smoother Operation MySQL, Apache and PHP are best used with Linux because that’s the main OS environment in which they were developed. In other words, Windows is just not quite as compatible with these open-source projects. Flexibility Companies often spend a good amount of time planning an upgrade to newer version(s) of IIS, .NET, Visual Studio and SQL Server, while it is easy to work with Linux environment for the ease of its configurations. Use within Enterprises? Linux stack might work well for startups, but is it the right choice for a large enterprise such as a university, government agency, or sizable company? It is, provided it’s the right situation. Large portions of Web giants such as Google and  Amazon run on Linux as well.
  3. Why Speed is important Studies show that from 2000 to 2016, the average human attention span has dropped from 12 seconds to 7 seconds. What does this mean for you as a website owner? You have very little time to show users your content and convince them to stay on your website. A slow website means users will potentially leave your website before it even loads. According to a StrangeLoop case study that involved Amazon, Google, and other larger sites, a 1 second delay in page load time can lead to 7% loss in conversions, 11% fewer page views, and 16% decrease in customer satisfaction How to check Website Speed? Often beginners think that their website is OK just because it doesn’t feel slow on their computer. That’s a HUGE mistake. Since you frequently visit your own website, modern browsers like Chrome store your website in cache and automatically prefetch it as soon as you start typing an address. This makes your website load almost instantly. However, a normal user who is visiting your website for the first time may not have the same experience. In fact, users in different geographical locations will have a completely different experience. This is why we recommend that you test your website speed using a tool like Pingdom. It is a free online tool that allows you to test your website’s speed from different locations Your speed test report will likely have multiple recommendations for improvement. However most of that is technical jargon which is hard for beginners to understand.
  4. The primary causes for a slow WordPress website are: Web Hosting – When your web hosting server is not properly configured it can hurt your website speed. WordPress Configuration – If your WordPress site is not serving cached pages, then it will overload your server thus causing your website to be slow or crash entirely. Page Size – Mainly images that aren’t optimized for web. Bad Plugins – If you’re using a poorly coded plugin, then it can significantly slow down your website. External scripts – External scripts such as ads, font loaders, etc can also have a huge impact on your website performance.
  5. WordPress pages are “dynamic.” This means they’re built on the fly every time someone visits a post or page on your website. To build your pages, WordPress has to run a process to find the required information, put it all together, and then display it to your user. This process involves a lot of steps, and it can really slow down your website when you have multiple people visiting your site at once. That’s why we recommend every WordPress site use a caching plugin. Caching can make your WordPress site anywhere from 2x to 5x faster. Here’s how it works: Instead of going through the whole page generation process every time, your caching plugin makes a copy of the page after the first load, and then serves that cached version to every subsequent user. As you can see in the graphics above, when a user visits your WordPress site, which is built using PHP, your server retrieves information from a MySQL database and your PHP files, and then it’s all put together into a HTML content which is served served to the user. It’s a long process, but you can skip a lot of it when you use caching instead. There are a lot of caching plugins available for WordPress, but we recommend using the WP Super Cache plugin. Check out our step by step guide on how to install and setup WP Super Cache on your WordPress site. It’s not difficult to set up, and your visitors will notice the difference.
  6. Images bring life to your content and help boost engagement. Researchers have found that using colored visuals makes people 80% more likely to read your content. But if your images aren’t optimized, they could be hurting more than helping. In fact, non-optimized images are one of the most common speed issues we see on beginner websites. Before you upload a photo directly from your phone or camera, we recommend that you use photo editing software to optimize your images for web. In their original formats, these photos can have huge file sizes. But based on the image file format and the compression you choose in your editing software, you can decrease your image size by up to 5x. At WPBeginner, we only use two image formats: JPEG and PNG. Now you might be wondering: what’s the difference? Well, PNG image format is uncompressed. When you compress an image it loses some information, so an uncompressed image will be higher quality with more detail. The downside is that it’s a larger file size, so it takes longer to load. JPEG, on the other hand, is a compressed file format which slightly reduces image quality, but it’s significantly smaller in size. So how do we decide which image format to choose? If our photo or image has a lot of different colors, then we use JPEG. If it’s a simpler image or we need a transparent image, then we use PNG. The majority of our images are JPEGs.
  7. MySQL Tweaks Apache Event Configurations Installing and using Memcached Installing and using Varnish Enabling PHP opcode caching WordPress Page Caching configuration