Users unable to access wp-admin
-
I was running wpmu 2.9.1 and upgraded to wp 3.0.1 I am running subdirectory (not subdomain).
As the super admin I can access my wp-admin, but get 404 page not found errors if I try any of the users wp-admin
for instance
mainsite.org/directory/wp-admin/ works just fine
mainsite.org/directory/user1/wp-admin/ gives a 404if you take the end slash off
mainsite.org/directory/user1/wp-admin
it directs you to
mainsite.org/directory/wp-adminthe strange thing is
mainsite.org/directory/user1/wp-admin/index.php
works just fine.If you type out the entire url including index.php you can access and do everything with the backend and it all goes swimingly.
my htacess looks like this
# BEGIN WPSuperCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /mysietch/ AddDefaultCharset UTF-8 RewriteCond %{REQUEST_URI} !^.*[^/]$ RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$ RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/hermes/web07/b2275/pow.scytle/htdocs/mysietch/wp-content/cache/supercache/%{HTTP_HOST}/mysietch/$1/index.html.gz -f RewriteRule ^(.*) /hermes/web07/b2275/pow.scytle/htdocs/mysietch/wp-content/cache/supercache/%{HTTP_HOST}/mysietch/$1/index.html.gz [L] RewriteCond %{REQUEST_URI} !^.*[^/]$ RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$ RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* RewriteCond %{DOCUMENT_ROOT}/hermes/web07/b2275/pow.scytle/htdocs/mysietch/wp-content/cache/supercache/%{HTTP_HOST}/mysietch/$1/index.html -f RewriteRule ^(.*) /hermes/web07/b2275/pow.scytle/htdocs/mysietch/wp-content/cache/supercache/%{HTTP_HOST}/mysietch/$1/index.html [L] </IfModule> # END WPSuperCache RewriteEngine On RewriteBase /mysietch/ RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$ RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$ RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$ RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz [L] #uploaded files RewriteRule ^(.*/)?files/$ index.php [L] RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
my wp-config looks like this (minus my passwords and salts etc)
<?php // ** MySQL settings ** // define('WP_CACHE', true); //Added by WP-Cache Manager define('DB_NAME', ''); // The name of the database define('DB_USER', ''); // Your MySQL username define('DB_PASSWORD', ''); // ...and password define('DB_HOST', ''); // 99% chance you won't need to change this value define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); define('VHOST', 'no'); $base = '/mysietch/'; define('DOMAIN_CURRENT_SITE', 'thesietch.org'); // don't include "http://www." at the beginning define('PATH_CURRENT_SITE', '/mysietch/'); // this should be the path relative to your domain. For instance, if your WPMU installation is located at 'http://www.example.com/blogs/', then the value of this constant should be set to '/blogs/' instead of just '/' // double check $base if( $base == 'BASE' ) die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' ); // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-includes/languages. // For example, install de.mo to wp-includes/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); define( "WP_USE_MULTIPLE_DB", false ); define('SECRET_KEY', ''); define('SECRET_SALT', ''); define( 'LOGGED_IN_KEY', '' ); define( 'LOGGED_IN_SALT', '' ); define( 'AUTH_KEY', '' ); define( 'SECURE_AUTH_KEY', '' ); define( 'SECURE_AUTH_SALT', '' ); define( 'NONCE_KEY', '' ); define( 'AUTH_SALT', '' ); define( 'NONCE_SALT', '' ); /* That's all, stop editing! Happy blogging. */ define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); ?>
any help would be greatly appreciated.
Thanks
- The topic ‘Users unable to access wp-admin’ is closed to new replies.