Making a physical folder with .htaccess without breaking WordPress
I am currently relaunching a website, moving from an archaic CMS to WordPress. Unfortunately there will be thousands of unavoidable 301 redirects to set up due to a complete change in site structure.
I want to set up multiple .htaccess files, split into folders, so as to not have thousands of rules in one .htaccess in the / root directory. However, as soon as I create a physical folder on the server that corresponds to a URL WordPress is using (e.g. /news, or /services), Apache tries to load that folder rather than letting WordPress handle it.
Is there a way for a phyiscal folder with a .htaccess file inside to exist (e.g. at /news), but for WordPress to still work correctly and load the pages it would normally load if you visited the URL (e.g. /news)?
- The topic ‘Making a physical folder with .htaccess without breaking WordPress’ is closed to new replies.