Forums

[closed] Receiving 404 errors when using multi user function (7 posts)

  1. swd2010
    Member
    Posted 1 year ago #

    Hi all,

    I'm receiving 404 errors when using multi user function, when I create a sub-directory site such as http://blog.internal.net/username the blog is created but I see a 404 error when visiting it, the edit and backend links work fine. I'm running WordPress on Apache running on Windows.

    I have a .htaccess file in C:\Apache2\htdocs (which contains the wordpress files).

    The .htaccess file contents are:

    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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    My wordpress install is installed at http://blog.internal.net, so the sub-directory blogs are http://blog.internal.net/jsmith and http://blog.internal.net/pjones etc.

    Thanks for any help, we're desperate to get this working.
    Steven

  2. jani-u
    Member
    Posted 1 year ago #

    I had the same problem just last night. When I created a new blog in subdirectory everything seemed to go ok, and it was listed in sites. But when I tried to visit the new blog it gave an 404 not found.

    It seems to be a problem with W3 Total Cache plugin. When I disabled that, the blogs created after disabling the plugin are found. Also just disabling the database and object cache seems to solve it.

  3. dorwardv
    Member
    Posted 1 year ago #

    how do you disable these things? i cant seem to find these plugin in my setup

  4. MLO2011
    Member
    Posted 1 year ago #

    I have the same problem. How did you solve this?

  5. MLO2011 - are you on a Windows server or a Unix one?

  6. jani-u
    Member
    Posted 1 year ago #

    I'm on Unix server and only solution I found was to disable object caching. This can be done in the main page of the W3 plugin's settings...

  7. Folks, you really need to read the original post before you decide you have the same error ;)

    I have a .htaccess file in C:\Apache2\htdocs (which contains the wordpress files).

    The ORIGINAL post is about a Windows server. I'm closing this post, and if y'all are having problems on Unix, make a new one please. Yes, it totally matter.

Topic Closed

This topic has been closed to new replies.

About this Topic