WhatsApp

How to Troubleshoot a cPanel Website That Works at the Root but Fails in a Subdirectory

11/10/2026

An application may load from the main domain while a subdirectory fails because of rewrite rules, document root mapping, permissions, or application base URL settings.

What to check

Compare directory ownership and access, rewrite configuration, application paths, PHP settings, and error logs for the root and subdirectory. Confirm whether the subdirectory is a separate application.

Recommended next step

Correct the specific path or rule and test direct and redirected URLs. Informatix Systems can troubleshoot cPanel hosting and website configuration.