htaccess – WP is installed in the white screen of the subdirectory

I have read many posts, but I can not find what I'm looking for!

My WP has been switched from localhost to online, and now a blank page is displayed (wp-admin is working normally). This is the structure: sub.domain.nl/dir1/dir2/WP-install

Something I have to get rid of the redirection, I think, after I tried this:
– Remove all plugins
– Activate the default template
– change functions.php
– Debug mode turned on
– played around with wp-config and .htaccess

Codex.wordpress was also not very helpful because, like most posts, it requires me to place files (like .htaccess) in the root of the site.

The WP installation should only be in the sub.domain.com/dir1/dir2/WP-install Directory. Because there are other pages above: sub.domain.nl/dir1/dir2 (like a & # 39; site menu & # 39;).

The. Access:





Turn on the RewriteEngine
RewriteCond% {HTTP_HOST} ^ (www.)? Sub.domain.nl $
RewriteCond% {REQUEST_URI}! ^ / Dir1 / dir2 /
RewriteCond% {REQUEST_FILENAME}! -F
RewriteCond% {REQUEST_FILENAME}! -D
RewriteRule ^ (. *) $ / Dir1 / dir2 / $ 1
RewriteCond% {HTTP_HOST} ^ (www.)? Sub.domain.nl $
RewriteRule ^ (/)? $ Dir1 / dir2 / index.php [L] 

Another attempt at .htaccess (This will display the site, but all links will be duplicated like: https://www.sub.domain.nl/subdomain.nl/dir1/dir2/index.php)

# BEGIN WordPress

Rewrite Engine On
RewriteBase /subdomain.nl/dir1/dir2/
RewriteRule ^ index  .php $ - [L]
RewriteCond% {REQUEST_FILENAME}! -F
RewriteCond% {REQUEST_FILENAME}! -D
RewriteRule. /subdomain.nl/dir1/dir2/index.php [L]




# END WordPress