OK, so the more I use wp-hive, the more I find a need to have additional files in the private domain directory (where robots.txt, etc. is supposed to go). So, how about this - in wp-hive, check for an extension (.html, .jpg, whatever) and redirect to that page in the private folder? Is this possible? Or, is there a better method?
WP Hive » Troubleshooting and How-To
The private directory
(2 posts)-
Posted 2 years ago #
-
I recommend using mod-rewrites to map an entire directory to a specific directory on the server. While I can't give you the exact details on how to do it, you will need to create a WP rewrite rule using regex.
It would be similar to how I manage the sitemap.xml file in the plugin, but instead of for specific files, it will be for a full directory.
It's something I intended to create for the new version, but haven't started yet.
Hope that helps a bit..
Posted 2 years ago #
Reply
You must log in to post.
