Replies: 0
Hey guys, after setting up the custom wp-admin with an option to disable default one I’am getting 404 error on new url.
.htaccess:
RewriteCond %{REQUEST_URI} /panel$
RewriteRule ^(.*)$ /panel/ [R=301,L]
RewriteRule ^panel(.*) /wp-admin$1 [L,QSA]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^wp-admin(.+) /index.php?wph-throw-404 [L]