mauricioquito
Member
Posted 9 months ago #
I NEED SOME URGENT HELP PLEASE!
I just migrated a wordpress blog from one host to another. Also migrated database, updated config.php file and all the other steps but I get this:
http://blog.mauricioquito.com
now I notice my blog is working here
http:/blog.mauricioquito.com/my-blog
WHY??
Also when I go to
http://blog.mauricioquito.com/wp-admin/
I don't see my dashboard, I see the index of/
HOW CAN I FIX THIS???
Thanks
ClaytonJames
Member
Posted 9 months ago #
This works. http://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.
mauricioquito
Member
Posted 9 months ago #
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??
ClaytonJames
Member
Posted 9 months ago #
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.