The MU forums have moved to WordPress.org

can not browse blogs : 404 error (13 posts)

  1. nitb
    Member
    Posted 14 years ago #

    ver: 2.8.6

    Ive created multiple blogs using the subdirectory structure (ie localhost.localdomain/blog1, localhost.localdomain/blog2 etc). These show in the admin control panel, accessible at the root blog, yet when i navigate/follow the link to the sub-blogs they show 404 errors. (ex. http://localhost.localdomain/testing1/)

    ( VHOST is 'no' )

    Also when as a user tried to login , i get same 404 errror at : http://localhost.localdomain/testing1/wp-admin/?c=1

    Admin login is fine & can create a main blog .

    htaccess has Rewrite base "BASE" to "/" ,

    LoadModule rewrite_module modules/mod_rewrite.so is present in httpd file

    htaccess file :
    [
    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,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]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    ]

    thanks in advance.

  2. nitb
    Member
    Posted 14 years ago #

    Its installed localy, I am using WAMP- Apache, mysql & php configuration.

    Also, Allow override is set as below...

    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">

    Options Indexes FollowSymLinks
    AllowOverride FileInfo Options

    Order allow,deny
    Allow from all

    </Directory>

    Thanks.

  3. redsoxmaniac
    Member
    Posted 14 years ago #

    I am having the same problem with my site. It is weird because the site was just working today. It stopped around this afternoon. I am getting 404, but I haven't changed anything.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    Then ask your host if they did anything on the server. Check your error logs.

  5. wpmuguru
    Member
    Posted 14 years ago #

    @nitb are you running it on localhost? That doesn't work. Has to be localhost.local or something else.

  6. thelaw
    Member
    Posted 14 years ago #

    I have a similar problem trying to upgrade from 2.71 to anything above it. I'm seeing an inability to redirect users, even the admin on the back end, to anything but the first blog in the site. As a result, all the remaining blogs are 404 errors. Nothing I've done can remedy the situation, even a complete replacement of all files, manual upgrade, etc. As I run the server, nothing has been done to change it. Not sure if this helps but if you can't upgrade, let us know what you were upgrading from and to. I just see 2.86 and not sure if you're already there.

  7. okso
    Member
    Posted 14 years ago #

    re lost blogs but main OK: I did my upgrade manually so I know which files were going up, I got a confusing 2.9.1 pls upgrade which I ignored knowing I'd uploaded 2.9.1.1. My main admin site still works (with 2.9.1.1 in the footer) but when I hit upgrade blogs I lost access to them, admin & front end. It looks like the subdomain blogs are not resolving/htaccess as the blogs still show in the main admin. Any ideas appreciated I'm not an expert on MU or the subdomain mapping process.

  8. rfair404
    Member
    Posted 14 years ago #

    Similar issue myself, Just installed WPMU 2.9.11 on local fedora 12 machine. Have access to wpmu backend and it looks like install is good, can create posts, new blogs etc.

    The issue I am having is not being able to view the blogs or posts. Seems like a mod_rewrite problem or something, perhaps a .htaccess configuration I am somehow missing.

    location of phpinfo file http;//rfair.homelinux.com/test/

    Thanks for help all

  9. chuckpalm
    Member
    Posted 14 years ago #

    Same error as all above, all sub-domains now offline! I have not done the upgrades yet, 2.8.1 just stopped working. Main site at http://ipnetcast.com works, but http://ipnetcast.com/press does not. Please someone post any ideas?

  10. SteveAtty
    Member
    Posted 14 years ago #

    have you lost your .htaccess file? or has mod_rewrite got turned off?

  11. rfair404
    Member
    Posted 14 years ago #

    I got this issue resolved, it was an apache setting.

    I found my /etc/apache/httpd.conf file and looked for:

    <Directory "/var/www">
    
    Options Indexes FollowSymLinks
    AllowOverride FileInfo Options <strong>(Change to AllowOverride All)</strong>
    
    Order allow,deny
    Allow from all
    
    </Directory>

    that seemed to do the trick

  12. okso
    Member
    Posted 14 years ago #

    Great you got it working, I'm feeling encouraged... This is my code from httpd.conf which looks fine BUT I believe all my files are at <Directory "/var"> *** no /www/html *** That is I have my wpmu in the directory httpdocs. So, should I also duplicate the below but with the <Directory "/var/www/html"> copied as <Directory "/var"> ???

    existing conf...
    <Directory "/var/www/html">

    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

    </Directory>

  13. andrea_r
    Moderator
    Posted 14 years ago #

    "So, should I also duplicate the below but with the <Directory "/var/www/html"> copied as <Directory "/var"> ???"

    No, yours is different because your files are in a different spot on your server.

    Also, this section only deal with mod_rewrite. Doesn;t have any info on wildcard subdomains.

About this Topic