How to Set Up Cron Jobs for WordPress Scheduled Tasks in cPanel

How to Set Up Cron Jobs for WordPress Scheduled Tasks in cPanel
May 26, 2025

How to Set Up Cron Jobs for WordPress Scheduled Tasks in cPanel A complete guide to optimizing your WordPress site by scheduling automated tasks using cPanel’s Cron Jobs tool.   What Are Cron Jobs and Why Use Them? Cron jobs are scheduled commands or scripts that your server runs at specific intervals. WordPress uses a virtual cron system called wp-cron.php to handle tasks like publishing scheduled posts, checking for updates, and clearing temporary files. However, relying solely on wp-cron can be unreliable on low-traffic sites. Setting up a real cron job in cPanel improves performance and reliability. Step 1: Disable WordPress’s Default Cron To prevent WordPress from running wp-cron.php on every page load: Log in to your cPanel account. Navigate to the File Manager. Locate and edit the wp-config.php file in your WordPress root directory. Add the following line of code above the line that says /* That’s all, stop editing! */: define(‘DISABLE_WP_CRON’, true); Step 2: Set Up a Cron Job in cPanel In cPanel, scroll to the Advanced section and click on Cron Jobs. Set the email address to receive notifications (optional). Under Add New Cron Job: Choose a common setting like “Every 15 minutes”. In the command field, enter the following: cd /home/yourusername/public_html; php -q wp-cron.php OR (better for many setups): curl -s https://yourdomain.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1 Click Add New Cron Job. Step 3: Verify the Cron Job is Working Check your WordPress scheduled tasks are now executing on time (e.g., scheduled posts are publishing). If you set a notification email, you’ll receive reports each time the cron runs (unless silenced in command). Benefits of Using Real Cron Jobs Improved site performance by disabling wp-cron on every page load. Ensures time-sensitive tasks (like post publishing or backups) execute consistently. Reduces load on low-traffic WordPress sites. Troubleshooting Tips Ensure the wp-cron.php file exists in the WordPress root folder. Check file permissions (755 for directories, 644 for files) if the cron doesn’t execute. Use a basic curl or wget command if PHP paths don’t work on your server. Conclusion By setting up a proper cron job for WordPress via cPanel, you’re giving your site a more reliable way to handle background tasks. It’s a small step that can make a big difference in performance and automation.   Hiverift Hosting. Need help? Visit our Support Center.

How to Manage Email Accounts for WordPress Domains Using cPanel
May 26, 2025

How to Manage Email Accounts for WordPress Domains Using cPanel A step-by-step guide to create, configure, and manage email accounts linked to your WordPress domains using the cPanel control panel. Why Manage Email Accounts via cPanel? Using cPanel to manage email accounts tied to your WordPress domains helps you create professional email addresses (e.g., info@yourdomain.com) without relying on third-party email providers. It’s easy to set up, monitor storage, and configure forwarding or autoresponders. Step 1: Log in to Your cPanel Dashboard Access your hosting provider’s cPanel by visiting the login URL (usually https://yourdomain.com/cpanel or via your hosting dashboard). Enter your username and password to log in. Step 2: Locate the Email Accounts Section Once inside cPanel, scroll down to the Email section. Click on Email Accounts. Step 3: Create a New Email Account Click on the Create button. Select the domain associated with your WordPress site from the dropdown menu. Enter the desired email username (e.g., admin, contact). Set a strong password or use the password generator. Specify the mailbox quota (storage limit) or leave it as default. Click Create to finish. Step 4: Access and Configure Your Email Account After creating the email account, you can: Access your mailbox via webmail: Click Check Email next to the email account, then select a webmail client like Roundcube or Horde. Configure your email on desktop/mobile clients using IMAP/POP3 and SMTP settings provided in cPanel. Step 5: Manage Existing Email Accounts From the Email Accounts page, you can: Change passwords for email accounts. Adjust mailbox quotas. Delete email accounts no longer needed. Set up email forwarders or autoresponders. Additional Email Management Features in cPanel Email Forwarders: Automatically forward incoming emails to another address. Autoresponders: Set automatic reply messages for your email accounts. Spam Filters: Manage spam settings to keep your inbox clean. Email Filters: Create rules to organize incoming mail. Troubleshooting Tips If you can’t receive emails, verify that your domain’s MX records point to your hosting server. Ensure your mailbox quota isn’t full to avoid missing new emails. Use the webmail client to test sending and receiving emails before configuring third-party apps. Conclusion Managing email accounts for your WordPress domains via cPanel is straightforward and provides professional communication channels tied to your brand. With cPanel’s intuitive tools, you can create, monitor, and customize email accounts easily. Hiverift Hosting. For more assistance, visit our Support Center.  

How to Change WordPress Site URL via cPanel Database
May 26, 2025

How to Change WordPress Site URL via cPanel Database A step-by-step guide to update your WordPress site URL directly through the database using cPanel’s phpMyAdmin. Why Change Your WordPress Site URL via Database? Sometimes, you might need to change your WordPress site URL if you have moved your website to a new domain, fixed a broken URL, or updated your site from HTTP to HTTPS. If you cannot access your WordPress dashboard, changing the URL via the database is a quick and effective solution. Important: Backup Your Database First Before making any changes, always create a full backup of your WordPress database to avoid data loss in case of any errors. Step 1: Log in to cPanel Go to your hosting provider’s cPanel login page. Enter your username and password to access the cPanel dashboard. Step 2: Open phpMyAdmin In the cPanel dashboard, scroll down to the Databases section. Click on phpMyAdmin to open the database management tool. Step 3: Select Your WordPress Database In phpMyAdmin, locate your WordPress database from the list on the left sidebar. If you are unsure of the database name, check the wp-config.php file in your WordPress root directory for the DB_NAME value. Click on the database name to view its tables. Step 4: Edit the siteurl and home URL in wp_options Table Find and click on the table named wp_options. (Note: The prefix wp_ may be different if customized during installation.) Look for the rows with the option_name siteurl and home. They are usually within the first few rows. Click the Edit button next to each to modify their values. Replace the existing URL with your new site URL (e.g., https://www.newdomain.com). Click Go or Save to apply the changes. Step 5: Clear Your Browser and WordPress Cache After updating the URLs, clear your browser cache to avoid loading old data. If you use caching plugins in WordPress, clear those caches too. Step 6: Test Your Website Visit your website using the new URL to ensure everything loads correctly. Login to your WordPress admin dashboard using the new URL. Troubleshooting Tips If you encounter login issues, clear cookies and try again. Check your wp-config.php file for any hardcoded URLs. If the site still points to the old URL, verify that your domain DNS settings are updated correctly. Conclusion Changing your WordPress site URL via the cPanel database is an effective way to fix URL-related issues, especially when you cannot access the WordPress admin dashboard. Always remember to backup your database before making changes and proceed carefully. Hiverift Hosting. Need help? Visit our Support Center.

How to Migrate WordPress Websites Between Hosting Accounts Using cPanel
May 26, 2025

How to Migrate WordPress Websites Between Hosting Accounts Using cPanel A step-by-step tutorial to help you smoothly transfer your WordPress site from one hosting provider to another using cPanel. Why Migrate Your WordPress Site? You may want to migrate your WordPress website to a new hosting provider for better performance, pricing, customer support, or features. Using cPanel tools, this migration process can be done easily without technical hassles. Prerequisites Before Migration Access to cPanel on both old and new hosting accounts FTP client or File Manager access Database access via phpMyAdmin Basic understanding of WordPress file structure and database Step 1: Backup WordPress Files from Old Hosting Log in to your old hosting cPanel. Open File Manager and navigate to your WordPress root directory (usually public_html). Select all WordPress files and folders (including wp-content, wp-admin, and wp-includes). Compress the files into a ZIP archive by clicking Compress from the File Manager toolbar. Download the ZIP file to your local computer. Step 2: Export the WordPress Database In your old cPanel, open phpMyAdmin. Select your WordPress database from the list on the left. Click the Export tab at the top. Choose the Quick export method and format as SQL. Click Go to download the database export file. Step 3: Upload WordPress Files to New Hosting Log in to your new hosting cPanel. Go to File Manager and open the root folder where WordPress will be installed (e.g., public_html). Upload the ZIP archive you downloaded earlier. Extract the ZIP file to restore all WordPress files. Step 4: Create a New Database and User on New Hosting In your new cPanel, go to MySQL® Databases. Create a new database for your WordPress site. Create a new MySQL user and assign it a strong password. Assign the user to the database with All Privileges. Note down the database name, username, and password for later. Step 5: Import the Database on New Hosting Open phpMyAdmin in the new hosting cPanel. Select the new database you created. Click the Import tab. Choose the SQL file exported from the old hosting. Click Go to import the database. Step 6: Update wp-config.php with New Database Details In File Manager on the new host, open the wp-config.php file. Locate these lines: define(‘DB_NAME’, ‘old_database_name’); define(‘DB_USER’, ‘old_database_user’); define(‘DB_PASSWORD’, ‘old_password’); Replace the old database name, username, and password with the new details created on the new host. Save the file. Step 7: Test Your Website on the New Host Visit your website URL to check if it loads correctly. Clear your browser cache if needed. If everything looks good, your WordPress migration is complete! Troubleshooting Tips If you see database connection errors, double-check wp-config.php database credentials. Check that the domain DNS is pointed to the new hosting server. Make sure all files were extracted properly in the new host’s File Manager. Clear your browser and WordPress cache to see updated content. Conclusion Migrating your WordPress website using cPanel is straightforward when you follow these steps carefully. Always create backups before starting, and take your time to verify everything works after migration. Hiverift Hosting. For support, visit Hiverift Support.  

How to Use cPanel to Increase WordPress Upload Size Limits
May 26, 2025

How to Use cPanel to Increase WordPress Upload Size Limits Step-by-step tutorial on how to raise the maximum upload file size for WordPress through cPanel settings. Why Increase WordPress Upload Size Limits? By default, WordPress has a file upload size limit that can be quite low (e.g., 2MB or 8MB), which can restrict uploading large media files, themes, or plugins. Increasing this limit allows you to upload bigger files without errors. Methods to Increase Upload Size via cPanel There are several ways to increase the upload size limit. The most common methods using cPanel include editing the php.ini file, using .htaccess, or modifying wp-config.php. Step 1: Check Your Current Upload Size Limit Login to your WordPress dashboard. Go to Media > Add New. Check the maximum upload file size shown below the upload box. Step 2: Increase Upload Size via cPanel’s MultiPHP INI Editor Login to your hosting cPanel. Find the MultiPHP INI Editor under the Software section. Select your domain from the dropdown. Locate and edit the following settings: upload_max_filesize – increase to desired size (e.g., 64M) post_max_size – increase to match or exceed upload_max_filesize (e.g., 64M) memory_limit – set to a higher value if necessary (e.g., 128M) Click Apply or Save to update the settings. Step 3: Increase Upload Size by Editing php.ini (if MultiPHP INI Editor isn’t available) In cPanel, open the File Manager. Navigate to the root folder of your WordPress installation, usually public_html. Look for a php.ini file. If not present, create a new file and name it php.ini. Edit the file and add or update the following lines: upload_max_filesize = 64M post_max_size = 64M memory_limit = 128M Save the changes. Step 4: Update .htaccess File (Alternative Method) In cPanel File Manager, locate and edit the .htaccess file in your WordPress root directory. Add the following lines at the top or bottom: php_value upload_max_filesize 64M php_value post_max_size 64M php_value memory_limit 128M Save the file. Note: This method works only if your server uses Apache and allows overriding PHP settings via .htaccess. Step 5: Edit wp-config.php to Increase Memory Limit (Optional) In the File Manager, open wp-config.php located in the root WordPress folder. Add this line before the /* That’s all, stop editing! Happy blogging. */ comment: define(‘WP_MEMORY_LIMIT’, ‘128M’); Save changes. Step 6: Verify Changes Return to your WordPress dashboard, go to Media > Add New, and check if the upload size limit has increased. Troubleshooting Tips If limits don’t update, clear your browser cache and WordPress cache plugins. Contact your hosting provider if the changes are not taking effect—some hosts restrict these settings. Ensure there are no conflicting settings in other php.ini or .user.ini files. Conclusion Using cPanel to increase your WordPress upload size limits is a straightforward process that allows you to upload larger files such as themes, plugins, and media without errors. By adjusting PHP settings through cPanel tools, you ensure your website remains flexible and functional. Hiverift Hosting. Need help? Contact Support  

How to Set Up SEO Plugins for WordPress Using cPanel File Uploads
May 26, 2025

How to Set Up SEO Plugins for WordPress Using cPanel File Uploads A detailed tutorial to manually upload and activate SEO plugins in WordPress using cPanel’s File Manager. Why Use SEO Plugins? SEO plugins help optimize your WordPress site for search engines, improve rankings, manage meta tags, generate sitemaps, and analyze content for better visibility. When to Use cPanel for Plugin Installation? Sometimes, you may need to manually install plugins due to: FTP or WordPress dashboard access issues Large plugin files that exceed WordPress upload limits Server restrictions preventing automatic installs Step-by-Step Guide to Upload SEO Plugins via cPanel Download the SEO Plugin: Visit the official WordPress plugin repository or the plugin developer’s website and download the plugin as a ZIP file (e.g., Yoast SEO, All in One SEO). Login to cPanel: Access your hosting account’s cPanel dashboard. Open File Manager: Navigate to the File Manager under the Files section. Navigate to Plugins Folder: Go to public_html/wp-content/plugins/ folder. Upload the Plugin ZIP File: Click the Upload button, select your plugin ZIP file, and wait for the upload to complete. Extract the ZIP File: After upload, right-click the ZIP file and select Extract to unzip the plugin files inside the plugins folder. Delete the ZIP File: To save space, you can delete the uploaded ZIP file after extraction. Activate the Plugin in WordPress: Go to your WordPress Dashboard, navigate to Plugins > Installed Plugins, find the uploaded SEO plugin, and click Activate. Configuring Your SEO Plugin Once activated, configure the SEO plugin settings: Set up site-wide meta titles and descriptions. Configure XML sitemap generation and submission. Enable breadcrumbs for better navigation. Connect your site with Google Search Console. Optimize individual posts and pages using plugin tools. Each plugin will have its own setup wizard or documentation to guide you. Troubleshooting Tips Ensure file permissions for the plugin folder are set correctly (typically 755 for folders, 644 for files). If the plugin doesn’t appear in WordPress, check that the extraction placed files directly under plugins/plugin-name/. Clear your site cache after activation. Consult your hosting support if you encounter permission or upload errors. Conclusion Uploading and setting up SEO plugins manually via cPanel is a reliable way to optimize your WordPress site when traditional methods fail. With proper installation and configuration, SEO plugins can significantly improve your website’s search engine performance.    Hiverift Hosting. For assistance, Contact Support

How to Manage WordPress Widgets and Menus Post-Installation
May 26, 2025

How to Manage WordPress Widgets and Menus Post-Installation Step-by-step guide to customize your WordPress site’s widgets and menus for better navigation and user experience.   Understanding Widgets and Menus in WordPress Widgets are blocks of content that can be added to sidebars, footers, and other widget-ready areas of your WordPress theme. Menus control your site’s navigation, helping visitors find important pages and sections. How to Manage WordPress Widgets Login to Your WordPress Dashboard: Go to yourdomain.com/wp-admin and enter your credentials. Navigate to Widgets: In the sidebar, go to Appearance > Widgets. View Available Widget Areas: You will see the widget-ready areas such as Sidebar, Footer, or Header depending on your theme. Add Widgets: Drag and drop widgets from the available widgets list into your desired widget area. Configure Widgets: Click the widget title to open its settings. Customize options as needed and click Save. Remove Widgets: To remove a widget, drag it back to the available widgets section or click Delete. Widgets allow you to add features like recent posts, search bars, categories, and more. How to Manage WordPress Menus Go to Menus: In the dashboard sidebar, click Appearance > Menus. Create a New Menu: Click Create a new menu, enter a name, and click Create Menu. Add Menu Items: From the left side, select pages, posts, custom links, or categories to add. Click Add to Menu. Organize Menu Structure: Drag and drop menu items to reorder them or create sub-menus by indenting. Assign Menu Location: Under “Menu Settings,” choose where this menu appears (Primary, Footer, etc.). Save Menu: Click Save Menu to apply changes. Menus help organize your website’s navigation and improve user experience. Using the WordPress Customizer for Widgets and Menus For live preview and easy management: Go to Appearance > Customize. Choose Widgets or Menus from the Customizer panel. Add, edit, or remove widgets and menu items while seeing changes in real-time. Click Publish to save. Tips for Effective Widget and Menu Management Limit the number of widgets to avoid cluttering sidebars or footers. Use clear and descriptive menu labels for better navigation. Regularly update menus as you add new pages or content. Test your menus on mobile devices to ensure responsiveness. Conclusion Managing widgets and menus is essential for customizing your WordPress site’s layout and navigation. Using the WordPress dashboard or Customizer, you can easily control these elements to create a user-friendly and visually appealing website.   Hiverift Hosting. Need assistance? Contact Support

How to Add Custom CSS to WordPress Themes Using cPanel File Manager
May 26, 2025

How to Add Custom CSS to WordPress Themes Using cPanel File Manager A step-by-step guide to safely adding custom CSS code directly to your WordPress theme files through cPanel. Why Add Custom CSS via cPanel? Adding custom CSS lets you tailor your WordPress theme’s appearance without relying on plugins or the WordPress Customizer. Using cPanel’s File Manager gives you direct control over your theme files, ensuring your styles are applied exactly as you want. Precautions Before Editing Theme Files Backup your website: Before making any changes, use cPanel’s Backup Wizard or File Manager to save a copy of your site. Use a child theme: To prevent losing your customizations during theme updates, apply CSS changes in a child theme. Be careful with code: Incorrect CSS syntax can affect site appearance; always double-check your code. Step-by-Step Guide to Add Custom CSS via cPanel File Manager Login to cPanel: Access your hosting account’s cPanel dashboard. Open File Manager: Navigate to the File Manager under the Files section. Locate Your Theme Folder: Go to public_html/wp-content/themes/ and open your active theme’s folder. For a child theme, open its folder instead. Find the style.css File: This file contains your theme’s CSS rules. Edit the style.css File: Right-click on style.css and select “Edit”. Add Your Custom CSS: Scroll to the bottom of the file and carefully add your CSS code. Save Changes: Click “Save Changes” to apply your edits. Clear Cache: Clear your browser and any caching plugins to see the updates. Example: Adding a Custom Background Color /* Custom background color for the website */ body { background-color: #f0f0f0; } Add this CSS snippet at the bottom of your style.css file to change the site background color. Alternative Methods to Add Custom CSS WordPress Customizer: Go to Appearance > Customize > Additional CSS. Using Plugins: Install plugins like “Simple Custom CSS” or “Custom CSS & JS”. Editing via cPanel is ideal for advanced users who prefer direct file access. Final Tips Always keep backups before editing files. Test your changes on different devices to ensure responsiveness. Use browser developer tools (F12) to experiment with CSS before applying it permanently.   Hiverift Hosting. Need help? Contact Support  

How to Manage WordPress Multisite Networks Using cPanel
May 26, 2025

How to Manage WordPress Multisite Networks Using cPanel A comprehensive guide to setting up and managing WordPress Multisite networks with the help of cPanel tools. Introduction to WordPress Multisite WordPress Multisite allows you to run multiple websites from a single WordPress installation. This is ideal for businesses, educational institutions, or anyone managing a network of sites. Using cPanel simplifies network setup and ongoing management. Prerequisites Active cPanel hosting account with WordPress installed. Basic understanding of WordPress and cPanel. Access to domain management for domain mapping (optional). Step 1: Enable Multisite Feature in WordPress Access your WordPress installation files via cPanel File Manager. Open the wp-config.php file in the root directory. Add the following line above the line that says /* That’s all, stop editing! Happy blogging. */: define(‘WP_ALLOW_MULTISITE’, true); Save the changes. Login to your WordPress dashboard and navigate to Tools > Network Setup. Choose your network type (subdomains or subdirectories) and configure the network details. Follow the on-screen instructions to add additional code snippets to wp-config.php and your .htaccess file via cPanel File Manager. Step 2: Configure Domain Mapping (Optional) Domain mapping allows each site in your network to have its own unique domain name. Ensure your cPanel DNS settings have the domains pointed to your hosting server. In your WordPress network admin dashboard, install and activate a domain mapping plugin like “Mercator” or “WordPress MU Domain Mapping”. Follow the plugin instructions to map domains to the corresponding sites in your network. Step 3: Managing Sites in Your Multisite Network Access the My Sites > Network Admin > Sites section in WordPress. Add, edit, or delete individual sites as needed. Manage users, themes, and plugins network-wide or per site. Use cPanel File Manager to upload themes or plugins that should be available network-wide. Step 4: Backup and Maintenance via cPanel Use cPanel’s Backup Wizard or File Manager to create full backups of your WordPress installation including multisite data. Backup your multisite database through phpMyAdmin for added security. Regularly update WordPress core, themes, and plugins from the network admin dashboard. Tips for Efficient Multisite Management Use subdomains if you plan many sites; ensure wildcard subdomains are enabled in cPanel under Subdomains. Limit plugin usage to essentials to avoid performance issues. Monitor server resources via cPanel to ensure your hosting plan meets your network’s needs. Troubleshooting Common Issues Login Redirect Loops: Clear browser cache and cookies, or disable conflicting plugins. Subdomain Not Working: Check DNS and ensure wildcard subdomains are set up in cPanel. Plugin/Theme Not Network Activated: Check file permissions using cPanel’s File Manager. Conclusion Managing WordPress Multisite networks via cPanel empowers you with control over your network’s files, databases, and domains. With the right setup and maintenance routine, you can efficiently manage multiple sites from a single dashboard.    Hiverift Hosting. Need assistance? Contact Support  

How to Import and Export WordPress Content Using cPanel Tools
May 26, 2025

How to Import and Export WordPress Content Using cPanel Tools A step-by-step guide to efficiently manage your WordPress site content via cPanel. Introduction Managing your WordPress content includes importing and exporting posts, pages, media, and database files. While WordPress dashboard offers built-in import/export features, using cPanel tools gives you greater control, especially for full site backups or migrations. Prerequisites Access to your hosting account’s cPanel. Basic knowledge of WordPress admin dashboard. FTP client (optional) or File Manager access in cPanel. Part 1: Export WordPress Content via cPanel Step 1: Backup Your WordPress Database Login to your cPanel account. Open phpMyAdmin under the Databases section. Select your WordPress database from the left sidebar. Click the Export tab on top. Choose Quick export method and format as SQL. Click Go to download the database backup file to your computer. Step 2: Download Your WordPress Files From cPanel dashboard, open File Manager. Navigate to the root directory of your WordPress installation (usually public_html). Select all files and folders related to WordPress. Click Compress and choose ZIP format. Download the compressed ZIP file to your computer. Part 2: Import WordPress Content via cPanel Step 1: Upload WordPress Files Log in to your cPanel account on the new server. Open File Manager. Navigate to the directory where you want to install WordPress (e.g., public_html). Upload the ZIP file you previously exported. Extract the ZIP archive inside the directory. Step 2: Import WordPress Database Go back to cPanel dashboard and open MySQL Databases. Create a new database and a user, then assign the user to the database with all privileges. Open phpMyAdmin and select the new database. Click the Import tab. Choose the SQL file exported earlier and click Go. Step 3: Update wp-config.php Using cPanel File Manager, edit the wp-config.php file to update database name, username, and password with the new database credentials. define(‘DB_NAME’, ‘new_database_name’); define(‘DB_USER’, ‘new_database_user’); define(‘DB_PASSWORD’, ‘new_database_password’); Additional Tips Make sure to update your domain’s DNS settings if migrating to a new server. Clear your browser cache after migration to avoid loading old content. Test your website thoroughly to ensure all content is imported correctly. Conclusion Using cPanel to import and export WordPress content offers a powerful way to backup, migrate, or restore your site with full control. Always keep regular backups to prevent data loss and ensure smooth website management.   Hiverift Hosting. Need help? Contact our support team.  

Build Your Website with HiveRift

From professional business to enterprise, we’ve got you covered!

©2025, Hosting. All Rights Reserved by KhatuShyam Technologies

HiveRift
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.