WordPress.org

Ready to get started?Download WordPress

Forums

Subdirectory Multisite problem (25 posts)

  1. monserratem
    Member
    Posted 2 years ago #

    For some reason, everytime I try to create a new site in my wordpress multisite, I get the 404 Not Found Mesaage.

    I created a multisite using the following directions: http://codex.wordpress.org/Create_A_Network

    It worked perfect, and I was able to get the new dashboard and everything. I double checked to make sure I follow the "Network Setup" instructions under tools and everything. I setup my site to do Sub-directories and everything. The one and only thing that I didn't pay attention to was the permissions for my /var/www/wordpress folder. Are the default permissions what is blocking me? What chmod should I set for files and folders?

  2. Did you update your .htaccess?

  3. monserratem
    Member
    Posted 2 years ago #

    Yes, I updated everything as ordered.

  4. monserratem
    Member
    Posted 2 years ago #

    Is there a chat where I can talk to ppl live for wordpress?

  5. IRC, but just as here, it's free volunteer based support.

    What's the content of your .htaccess file in /var/www/wordpress

  6. monserratem
    Member
    Posted 2 years ago #

    my .htaccess file has:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ./wordpress/index.php
    #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]
    </IfModule>
    
    # END WordPress

    And thanks your help and telling me about the IRC :).

  7. RewriteBase /wordpress/
    RewriteRule ./wordpress/index.php

    That should be

    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
  8. monserratem
    Member
    Posted 2 years ago #

    Even with that chage, it still does not work :-/. I also noticed that my sample page stopped working. Even though I can get in to the administrative dashboard and look at homepage.

  9. I also noticed that my sample page stopped working.

    What sample page?

    Can you provide the real URL for your site?

  10. monserratem
    Member
    Posted 2 years ago #

    I would prefer not to post it online, since it's a test site for when the real thing comes. Do you have and e-mail I csn send you the site to, or can I send you a message?

  11. I don't do email support for free. Forums (and IRC) are free :)

    So domain.com/wordpress/ works

    domain.com/wordpress/wp-admin works

    domain.com/wordpress/wp-admin/network/ ... works?

    domain.com/wordpress/newsite/ doesn't work

    Is that right?

  12. monserratem
    Member
    Posted 2 years ago #

    I see. Most of what you said is correct.

    domain.com/wordpress work
    domain.com/wordpress/wp-admin works
    domain.com/wordpress/samplepage1.php 404 Not Available
    domani.com/wordpress/subdirectorysite1/ 404 Not Available

    What might be the problem?

  13. monserratem
    Member
    Posted 2 years ago #

    Sorry, that's not a sample.php, but sample/

  14. slaats
    Member
    Posted 2 years ago #

    I'm having a similar problem. Was bounced off of my hosting and now trying to re-establish.

    I can access the admin.php of the main site http://matthewslaats.com/projects/.

    But when I try to access the subdirectorysite (http://fallkill.matthewslaats.com/projects) I get a 404 message.

    Am thinking it could be an issue with a dedicated IP address, but not sure.
    Any ideas?

    Super grateful for any help.

  15. slaats - Make your own topic, please. It's really hard to try to follow two debugging threads at once :)

    monserratem - What happens at domain.com/wordpress/wp-admin/network ?

    And have you tried resaving permalinks for domain.com/wordpress/wp-admin/

  16. monserratem
    Member
    Posted 2 years ago #

    I get this:

    Not Found
    The requested URL /wp-admin/network was not found on this server.
    Apache/2.2.22 (Ubuntu) Server at domain.com Port 80

    What is meant by resaving? I'm a little knew at this, so I am not sure how I would resave (other than just making a page).

  17. Okay, that's 'good'. Or rather that means Multisite isn't working at all, so that's why the 404.

    Go into your server via FTP and make sure that the folder for /network/ is in there.

    Should be

    /wordpress/
    /wordpress/wp-admin/
    /wordpress/wp-admin/network/
  18. monserratem
    Member
    Posted 2 years ago #

    Oh... do I just create that?

  19. No!

    I'm asking if they're there :) It's a yes or no answer ;)

  20. monserratem
    Member
    Posted 2 years ago #

    okay, I went in, and it is there.

  21. Not Found
    The requested URL /wp-admin/network was not found on this server.
    Apache/2.2.22 (Ubuntu) Server at domain.com Port 80

    Okay that error says it's not... SOmething's not right if the .htaccess isn't working. The changes you made before, putting RewriteRule ./wordpress/index.php in, should never be needed.

    But you can't get to the network, so let's undo this change and see if you can get in?

  22. monserratem
    Member
    Posted 2 years ago #

    hmmm... I'm gonna take a look at .htaccess then.

    My .htaccess looks like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    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]
    </IfModule>
    
    # END WordPress

    Also, my network folder contains the following:
    about.php plugin-editor.php site-new.php themes.php
    admin.php plugin-install.php site-settings.php update-core.php
    credits.php plugins.php sites.php update.php
    edit.php profile.php site-themes.php upgrade.php
    freedoms.php settings.php site-users.php user-edit.php
    index.php setup.php theme-editor.php user-new.php
    menu.php site-info.php theme-install.php users.php

    I feel like the error is due to something so small, because I can even edit the site and add users, but I can't access the site dashboard, or visit the sites (404 error). Same problem with adding pages to the wordpress main site (domain.com/wordpress), I can edit and add pages, but I can't see them. It's as if everything is working, but something is off?

  23. That's definitely the right .htaccess for Multisite Subfolders.

    You could try manually re-uploading the WP files from a fresh download... Something really is off, but I can't think of what.

  24. monserratem
    Member
    Posted 2 years ago #

    Actually, I probably should. Because it's something, but I can't see what it could be. Luckily, it's only a test site, so I can trash it whenever, so better now than further delay.

    Thanks so much for your help!

  25. Oh a manual re-upload won't hurt anythig, but if it's a test site, start over. Something went bibbeldy :/

    I've had installs just NOT work and I'm sure it's cause I did something dumb, but I can never sort it out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.