HTTP Not Redirecting to HTTPS: How to Force Secure Traffic
Leaving HTTP open exposes passwords and hurts search ranking. Learn how to redirect all HTTP traffic to HTTPS using Cloudflare, Nginx, Apache or cPanel.
Leaving HTTP open exposes passwords and hurts search ranking. Learn how to redirect all HTTP traffic to HTTPS using Cloudflare, Nginx, Apache or cPanel.
If both www and non-www open your site, search engines may see two copies. Pick one, add a permanent 301 redirect, and confirm it with a single curl command.
A 403 means the server found the page but will not serve it. Check file permissions, the index file, .htaccess rules, firewalls and security plugins in that order.
A 404 means the server has nothing at that address. Find which URLs are missing, decide whether to restore, redirect or leave them, and make the error page helpful.
A 500 error hides the real problem from visitors. The details are in the error log. Here is how to find it and what the most common messages mean.
A 502 means one server received a bad answer from another. Work out which layer produced it, then check the app, its process manager, and the proxy settings.
When a page appears as plain text, or images show as broken icons, the browser cannot find the files. Use the Network tab to see the bad paths and correct them.
A file listing, a 403 or the host's default page means the server cannot find a homepage file. Fix the index file, its location and folder permissions.
Unclosed tags and wrong nesting make layouts break in some browsers but not others. Validate the page, read the first error, and fix structure from the top down.
A PHP parse or fatal error names the file and line that broke. Read the message, find the real mistake (often a line earlier) and recover without admin access.
Search Console says it could not fetch your sitemap. Go through the real causes in order: wrong URL, redirect, robots.txt block, bad content type, or size limits.
ERR_TOO_MANY_REDIRECTS means two rules send visitors back and forth. Trace the loop, identify the pair (Cloudflare, WordPress, www, proxy) and fix the right one.