I have a WP installation in the root of my domain (running on Apache / Linux).
I need to create a new WP installation (for various reasons that are outside of this post) and I have a choice of creating this second installation within either a) a subdomain or b) a folder in the main domain.
So I can create this new installation in either new.mydomain.com or mydomain.com/new/
For SEO and other reasons I prefer to go for the latter ie. creating this new WP installation in a folder.
However, I'm concerned about what problems I might run into. For example, the "main WP installation" (in root) has a htaccess file. Rules in that htaccess file might impact the new WP installation in the folder. So if the root htaccess had, for example, a block on a certain IP then that IP might not be able to access mydomain.com/new/
Am I right to be concerned about issues with files in root like htaccess and robots.txt (and sitemap and others)? What problems am I likely to run into? What can I do to alleviate these problems?
Many thanks in advance.
.htaccess
, you can usually override parent directives in the child.htaccess
file (including IP blocking) - but this "override" is something that you would need to explicitly implement.