Viewing 3 replies - 1 through 3 (of 3 total)
  • This works. https://blog.mauricioquito.com/wp-admin/index.php

    Apache DirectoryIndex Directive

    Could there be a setting in your hosts control panel for apache that needs to be adjusted in order to serve index.php by default? Or maybe try putting “DirectoryIndex index.php” – without the quotation marks – at the very top of .htaccess. That might work too, I think. I would try the settings in cPanel first, though. Might as well do it correctly if that’s the issue.

    Thread Starter mauricioquito

    (@mauricioquito)

    Hey Clayton, thanks for your help but none of the above worked… Really don’t know what to do..I have tried almost everything..

    Any other ideas??

    Could the support group at your host be of any assistance? It looks like a simple server setting issue from here. It seems that the site at the primary domain is all html, so it serves index.html with no issue, but index.php is just not being served on your sub-domain site.

    It still seems to me like “index.php” may just need to be added to the DiectoryIndex Directive in the apache configuration in order to serve both types of documents from your domain. If you can confirm that index.php has been added to the list of document types your site will serve, then perhaps it’s a different issue. Contacting your host for advice might be a way to quickly rule it out and – or – fix it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘index of/ error’ is closed to new replies.