WordPress Tutorials, PHP 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. [php]?php $custom_classes = array( 'longform-article', 'featured-story', 'interactive', );[/php] STEP II:- After defining classes in the functions.php file

Continue Reading
Customize WP login logo

Customize Logo on WordPress Login/Register Page

Hello Friends! Today, we will show how to customize the Logo on the WordPress Login and sign-up page. We often logged into WordPress websites, but never thought to apply our branding to the login page. It is straightforward code, just copy it and implement it on your website. Let’s see how we can change the logo in a minute. Two Ways to Change Below are: PHP Function WordPress Plugins PHP Function To begin with, you can use a PHP function

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

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
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