• Resolved Ynattirb

    (@ynattirb)


    I’m using wp multisite with a subdirectory blog on bluehost. My main site is working fine, but my subdirectory site is not showing any theme styles and I can not access the backend of the sub site. I can access the network admin. The url for the subdirectory site is stixyarn.com/tangled. Is it something in my .htaccess file? Here is the content of my .htaccess file.

    # BEGIN WordPress
    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).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    # END WordPress
Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You’re on bluehost so they’re generally set up their server with AllowOverride, so we don’t have to worry about that.

    That error usually speaks for a .htaccess problem. It looks fine. Are you sure it’s got the period in front?

    Thread Starter Ynattirb

    (@ynattirb)

    It definitely has the period in front.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Provided you’ve already turned off all your plugins, I’d ask Bluehost, that’s a surprisingly abnormal error for them :/

    I have the same problem. If you go to cny.mic-net.net it works but if you go to cny.mic-net.net/mymedicaremadesimple/ it doesn’t work. & I can’t get the wp-admin to work for the subdir site either. Any suggestions?

    I have confirmed the .htaccess contents (see below) & it is chmod for 666. Because of your post above, I also confirmed it is DOT htaccess & not just htaccess.

    my .htaccess
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    jmccormick626, when the directions said ‘replace’ they meant it ??

    Delete this section:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Ynattirb, I checked your urls and they looked solid. Do you get any errors now?
    jmccormick626, you still seeing any wonky errors after taking Ipstenu’s advice? I’m curious to see how this works out on Bluehost. I’m starting multi-site soon, so any advice ya’ll can give me on how you set it up on Bluehost would sure help! Thanks!

    Thread Starter Ynattirb

    (@ynattirb)

    I did get it all working. All I did was re-upload my .htaccess file. That’s it.

    Mika, the directions said to replace the wordpress section, so I did just what the directions said.

    I’ll try your suggestion. It has since been moved to it’s own domain right now & that process was done. But I’ll make sure that the htaccess is just that part & nothing else, just in case.

    It’s on it’s own domain on godaddy. But the client’s package there required me to manually install WP, so I was occupied getting the main site itself up & running.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You didn’t replace, jmccormick626. If you did, the old code (which is what I said to remove) wouldn’t have been there. ?? It’s really easy to do, and thankfully easy to fix. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Subdirectory Site in Multisite Not Showing Theme Styles’ is closed to new replies.