This problem has been driving me nuts the past few hours. Have set up various WordPress installs before and never encountered this issue. Basically heres the break down.
I was hoping to install a development environment in a subdirectory of an existing website (mainly just for messing around with). The existing website has no connection to the WP install, just thought it would be quick and easy to stick it under there, it appears I was wrong….
Anyway so I have the install working as expected then when I went to turn the permalinks on the whole things goes to pot. I can view the home page of the WP install but any other internal pages just return a blank screen (not when I turn the permalinks off in the settings it works fine).
Thought it was a mod_rewrite issue but I have tried changing the .htaccess rules to send all URLs to google which worked fine, phpinfo() says the modules loaded OK, checked the php error log which doesn’t display any errors, so I’m think it might me due to me installing in a subdirectory?
I have noticed that theres plenty of postings about how to do this, including ones in the WP codex itself. However I want to keep the existing website and the wp install completely separate, which none of them seem to address, is it even possible? I would really like to avoid having to setup a new domain.
——- UPDATE ———-
The root directory has no .htaccess file only the subdirectory which the WP is installed in. Its contents are just the WP generated one:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /questionmark/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /questionmark/index.php [L]
</IfModule>
# END WordPress