Viewing 15 replies - 1 through 15 (of 29 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What doe sthe 404 look like?

    Also when you installed in a subfolder, did you redirect it to the main folder BEFORE multisite activation? (Of note, you should have, and yes, it works fine ?? )

    What’s in your .htaccess?

    Thread Starter ibojic

    (@ibojic)

    Hi Mika,

    I was hoping you would pick up my question. It was through some of your replies that I managed to come so far.

    Yes, when I installed in a subfolder I did redirect it to the main folder BEFORE multisite activation.

    My .htaccess file:

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

    404 Looks like:
    Has a header and footer from the template. In the content area is a big “404 Not found” and “This is somewhat embarrassing, isn’t it? It looks like nothing was found at this location. Maybe try a search?” and a form entry for search.

    Appreciate your help.
    Ivana

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    File Permissions are NOT the issue (unless you had this problem before Multisite was activated).

    https://jazzwabit.com/blog/2013/09/29/hello-world/ works, which is good.

    What URL are you trying to go to? https://jazzwabit.com/wordpress/wp-admin/network ?

    Thread Starter ibojic

    (@ibojic)

    Hi Mika,

    From the supper admin panel
    My Sites->Network Admin->Dashboard
    My Sites->Network Admin->Sites
    My Sites->Network Admin->Users

    all three give 404 page not found error.

    What I wanted to do is: install sites in subfolders both WordPress and non WordPress sites.

    Appreciate your help.

    Ivana

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What URLs are those giving you?

    Thread Starter ibojic

    (@ibojic)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s in your .htaccess?

    It should have a /wordpress/ folder mentioned, IIRC…

    Thread Starter ibojic

    (@ibojic)

    Hi Mika,

    If you just scroll up this page you will see my .htaccess file

    wordpress is mentioned on the second line:
    RewriteBase /wordpress/

    Thank you

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ahhh, sorry, I was looking for the code formatted bits… Fixed that for you.

    Okay, so you have /wordpress twice. Try this

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

    (@ibojic)

    Hi Mika,

    First: thank you for wrapping the code.

    Second: changing second line in the .htaccess file
    from

    RewriteBase /wordpress/

    to

    RewriteBase /

    did not change anything. Still getting the same error: 404 Not found when trying to access Dasboard, Sites or Users from My Sites-> Network Admin

    Thanks
    Ivana

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I can’t reproduce this. I just did a clean install to make sure, and it works fine.

    Are you editing the .htaccess in root, and NOT the one in the /wordpress/ folder?

    Thread Starter ibojic

    (@ibojic)

    Yes, I was editing the .htaccess in the root.

    Maybe I should try from the beginning again….

    Appreciate your help

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If there’s not a lot of data, yeah that’s generally where you get at this point.

    Thread Starter ibojic

    (@ibojic)

    Hi Mika,

    I did a fresh install in subfolder again. This time I run the wordpress install from the root directory not from the subdirectory. After setting network through tools: updating wp_config file in subdirectory and htacces file in root directory everything looks almost good except for one thing. On the dashboard under “my sites”
    I have
    “Visit Site”
    instead of
    “Network Admin”

    I check the database and all the network tables have being generated. What am I missing?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Are you logged in as the SuperAdmin?

    Read https://halfelf.org/2013/recovering-your-cape/ for how to make sure and edit if needed.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘Multisite installation in subfolder on Bluehost – superadmin 404 error’ is closed to new replies.