Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Admin Bar Redirecting back to Home from Sub-directory Install.

@capnmarrrrk

Member

Thanks @djpaul,
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
RewriteRule . index.php [L]

I’m pretty sure it’s subdir, otherwise it wouldn’t work right?
`define( ‘SUBDOMAIN_INSTALL’, false );`
Can I un/disable the re enable?

Skip to toolbar