The root of my domain successfully redirects to a subdirectory, meaning example.com
redirects to example.com/abc
.
example.com
has no WordPress install.
example.com/abc
has its own WordPress install.
The homepage on http://example.com/abc
is not HTTPS and I don't want it to be, however, I do want all the sub-pages to be HTTPS (eg. https://example.com/abc/xyz
or https://example.com/abc/thistoo
)
My current .htaccess
file is the standard WordPress stuff...
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /abc/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /abc/index.php [L]
</IfModule>
# END WordPress
I've checked and tried many other solutions that I've found here but so far no joy.
p.s. I know to re-save permalinks after making changes like this to the .htaccess
file.
example.com
redirects toexample.com/abc
" - where are you performing this redirect? "The homepage onhttp://example.com/abc
" - presumably you meanhttp://example.com/abc/
(with a trailing slash)?