Multisite 404 for pages in includes subdirectory

The problem was caused by the change to permalinks.

When I changed it to /%category%/%postname%/, it worked.