WordPress Tutorials, Security Guides & Performance Tips

php performance optimization

How to Optimize PHP Performance for High-Traffic Sites

Quick answer: PHP performance optimization for high-traffic sites comes down to five levers: run a current PHP version with OPcache enabled, add an object cache like Redis, tune PHP-FPM worker limits to your server’s real capacity, cut database query overhead, and profile before you guess. Sites that skip profiling almost always fix the wrong bottleneck first. A PHP site that loads fine for ten visitors can fall apart at ten thousand. The code did not get slower. The bottlenecks that

Continue Reading
Create WordPress Admin User Through FTP

Create WordPress Admin User Through FTP

Hello friends, Today in this article, we will learn how to create WordPress admin users through FTP. FTP will help us to create a WordPress Admin User when we don’t have any other access. You can explore our FTP tutorial if FTP(File Transfer Protocol) is a new thing to you. A few days back, one of my friends asked me if it is possible to create an admin user without Database or WordPress Admin access. I said Yes, of course,

Continue Reading

How to Add Multiple CSS Classes in WordPress

CSS plays an important role in UI/UX Today, we will learn how to add multiple CSS classes using functions. This helps you design each WordPress post differently using specific classes. STEP I:- First, define the classes as an array in the functions.php file inside your child-theme folder. It’s very simple. For Example, use class names like (long-form-article, featured-story, and interactive) for a single Div tag. STEP II:- After defining classes in the functions.php file under the child-theme folder. We have to now

Continue Reading
enable php extensions in cpanel

How to Enable PHP Extensions in cPanel (Step-by-Step Guide)

Quick answer: To enable PHP extensions in cPanel, go to Software > Select PHP Version, tick the checkbox next to the extension you need, and click Save. If the extension you need isn’t in that checklist (some less common ones aren’t), you can install it manually through the PHP PEAR Package manager instead. Most WordPress errors that mention a missing PHP extension, things like “Call to undefined function,” a blank plugin settings page, or a failed image upload, come down

Continue Reading
How to Enable PHP Modules in WHM

VIDEO VERSION: How to Enable PHP Modules via WHM

Hello friends, today we will learn about How to enable PHP modules in WHM(Web Host Manager). WordPress beginners face this problem while importing demo content on a Paid WordPress theme. Sometimes these modules are not installed/activated by default in cPanels that’s why we get the error, so we have to install it manually. Today, we are talking about this general error: PHP Zip Module I hope this article helped you learn about how to Enable PHP Modules in WHM. Please

Continue Reading
How to Enable PHP Modules in WHM

How to Enable PHP Modules in WHM (Complete Guide)

Quick answer: To enable PHP modules in WHM, go to EasyApache 4, click Customize on your active profile, search for the module under the PHP Extensions tab, select it, and click Provision. WHM rebuilds PHP with the new module included, and it becomes available across every account on the server. WHM controls PHP at the server level, not per-account like cPanel’s Select PHP Version. That’s the key difference to understand before you start: enabling a module in WHM makes it

Continue Reading
HTTP ERROR 500

How to resolve “This Page isn’t Working – HTTP ERROR 500”

Hello, friends, today we will learn how to resolve “This Page isn’t Working HTTP ERROR 500”. Last week, we got this error while shifting one of my websites from one server to another. However, there’s no need to worry, WordPress has this common error, and we can easily resolve it. What we have to do is to follow these steps:   1. Deactivate all plugins First, we will try to deactivate all the plugins. Do you know how we can

Continue Reading
php_value memory_limit 512M

Increase WordPress Memory Limit using .htaccess

If you don’t have access to the php.ini file, don’t worry! You can easily increase the PHP memory limit via the .htaccess file. Just copy and paste the following code into your .htaccess file to increase the memory limit. To increase the memory limit, simply add the following line to your .htaccess file, which is usually located in the root directory of your website: php_value memory_limit 256M If you already have this code and nothing will change then try… php_value

Continue Reading
memory_limit 256M

Increase WordPress Memory Limit using php.ini

If you want to Increase WordPress Memory Limit using php.ini, and you have access to your website’s root directory, you can easily do this by editing the php.ini file. Simply add or update this line in your php.ini file to set the memory limit to 256MB: memory_limit = 256M; If you already have this setting but still face memory issues, try increasing the memory limit further by setting it to 512MB in the php.ini file. memory_limit = 512M; By following

Continue Reading
htaccess-http-https

HTTP to HTTPS Redirection Automatically Using .htaccess and web.config

Hello Friends, Today we will learn about “How we can redirect visitors to our HTTP website to HTTPS“. If you have an SSL Secure Certificate installed on your website, you can easily redirect visitors to the secure version of your website(HTTPS) automatically. First, we have to know where your website is hosted. Linux & cPanel If you don’t have an .htaccess file in the root directory of your website, then you have to create a new file. If you don’t

Continue Reading