I’ve got a WordPress page where the permalink is /foo
.
I’m hoping to add a new HTML page (non-WP) at /foo/bar
, but when I created that folder via FTP, obviously the original /foo
page started showing an empty directory, instead of the old WP page.
Is there any way of combining the two, so the index of /foo
is the WordPress page and the index of /foo/bar
is a non-WP HTML page?
Many thanks!
The HTTP request first resolve the folder which you placed inside your WordPress installation. So there is no direct way to achieve this becuase your sub-folder name is same as the page URL.
You need to rename your folder-name/page permalink to make this happen.
Here is some suggestions,
Also please ask WordPress related question here: WordPress Stack Exchange