WordPress – Directory has no index file
I recently had a problem where one of my pages was failing to load with an error stating that could not locate an index file. Current changes I had made obviously pointed something I had done but it took a while to figure out!!
The answer
I had created a page called Play which simply shows list of sub-pages. These sub-pages primarily used iFrame to display a page sitting outside of WordPress. Unfortunately these pages were sitting in a directory called ‘play!’!!!! By changing this directory to ‘playstuff’ fixed the problem.
Moral of the story
Do not create sub-directories in the same directory of the WordPress installation with the same name as any pages.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.




