I've checked an issue on my wordpress. When browsing the domain page root https://domain1.com if adding a trailing slash at the end, like this https://domain1.com/ it gives a blank page. If removing the trailing slash, it opens fine. Any fix for this ?
On the other hand, if opening any page without trailing slash, I have a blank page. Example: https://domain1.com/page1 but if I add an ending slash it opens fine, like this: https://domain1.com/page1/
I'm sure this can be fixed with a correct .htaccess file, just not sure which settings.
This is what I have:
RewriteEngine on
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thanks for your help!