Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

404 – wp-admin rewritten with disabled default

$
0
0

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]
  • This topic was modified 7 minutes ago by dersime37.

Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>