Skip to content
www.FreeHosting.Live
  • Home
  • Hosting Review
    • BigRock Review
    • Bluehost Review
    • Shared Hosting for WordPress Beginners: Mistakes That Make Sites Go Offline
    • Hostinger Review for Beginners: Cheap WordPress Hosting, Limits, and Trade-offs
    • HostPapa Hosting Review for Beginners: Value, Support, and WordPress Fit
    • InterServer Hosting Review for Beginners: Limits, Speed, and Real-World Fit
    • A2 Hosting vs Bluehost for WordPress Beginners: Practical Comparison
  • 10 DOMAIN DEALS
    • Form Plugin Guide
    • Thrive Themes: Worth It?
    • Rank Math SEO Plugin Review.
    • Bluehost News
    • AI Image Prompt Guide
    • Small Business SEO Hosting in Europe: What Actually Matters
  • Ask Q & A
    • 10 DOMAIN DEALS
    • Digital Marketing Quiz Answers 2025
    • Best Free Hosting Sites for WordPress: What Beginners Should Check First
    • Best Free Hosting Without Ads: Honest Beginner Comparison
    • Domain Deals
    • Ask Q & A
    • Why Free Hosting Websites Stop Loading After a Few Months
    • When Free Hosting Is Not Suitable for a Serious Beginner Project
    • What Happens When Free Hosting Reaches Its Limits?
    • Free Website Not Loading Suddenly: 15-Minute Troubleshooting Checklist
  • About
    • Contact FreeHosting.Live
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer Page
  • Tools & Checkers

Home » Free Hosting Problems » Page 2

Category: Free Hosting Problems

How to Fix ERR_TOO_MANY_REDIRECTS (Redirect Loop) in WordPress &…

You just connected your domain to Cloudflare or enabled a new HTTPS setting, and suddenly Chrome displays: “This page isn’t working — example.com redirected you too many times (ERR_TOO_MANY_REDIRECTS).” Worse, both your homepage and your /wp-admin/ login screen are trapped in the loop!

Don’t worry—infinite redirect loops in WordPress are almost always caused by one of three settings that take less than 5 minutes to fix.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Cause #1: Cloudflare “Flexible” SSL Mode (Fixes 70% of Loops!)

If your domain uses Cloudflare (which you can check in 2 seconds using our Website Host & CDN Detector), look at your SSL configuration:

  • When Cloudflare is set to Flexible SSL, Cloudflare talks to visitors over https://, but forwards every request to your web hosting server over plain http://.
  • Your WordPress site sees an incoming http:// request and redirects the visitor back to https://—triggering an endless ping-pong loop!
  • The Fix: In Cloudflare Dashboard → SSL/TLS → Overview, switch from Flexible to Full (Strict) (or Full).

Cause #2: Mismatched `WP_HOME` and `WP_SITEURL` (`http` vs `https` or `www` vs non-`www`)

If you cannot log into `/wp-admin/` because of the loop, open wp-config.php in cPanel File Manager and hardcode your canonical URL above “That’s all, stop editing”:

define( 'WP_HOME', 'https://yourdomain.com' );
define( 'WP_SITEURL', 'https://yourdomain.com' );

Cause #3: Conflicting `.htaccess` `RewriteRule` Directives

Stacking multiple redirect plugins or manual `.htaccess` rules often creates contradictory `www` and `https` rules. Test your redirect rules safely in our Free .htaccess RewriteRule Simulator or generate a clean file with our .htaccess Generator.

Frequently Asked Questions (FAQ)

What causes ERR_TOO_MANY_REDIRECTS in WordPress after enabling Cloudflare?

When Cloudflare SSL mode is set to ‘Flexible’, Cloudflare connects to your origin web server over HTTP (port 80) while your WordPress site or .htaccess tries to redirect all HTTP requests back to HTTPS—creating an infinite redirect loop.

How do I fix a Cloudflare redirect loop in 30 seconds?

Log into your Cloudflare dashboard, go to SSL/TLS -> Overview, and change the encryption mode from ‘Flexible’ to ‘Full’ or ‘Full (Strict)’.

How can I fix mismatched WordPress site URLs if I cannot access /wp-admin/?

Connect via cPanel File Manager or FTP, open wp-config.php, and define WP_HOME and WP_SITEURL with your exact https:// domain URL.

How to Fix “The Link You Followed Has Expired”…

Few WordPress error messages are as vague as “The link you followed has expired. Please try again.” Almost every beginner encounters this error right after downloading a new WordPress theme or heavy plugin `.zip` file and clicking Install Now inside /wp-admin/.

Despite the confusing wording, no link actually expired—instead, your file exceeded your hosting account’s PHP upload size or execution time limit. Here are 3 fast ways to fix it.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Method 1: Increase Limits in cPanel MultiPHP INI Editor (Recommended)

On many free and starter shared hosting plans, upload_max_filesize defaults to a tiny 2 MB or 8 MB, while modern themes often weigh 15 MB to 35 MB:

  1. Log into cPanel and open MultiPHP INI Editor.
  2. Select your domain from the dropdown list.
  3. Update these four values and click Apply:
    • upload_max_filesize = 64M (or `128M`)
    • post_max_size = 128M *(Must be equal to or larger than `upload_max_filesize`!)*
    • memory_limit = 256M
    • max_execution_time = 180

Method 2: Raise Memory in `wp-config.php` & `.htaccess`

If your control panel doesn’t show MultiPHP INI Editor, generate a clean `256M` memory snippet using our Free WordPress wp-config.php Optimizer, and read our full guide on Fixing Allowed Memory Size Exhausted in WordPress.

Method 3: The FTP Bypass for Hard-Capped Free Hosting

If your free hosting provider strictly locks HTTP uploads at 10 MB, simply unzip the plugin or theme on your laptop, connect to your server via FileZilla FTP, and upload the folder directly into /wp-content/plugins/ or /wp-content/themes/!

Frequently Asked Questions (FAQ)

Why does WordPress say The link you followed has expired when uploading a theme or plugin?

This error occurs when the ZIP file you are uploading exceeds your hosting server’s PHP upload_max_filesize or post_max_size limit, or takes longer to upload than max_execution_time allows.

What are the recommended PHP upload limits for WordPress in cPanel?

Set upload_max_filesize to at least 64M (or 128M), post_max_size to 128M, memory_limit to 256M, and max_execution_time to 180 seconds.

What if my free host blocks php.ini and .htaccess upload limit overrides?

If your free hosting provider hard-caps HTTP uploads at 2MB or 10MB, extract the theme or plugin ZIP file on your computer and upload the unzipped folder directly to /wp-content/themes/ or /wp-content/plugins/ using an FTP client like FileZilla.

How to Fix Mixed Content SSL Warnings (http:// to…

You installed a free Let’s Encrypt or Cloudflare SSL certificate on your domain, yet Chrome or Safari still shows a “Not Secure” warning—or your styles break when visiting https://. When you open your browser’s Developer Console (`F12`), you see yellow and red warnings saying: “Mixed Content: The page was loaded over HTTPS, but requested an insecure image/script ‘http://…'”

Before editing your files, test your live certificate chain in our Free SSL Certificate & DNS Checker.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Step 1: Verify WordPress Site URLs in `Settings → General`

Log into your WordPress dashboard, open Settings → General, and confirm that both WordPress Address (URL) and Site Address (URL) start with https:// instead of http://.


Step 2: Add a Clean HTTPS Redirect & Upgrade-Insecure-Requests Header in `.htaccess`

Instead of installing a heavy SSL plugin that rewrites HTML output in PHP on every page load, let your web server handle HTTPS automatically:

  1. Open our Free .htaccess Rule Generator (or test custom patterns in our .htaccess RewriteRule Simulator).
  2. Enable the Force HTTPS (301 Redirect) rule.
  3. Add this single security header to `.htaccess` so modern browsers automatically upgrade any leftover `http://` image or script links to `https://` seamlessly:
<IfModule mod_headers.c>
  Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>

Step 3: Fix Cloudflare “Too Many Redirects” Loop

If enabling HTTPS causes an `ERR_TOO_MANY_REDIRECTS` error while using Cloudflare, log into Cloudflare → SSL/TLS → Overview and change encryption mode from Flexible to Full (Strict) (if your cPanel host has a valid SSL certificate installed).

Frequently Asked Questions (FAQ)

What is a Mixed Content SSL warning in WordPress?

A Mixed Content warning happens when your webpage loads over HTTPS, but one or more hardcoded images, stylesheets, or JavaScript files on the page are still requested over insecure HTTP://.

How do I force all HTTP traffic to HTTPS in WordPress without a plugin?

Update both your WordPress Address and Site Address to https:// in Settings -> General, and add a 301 HTTPS redirect rule at the top of your .htaccess file.

How can I verify that my SSL certificate and HTTPS redirects are working?

Run your domain through the free SSL Certificate & DNS Checker and .htaccess Generator at FreeHosting.live.

How to Fix “Briefly Unavailable for Scheduled Maintenance” Stuck…

You clicked “Update All Plugins” inside your WordPress dashboard, waited 30 seconds, and suddenly your entire website—both the homepage and /wp-admin/—is locked behind a plain white screen that says: “Briefly unavailable for scheduled maintenance. Check back in a minute.”

Ten minutes pass, and the message is still there. Don’t panic! Your website is intact, and fixing this takes less than 60 seconds.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Why WordPress Gets Stuck in Maintenance Mode on Shared Hosting

Whenever you run an update, WordPress places a tiny hidden file called .maintenance in your root public_html directory and deletes it the moment the update finishes. However, on free and budget shared hosting, unzipping 10 plugin updates at once often hits your CPU or I/O limit or triggers a 504 Gateway Timeout—killing the PHP script before it can delete .maintenance!


The 60-Second Fix: Delete `.maintenance` in cPanel File Manager

  1. Log into your hosting control panel and open File Manager.
  2. Click the Settings gear icon in the top-right corner and check “Show Hidden Files (dotfiles)”, then click Save. *(Because `.maintenance` starts with a dot, it is invisible until you enable this!)*
  3. Open your public_html folder (where `wp-config.php` lives).
  4. Right-click the .maintenance file and click Delete.
  5. Refresh your website—it will load immediately!

How to Prevent Stuck Updates in the Future

  • Increase Your PHP Memory Limit: Generate a clean `256M` / `512M` configuration snippet in our Free wp-config.php Optimizer so updates never run out of RAM.
  • Update Plugins in Small Batches: Update 2 to 3 plugins at a time rather than selecting 15 heavy plugins simultaneously.

Frequently Asked Questions (FAQ)

Why is my WordPress site stuck on Briefly unavailable for scheduled maintenance?

When you update plugins, themes, or WordPress core, WordPress creates a temporary hidden file named .maintenance in your root folder. If the update script times out or hits a CPU limit on shared hosting, WordPress fails to delete the .maintenance file.

How do I fix a WordPress site stuck in maintenance mode?

Open cPanel File Manager or connect via FTP, navigate to your public_html root directory, enable ‘Show Hidden Files (dotfiles)’, and delete the .maintenance file.

How can I prevent WordPress updates from timing out in the future?

Update plugins 1 or 2 at a time instead of bulk-updating 15 plugins at once, and ensure WP_MEMORY_LIMIT is set to at least 256M in wp-config.php.

How to Fix “502 Bad Gateway” & “504 Gateway…

When visitors open your website and see “502 Bad Gateway” or “504 Gateway Timeout”, two servers tried to talk to each other to load your WordPress page—and the backend server failed to answer properly.

Whether you see an nginx gateway screen, a cPanel proxy error, or a Cloudflare 502/504 banner, follow these step-by-step fixes to restore your site.

☁️ Managed Cloud & WooCommerce Performance Upgrade
Ad · Affiliate Disclosure

Hitting Shared Hosting CPU, RAM, or 503/504 Limits?

Move to Cloudways Managed Cloud Hosting (powered by DigitalOcean, Vultr, AWS & Google Cloud) for dedicated CPU/RAM, built-in Redis/Varnish caching, free migrations, and zero shared-hosting inode limits:

☁️ Start Cloudways Free Trial →
🚀 Budget Pick: Hostinger +20% Off
🧮 Check RAM Needed

502 Bad Gateway vs 504 Gateway Timeout: What’s the Difference?

  • 502 Bad Gateway: Your front-end proxy (Nginx, Apache, or Cloudflare) passed the visitor’s request to PHP-FPM, and the PHP process crashed, restarted, or returned an invalid header.
  • 504 Gateway Timeout: Your PHP-FPM or MySQL process didn’t crash, but it got stuck running a slow task (like a huge WooCommerce export or backup) for longer than the server’s 30–60 second timeout window.

Step 1: Check DNS & Restart Stuck PHP Processes

First, verify that your domain’s DNS A records haven’t drifted using our Website Host & IP Checker. If you use cPanel, open MultiPHP Manager and toggle your PHP version (for example, from PHP 8.2 to PHP 8.3 and back)—this forces cPanel to restart stuck PHP-FPM worker pools immediately!

Step 2: Raise `max_execution_time` & `WP_MEMORY_LIMIT`

If 504 timeouts happen when importing content or saving heavy Elementor pages, increase your PHP limits:

  • Use our Free WordPress wp-config.php Generator to raise WP_MEMORY_LIMIT to 256M.
  • In cPanel’s MultiPHP INI Editor, increase max_execution_time from 30 to 120 or 180 seconds.

Step 3: Move Background Tasks Off Page Loads

When WordPress tries to run scheduled backups or RSS fetches during a visitor’s page request via virtual wp-cron.php, it often triggers a 504 Gateway Timeout. Move your cron tasks to a real system schedule using our Free cPanel Cron Job & wp-cron Builder.

Frequently Asked Questions (FAQ)

What is the difference between 502 Bad Gateway and 504 Gateway Timeout?

A 502 Bad Gateway means the reverse proxy (Nginx or Cloudflare) received an invalid or crashed response from the backend PHP server. A 504 Gateway Timeout means the backend server took too long to respond and the proxy closed the connection.

Can a WordPress plugin cause a 502 or 504 error?

Yes. Plugins that make slow external API calls, run unindexed MySQL queries, or exhaust PHP-FPM workers frequently cause 502 and 504 gateway errors on shared hosting.

How do I quickly test if a 502 error is caused by my browser or the server?

Run your domain through the free Website Host & IP Detector and DNS Checker at FreeHosting.live to verify live server reachability.

How to Reduce Inode Usage in cPanel & Free…

One of the most confusing limits on free hosting (like InfinityFree’s 30,000 inode limit) and budget shared hosting is the Inode Quota. Your cPanel dashboard might show that you have used only 800 MB out of 10 GB of disk space—yet your website stops uploading images, updates fail, and cPanel flashes a bright red warning: “100% Inode Usage Reached!”

(If you are unfamiliar with how hosts measure inodes vs disk space, check our interactive Hosting Limits Explainer and WordPress Inode Limit Guide.)

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Where Are All Your Inodes Hiding? (Top 4 Culprits)

Remember: 1 Inode = 1 File or 1 Folder, regardless of whether that file is a 50 MB video or a 1 KB cache text file. On WordPress sites, 80% of inode bloat comes from four folders:

  1. WordPress Cache Folders (`wp-content/cache/`): Caching plugins generate thousands of tiny `.html` and `.gz` files. Purging your cache and lowering cache TTL can instantly free 10,000 to 40,000 inodes!
  2. Duplicate Image Thumbnails (`wp-content/uploads/`): Modern themes register up to 12 crop sizes per image. One media library with 1,500 images can easily consume 18,000+ inodes.
  3. Uninstalled Plugins & Unused Themes: A single heavy plugin like WooCommerce or Jetpack contains 3,000 to 6,000 individual files. Delete any deactivated plugins and keep only your active theme plus one default fallback theme.
  4. cPanel Default Email & Cron Output (`mail/` folder): Every unread spam email or cron output message is stored as an individual file inside `/home/user/mail/`.

Step-by-Step: Prevent Cron & Backup Inode Bloat

  • Silence Cron Email Notifications: When setting up scheduled tasks in cPanel, always append >/dev/null 2>&1 to the end of your command so cPanel doesn’t create a new email file every 15 minutes! Generate silent commands automatically with our Free Cron Job & cPanel wp-cron Builder.
  • Store Backups Off-Site (Google Drive / Dropbox): Never leave `.zip` or `.tar.gz` backups sitting inside `wp-content/updraft` or `ai1wm-backups` on a low-inode hosting plan.

Frequently Asked Questions (FAQ)

What happens when my hosting account hits 100% inode usage?

When you reach 100% of your inode quota, your server can no longer create any new files—meaning WordPress cannot upload images, update plugins, write session files, or receive new emails, and your site may crash.

Why do I have 50,000 inodes when I only uploaded 200 images to WordPress?

Every time you upload 1 image, WordPress and your theme automatically generate 5 to 15 different cropped thumbnail sizes—turning 1,000 uploaded photos into 10,000+ separate files (inodes).

What is the fastest way to lower inode usage in cPanel?

Clear your WordPress page cache folder (wp-content/cache), delete unused deactivated plugins and themes, empty the cPanel webmail Trash/Spam folders, and remove old local backup archives.

🛠️ Related Free Tools & Troubleshooting Guides

  • Explore All 26 Free Webmaster Tools & Calculators — DNS/SSL Checker, JSON Formatter, Cron Generator, Uptime SLA & more.
  • Hostinger vs Namecheap (2025 Comparison) — See which budget host wins for WordPress speed and value.
  • How to Fix HTTP 503 Service Unavailable on Shared Hosting — Stop Entry Process & CPU limit lockouts.
  • Zero-Downtime Free to Paid Hosting Migration Checklist — Move your files, database, and DNS safely.

How to Fix WordPress Not Sending Emails on Free…

One of the most frustrating issues for new WordPress site owners is discovering that contact form inquiries, WooCommerce order receipts, or “Lost your password?” emails never arrive in the inbox. Even when WordPress says “Your message was sent successfully,” the email vanishes into thin air.

You can immediately check if your domain is missing critical email authentication records using our Free SPF & DMARC Generator + Live DNS Checker.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Why `wp_mail()` and PHP `mail()` Fail on Free & Shared Hosting

WordPress relies on the server’s local mail() function by default. This fails for two reasons:

  1. Port 25 Blocking on Free Hosts: Free hosting providers block outbound PHP mail completely so spammers cannot abuse free accounts.
  2. Shared IP Reputation & Missing SPF/DMARC: On shared hosting, hundreds of websites share one mail IP. Without proper SPF, DKIM, and DMARC records, Gmail, Outlook, and Yahoo automatically drop unauthenticated messages.

Step 1: Switch From PHP Mail to Authenticated Free SMTP

Instead of sending mail from your web server, route WordPress emails through a dedicated SMTP API over port 443 or 587:

  • Install a free plugin like FluentSMTP or WP Mail SMTP.
  • Connect it to a free transactional email tier (such as Brevo’s free 300 emails/day tier, Zoho Mail SMTP, or Gmail App Password SMTP).
  • See our companion guide on the Best Free Email Hosting for Custom Domains in 2025.

Step 2: Publish Clean SPF & DMARC TXT Records in Your DNS

Since 2024/2025, Google and Yahoo enforce strict sender rules. Open our Free SPF & DMARC Record Generator, check the boxes for your email provider, and paste the two generated TXT records (`@` and `_dmarc`) into your DNS manager!

Frequently Asked Questions (FAQ)

Why is my WordPress site not sending contact form or password reset emails?

By default, WordPress uses the unauthenticated PHP mail() function. Almost all free hosts disable PHP mail() to prevent spam, and Gmail/Yahoo reject unauthenticated PHP mail that lacks SPF, DKIM, and DMARC records.

How do I fix WordPress email delivery for free?

Install an SMTP plugin (such as FluentSMTP or WP Mail SMTP), connect it to a free SMTP provider (like Brevo, Gmail SMTP, or Cloudflare/Zoho), and publish valid SPF and DMARC TXT records in your DNS.

How can I generate and test my domain’s SPF and DMARC records?

Use the free SPF & DMARC Generator and Live DNS Inspector at FreeHosting.live to create copy-ready TXT records and verify your domain’s live configuration.

🛠️ Related Free Tools & Troubleshooting Guides

  • Explore All 26 Free Webmaster Tools & Calculators — DNS/SSL Checker, JSON Formatter, Cron Generator, Uptime SLA & more.
  • Hostinger vs Namecheap (2025 Comparison) — See which budget host wins for WordPress speed and value.
  • How to Fix HTTP 503 Service Unavailable on Shared Hosting — Stop Entry Process & CPU limit lockouts.
  • Zero-Downtime Free to Paid Hosting Migration Checklist — Move your files, database, and DNS safely.

How to Fix “403 Forbidden” & File Permission Errors…

Seeing “403 Forbidden — You don’t have permission to access this resource” on your WordPress homepage or /wp-admin/ login screen means your web server understood the request, but security rules or Linux file permissions refused to serve the file.

Before changing random folders, you can visually verify the exact octal (`755` vs `644`) and symbolic (`-rwxr-xr-x`) permission codes using our Free Linux & cPanel chmod Permission Calculator.

⚡ Top Recommended Hosting & Domain Upgrades
Ad · Affiliate Disclosure

Outgrowing Free Hosting Limits? Claim Our Partner Discounts

Upgrade to fast Hostinger LiteSpeed WordPress Hosting (with an extra 20% referral discount + free domain) or grab low-cost Namecheap cPanel Hosting & Domains with free WHOIS privacy:

🚀 Claim Hostinger + Extra 20% Off →
🔥 Namecheap Hosting & Domain Deals →
🧮 Run Upgrade Checker

Step 1: Reset WordPress File & Folder Permissions (`755` and `644`)

If you recently uploaded files via FTP or migrated hosts, wrong POSIX file permissions will immediately trigger a 403 error. Follow the golden rule for WordPress on cPanel:

  • All Folders (`wp-admin`, `wp-content`, `wp-includes`, plugins, themes): Set to 755
  • All Files (`index.php`, `.htaccess`, images, CSS/JS): Set to 644
  • `wp-config.php`: Set to 640 or 600 (Never `777`!)

In cPanel File Manager, right-click any folder or file, select Change Permissions, and enter 755 or 644. If you have SSH access, copy the one-line bulk reset command from our chmod Calculator.


Step 2: Regenerate a Clean `.htaccess` File

Security plugins often write overly aggressive IP blocks into your root .htaccess file. To test this:

  1. Open public_html in cPanel File Manager (enable Show Hidden Files / dotfiles in Settings).
  2. Rename .htaccess to .htaccess_backup and test your website.
  3. If your site loads, go to WordPress Dashboard → Settings → Permalinks and click Save Changes (or generate a clean file in our Free .htaccess Generator).

Step 3: Check ModSecurity & Hotlink Protection

If you only get a 403 error when saving posts with code snippets or JSON inside WordPress, your shared host’s ModSecurity Web Application Firewall (WAF) may be flagging a false positive. Check the Metrics → Errors log in cPanel or ask your host to whitelist the specific ModSecurity rule ID.

Frequently Asked Questions (FAQ)

What are the correct chmod file permissions for WordPress in cPanel?

All WordPress folders and directories should be set to 755 (drwxr-xr-x), all standard PHP, HTML, CSS, and image files should be set to 644 (-rw-r–r–), and wp-config.php can be set to 640 or 600.

Why does setting 777 permissions cause a 403 or 500 error on shared hosting?

Modern shared hosts running suPHP, CloudLinux, or LiteSpeed block scripts with 777 (world-writable) permissions as a security protection against malware injection.

Can a corrupted .htaccess file cause a 403 Forbidden error across my entire site?

Yes. Bad deny rules, hotlink protection mistakes, or security plugin lockouts inside .htaccess are the #1 cause of sudden 403 Forbidden errors in WordPress.

🛠️ Related Free Tools & Troubleshooting Guides

  • Explore All 26 Free Webmaster Tools & Calculators — DNS/SSL Checker, JSON Formatter, Cron Generator, Uptime SLA & more.
  • Hostinger vs Namecheap (2025 Comparison) — See which budget host wins for WordPress speed and value.
  • How to Fix HTTP 503 Service Unavailable on Shared Hosting — Stop Entry Process & CPU limit lockouts.
  • Zero-Downtime Free to Paid Hosting Migration Checklist — Move your files, database, and DNS safely.

How to Fix “Allowed Memory Size Exhausted” in WordPress…

Have you ever tried uploading an image, activating a plugin, or saving a page in WordPress only to be greeted by a white screen saying: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate ... bytes)?

This error means a PHP script exceeded the maximum RAM allocated to a single process on your web hosting account. Here is how to fix it in under 5 minutes.

☁️ Managed Cloud & WooCommerce Performance Upgrade
Ad · Affiliate Disclosure

Hitting Shared Hosting CPU, RAM, or 503/504 Limits?

Move to Cloudways Managed Cloud Hosting (powered by DigitalOcean, Vultr, AWS & Google Cloud) for dedicated CPU/RAM, built-in Redis/Varnish caching, free migrations, and zero shared-hosting inode limits:

☁️ Start Cloudways Free Trial →
🚀 Budget Pick: Hostinger +20% Off
🧮 Check RAM Needed

Method 1: Increase `WP_MEMORY_LIMIT` in `wp-config.php` (Fastest Fix)

By default, WordPress sets its own memory limit to just 40MB on single sites—even if your hosting plan allows 256MB or 512MB! You can generate the exact configuration snippet using our Free WordPress wp-config.php & Salt Generator, or add these two lines manually above /* That's all, stop editing! */ in wp-config.php:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Method 2: Update `memory_limit` in cPanel MultiPHP INI Editor

If editing wp-config.php doesn’t resolve the error, your server’s PHP configuration is capping your account lower than 256M:

  • Log into cPanel and open MultiPHP INI Editor (under the Software section).
  • Select your domain from the dropdown menu.
  • Locate the memory_limit row and change it from 64M or 128M to 256M (or 512M), then click Apply.

Method 3: When Free Hosting Hard-Caps Your PHP Memory

Many free hosting providers strictly lock memory_limit at 64MB or 128MB at the hypervisor level and ignore custom php.ini or .htaccess overrides. If you run WooCommerce, Elementor, or SEO suites, use our WordPress Hosting Requirement Calculator to see how much RAM your plugin stack truly requires.

Frequently Asked Questions (FAQ)

What causes the Allowed memory size exhausted fatal error in WordPress?

WordPress defaults to a 40MB PHP memory limit for single sites, which is too small for modern themes, WooCommerce, or Elementor. When a script tries to allocate more RAM than PHP allows, it crashes with a fatal memory error.

Where do I put define(‘WP_MEMORY_LIMIT’, ‘256M’) in wp-config.php?

Place the line inside your wp-config.php file right above the comment that says /* That’s all, stop editing! Happy publishing. */.

What if changing wp-config.php does not fix the memory exhausted error?

If your free or shared hosting provider enforces a hard ceiling (such as 64MB or 128MB) in the master php.ini configuration, wp-config.php cannot override it—you must either raise memory_limit in cPanel MultiPHP INI Editor or upgrade your hosting plan.

🛠️ Related Free Tools & Troubleshooting Guides

  • Explore All 26 Free Webmaster Tools & Calculators — DNS/SSL Checker, JSON Formatter, Cron Generator, Uptime SLA & more.
  • Hostinger vs Namecheap (2025 Comparison) — See which budget host wins for WordPress speed and value.
  • How to Fix HTTP 503 Service Unavailable on Shared Hosting — Stop Entry Process & CPU limit lockouts.
  • Zero-Downtime Free to Paid Hosting Migration Checklist — Move your files, database, and DNS safely.

How to Fix HTTP 503 Service Unavailable on Free…

When your WordPress website suddenly displays “HTTP Error 503: Service Unavailable” or CloudLinux’s infamous “508 Resource Limit Is Reached” screen, your server hasn’t crashed—instead, your hosting account has hit its strict concurrent PHP worker ceiling.

☁️ Managed Cloud & WooCommerce Performance Upgrade
Ad · Affiliate Disclosure

Hitting Shared Hosting CPU, RAM, or 503/504 Limits?

Move to Cloudways Managed Cloud Hosting (powered by DigitalOcean, Vultr, AWS & Google Cloud) for dedicated CPU/RAM, built-in Redis/Varnish caching, free migrations, and zero shared-hosting inode limits:

☁️ Start Cloudways Free Trial →
🚀 Budget Pick: Hostinger +20% Off
🧮 Check RAM Needed

Why Free & Shared Hosting Triggers HTTP 503 So Easily

Most free hosts and budget cPanel plans allocate between 5 and 20 Entry Processes (EP) and 100% of 1 CPU core. Each uncached WordPress page view, background AJAX call, or XML-RPC bot probe consumes one Entry Process while PHP executes. The moment simultaneous requests exceed your limit, extra visitors receive a 503 error.


Step 1: Replace WordPress Virtual `wp-cron.php` With a Real Cron Job

One of the biggest hidden causes of 503 errors on shared hosting is wp-cron.php firing on every page load. You can fix this in two minutes:

  1. Open our Free Cron Job Schedule Generator & cPanel wp-cron Builder.
  2. Add define( 'DISABLE_WP_CRON', true ); to your wp-config.php file.
  3. Copy the generated 15-minute wget or PHP CLI command into cPanel → Cron Jobs.

Step 2: Isolate Heavy Plugins & Increase PHP Memory

Stuck PHP processes caused by page builders, broken backup plugins, or low memory allocations will hold Entry Processes open until they time out. Use our wp-config.php Optimizer & Salt Generator to set a clean 256M memory limit and enable safe background debug logging (`WP_DEBUG_LOG`) without exposing errors to visitors.

Step 3: Block XML-RPC Brute Force & Scraper Bots via `.htaccess`

Automated bots hammering /xmlrpc.php and /wp-login.php can consume 100% of your free hosting CPU in seconds. Use our Free .htaccess Rule Generator or place your domain behind Cloudflare’s free CDN to filter malicious bot traffic before it ever touches your server.

Frequently Asked Questions (FAQ)

What does HTTP 503 Service Unavailable mean on shared or free hosting?

HTTP 503 means your web server (Apache or LiteSpeed) is online, but it temporarily cannot process PHP requests because your hosting account has reached its maximum Entry Processes (EP), CPU, or RAM ceiling.

How does disabling wp-cron.php fix 503 errors in WordPress?

By default, WordPress triggers wp-cron.php on every single visitor page view, doubling PHP worker usage. Replacing virtual wp-cron with a 15-minute cPanel system cron job cuts CPU and Entry Process spikes by up to 50%.

How do I check if a broken WordPress plugin is causing a 503 error?

Log into cPanel File Manager or FTP, navigate to wp-content, and temporarily rename the plugins folder to plugins_old. If your site loads immediately, rename it back and activate plugins one by one.

🛠️ Related Free Tools & Troubleshooting Guides

  • Explore All 26 Free Webmaster Tools & Calculators — DNS/SSL Checker, JSON Formatter, Cron Generator, Uptime SLA & more.
  • Hostinger vs Namecheap (2025 Comparison) — See which budget host wins for WordPress speed and value.
  • How to Fix HTTP 503 Service Unavailable on Shared Hosting — Stop Entry Process & CPU limit lockouts.
  • Zero-Downtime Free to Paid Hosting Migration Checklist — Move your files, database, and DNS safely.

Posts pagination

Previous page 1 2 3 Next page
  • cPanel vs DirectAdmin vs hPanel (2026 Comparison): Which Web Hosting Control Panel Is Best?
  • How to Fix WordPress Images Not Loading After Migration (Broken Mixed Content & Upload Path Fix)
  • How to Fix “Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress”
  • How to Fix Minecraft “AnnotatedConnectException: Connection Refused” When Joining a Server
  • How to Fix ERR_TOO_MANY_REDIRECTS in WordPress & Cloudflare (Flexible vs Full SSL Loop Fix)
  • Cloudways vs Shared Hosting (Hostinger & Namecheap): When Should You Upgrade to Managed Cloud?
  • Cloudways Review for Beginners (2026): Managed Cloud Hosting for WordPress & WooCommerce
  • How to Check If Your Website IP Is Blacklisted (Shared Hosting Email & SEO Impact)
  • Best Free SSL Certificate Providers in 2025 (Let’s Encrypt vs ZeroSSL vs Cloudflare SSL)
  • How to Fix WordPress “Updating Failed. The Response Is Not a Valid JSON Response” (REST API Fix)
  • How to Set Up a Minecraft Java & Bedrock Crossplay Server (GeyserMC + Floodgate Guide)
  • How to Fix “Destination Folder Already Exists” When Installing a WordPress Plugin or Theme
  • PHP 8.3 vs PHP 8.2 vs PHP 7.4 for WordPress: Speed Benchmarks & Safe Upgrade Checklist
  • How to Create Pretty Affiliate Redirect Links in WordPress Without a Plugin (.htaccess /go/ Guide)
  • How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” in WordPress (.svg, .webp, .json)
November 2026
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« Aug    

If you have any further queries regarding the conditions of the contact please do not hesitate to contact us.

Contact Us
copyright @ FreeHosting.Live
Theme by Colorlib Powered by WordPress
Back to top