{"id":2160913,"date":"2011-07-01T16:32:45","date_gmt":"2011-07-01T16:32:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-access-subdirectories\/"},"modified":"2016-08-20T01:08:36","modified_gmt":"2016-08-20T01:08:36","slug":"how-to-access-subdirectories","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-access-subdirectories\/","title":{"rendered":"How to access subdirectories?"},"content":{"rendered":"<p>Quite some time ago, I remember not being able to access WP installs in a subdirectory. I don&#8217;t remember how I made changes in order for this to work. Can someone help me?<\/p>\n<p>Example: I have a WP install at www.mydomain.com and a WP install at www.mydomain.com\/WP2install<\/p>\n<p>I am getting a 404 error at: www.mydomain.com\/WP2install, rather than the WP showing up.<\/p>\n<p>What do I need to change or add to the .htaccess file?<\/p>\n<p>Here is what is currently in my .htaccess file for the main site, not the WP2install.<\/p>\n<pre><code># To set your custom php.ini, add the following line to this file:\n# suphp_configpath \/home\/yourusername\/path\/to\/php.ini\n\n# BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n\n# END WordPress<\/code><\/pre>\n<p>I know there are lots of topics on this, but none of them make any sense. I can&#8217;t seem to figure out what I need to add to this.<\/p>\n","protected":false},"template":"","class_list":["post-2160913","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2160913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2160913\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2160913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}