root_directory:
- wp-content/
- wp-admin/
- wp-includes/
- stackoverflow
The text above is the sample directories in my root folder.
This time I want to create a page named “stackoverflow”.
Everything is working, the page is created and the url is
www.mywebsite.com/stackoverflow
Now, every time I visit www.mywebsite.com/stackoverflow, it only loads the directory and not the page.
Any solutions for this guys? Thanks!
You have to change your directory name or your file name.
You cant keep directory and file with same name in same directory.