At the top of your .htaccess
file before the WordPress front-controller try the following:
RewriteRule ^$ /admin [R,L]
This redirects https://example.com/
to https://domain.com/admin
. This is a temporary (302) redirect.
At the top of your .htaccess
file before the WordPress front-controller try the following:
RewriteRule ^$ /admin [R,L]
This redirects https://example.com/
to https://domain.com/admin
. This is a temporary (302) redirect.