Skip to content
Nazmul Nikhil
Menu

500 Page in Ahrefs: Finding and Fixing Internal Server Errors

Ahrefs flags pages that return 500 Internal Server Error. Here's how to find the cause in your server logs and fix the most common ones, from plugins to .htaccess.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
500 Page in Ahrefs: Finding and Fixing Internal Server Errors
Photo: Kevin Ache on Unsplash

In short

Ahrefs flags "500 page" for internal URLs that return HTTP 500 Internal Server Error. Google treats 5xx errors as a sign the server is struggling and slows down crawling. If they persist, indexed URLs are eventually dropped. Common causes are a broken plugin or theme, a bad .htaccess rule, code errors, and PHP memory limits. Check the server error log, fix the cause, and recrawl.

A 500 error means something broke on the server while building the page. It's a generic message, so the real cause is in your error logs.

First, check if it's still happening

Open a few flagged URLs in a browser. If they load now, the error was temporary, perhaps during a deploy or a traffic spike. Recrawl to confirm. If the same URLs keep failing, it's a real bug.

Find the cause

On cPanel hosting, open cPanel > Metrics > Errors to see the latest error log entries, or check the error_log file in your site's folder. Look for the time Ahrefs crawled.

Common cause Fix
A plugin or theme update broke something Roll back or deactivate it, then update again when fixed
Bad rule in .htaccess Restore the last working .htaccess
PHP memory limit reached Raise the limit, or fix the code using too much memory
Wrong PHP version for the code Switch the PHP version in cPanel (MultiPHP Manager or Select PHP Version)
Code error on one template Fix the bug; often a null value or missing field
Node.js app crashed Check the app's logs and restart it

Platform tips

WordPress: turn on debug logging by adding these lines to wp-config.php, then check wp-content/debug.log. Turn it off when done.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Shopify, Webflow and Wix: server errors on hosted platforms are usually short platform incidents. Check the platform's status page. If one page keeps failing on Shopify, a broken Liquid template or app section is the likely cause.

Custom builds: log every 500 with the route and error message, and handle missing data gracefully. A missing database field should show a 404 or a fallback, not crash the page.

Common mistakes

  • Showing an error page that returns 200. Keep real errors as 5xx, so search engines retry instead of indexing the error message.

  • Ignoring intermittent 500s. If they come back on every crawl, Google sees them too.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site Audit500 page500 internal server error seoFix 500 error
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com