• Resolved stephaniefraser

    (@stephaniefraser)


    Hi there.

    I am trying to make a wp multisite work for the 2nd time.

    I was working on a different one the other day with no subdirectory setup on blue host…. the css wasn’t applying to the sub sites… Andrea said there was a bug track ticket already in process.

    Anyway, on a different hosting — webmasters.com — I was able to set up a multisite.

    the css applied to the subsites WITH the subdirectory chosen.

    THEN… when I want to get the permalinks working the whole thing stops working.

    Here’s the timeline:

    permalinks with no multisite work just fine

    htaccess file says:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    So, add the network stuff and make the htaccess file the suggested (by wp):

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    and then it says the pages are no longer there.

    Not Found
    Sorry, the requested URL was not found on this server.
    Apache/1.3.27 Ben-SSL/1.48 Server at Port 80

    Any ideas?

    Thanks as always!

    I hope this is clear. 🙂

    Stephanie Fraser
    Vermont.be

Viewing 15 replies - 1 through 15 (of 22 total)
  • So, add the network stuff and make the htaccess file the suggested (by wp):

    You have to *replace* the old htaccess with what WP gives you for the network. YMMV. You may also need to resave the permalinks on the settings page.

    Thread Starter stephaniefraser

    (@stephaniefraser)

    When I replace the entire htaccess file is when it stops…

    Hmm.. let me go reset the permalinks and see if it is that easy.

    (I sure do hope so!)

    Thanks

    Be right back

    Thread Starter stephaniefraser

    (@stephaniefraser)

    Thank you! Going back to the permalink page and re-setting it did it.

    New issue: Can’t load media – pictures — into the sub sites.

    It isn’t making the right URL…

    Should I start a new thread?

    here’s a link to a picture I loaded just now: http://personalandpolitical.vermont.be/files/2010/08/mikeroselle1.jpeg

    Stephanie

    Covered in the forum sticky…. it *is* the right URL. Subsites images get physically written to a blog-specific location on the server, then that url is re-written thru the magic of… you guessed it… htaccess.

    Thread Starter stephaniefraser

    (@stephaniefraser)

    I read the forum sticky…

    I will read it again…

    Thread Starter stephaniefraser

    (@stephaniefraser)

    Ok, I am lost.

    The steps are all there:

    1) the permalinks work b/c you can get to the pages
    2) the wildcard dns is working b/c the sub sites can be set up.

    this is the current htaccess file.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    3) Still the images don’t load properly in the sub sites.

    Do I need another line in this file?

    Stephanie

    When I try to view the image, I get an error from firefox that it can’t even connect to the server. that’s outside any htaccess rules, and not the usual “I can’t see my images” issue.

    Oooo and now I’m getting a db error.

    Thread Starter stephaniefraser

    (@stephaniefraser)

    yeah, I just got back to my computer to find that the entire site doesn’t work anymore.

    So I logged into webmasters.com to find the following message:

    “Your sites WordPress processes are crashing the server. Your site has been temporarily disabled.:

    I keep getting a voicemail from their tech support, so I guess I am done for the night.

    All my addon domains are suspended too.

    : (

    Thread Starter stephaniefraser

    (@stephaniefraser)

    Andrea,

    You might want to know this:

    the wp-admin/admin-ajax.php file was killing their server.

    The tech dude said it took about 20 seconds.

    Here’s his note:

    I believe the server has stabilized now.

    I have renamed your index.php file in the main /httpdocs directory and also
    /wp-admin/admin-ajax.php <— This is the file that was bringing the server down in less than 20 seconds.

    I have re-enabled your site. If you go to it now though, you will get nothing.
    Please begin to remove the WordPress multi-site or whatever it was that you had turned on. I don’t want to have to shut you off again, and the server has now crashed 3 times.

    I am beginning to think I am wordpress multisite cursed.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It sounds like your server isn’t powerful enough for wordpress, let alone multisite. That file is used by wordpress all types.

    What are your server specs?

    Thread Starter stephaniefraser

    (@stephaniefraser)

    Account: vermont.be
    PHP Version: 4.4.9
    MySQL Version: 5.1.39

    Thread Starter stephaniefraser

    (@stephaniefraser)

    As of now there is no more subdirectory sites. The admin-ajax.php file was renamed and the index file as well.

    I set up the redirect to a subfolder single install of wordpress… which is where I started this day 10 hours ago.

    Slightly sad about the wasted summer day.

    All help is thankfully accepted.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What memory and CPU do you have?

    (Also, php 5 would be better than 4, but it should still work on 4)

    Thread Starter stephaniefraser

    (@stephaniefraser)

    Let me ask the tech peeps.

    I think I am going to call this a day, so it will be tomorrow when I get back to you.

    Thank you so much everyone!

    PHP 4 is old. Any host using it as the default isn’t very good.
    Ipstenu is correct – the admin-ajax file is used by all wordpress sites. It’s certainly not multisite specific.

    See if your host will bump you to PHP 5 at the very least.
    It’s also quite possible you’re topping their limits.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Permalinks and Multisite not mixing well’ is closed to new replies.