Forums

[resolved] [closed] Permalinks and Multisite not mixing well (23 posts)

  1. stephaniefraser
    Member
    Posted 1 year ago #

    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

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    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.

  3. stephaniefraser
    Member
    Posted 1 year ago #

    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

  4. stephaniefraser
    Member
    Posted 1 year ago #

    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

  5. Andrea_r
    team pirate
    Posted 1 year ago #

    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.

  6. stephaniefraser
    Member
    Posted 1 year ago #

    I read the forum sticky...

    I will read it again...

  7. stephaniefraser
    Member
    Posted 1 year ago #

    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

  8. Andrea_r
    team pirate
    Posted 1 year ago #

    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.

  9. stephaniefraser
    Member
    Posted 1 year ago #

    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.

    : (

  10. stephaniefraser
    Member
    Posted 1 year ago #

    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.

  11. 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?

  12. stephaniefraser
    Member
    Posted 1 year ago #

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

  13. stephaniefraser
    Member
    Posted 1 year ago #

    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.

  14. What memory and CPU do you have?

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

  15. stephaniefraser
    Member
    Posted 1 year ago #

    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!

  16. Andrea_r
    team pirate
    Posted 1 year ago #

    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.

  17. stephaniefraser
    Member
    Posted 1 year ago #

    I just asked the tech dude that very thing, Andrea. Bump me to php 5 as the default.

    *smile*

    I am working on two sites now that I would really like to work without problem.

    If webmasters.com isn't up to it due to old php.

    And bluehost.com isn't up to it due to lack of wildcard dns (that's the one without the cascading CSS to the sub sites -- see my other recent cursed thread for details).

    Who is?

    Any recommendations on hosting accounts where multisite wordpress sites work well without burps, toots and poops?

    Thank you all so much!

    Andrea, I can contact you through your wpmututorial.com site for other questions I have for you, right?

  18. stephaniefraser
    Member
    Posted 1 year ago #

    to be clearer: two different projects both needing wp multisite capability, one for sure with buddypress.

  19. I use LiquidWeb.com, but it's a bit more expensive than blue host.

  20. Andrea_r
    team pirate
    Posted 1 year ago #

    Andrea, I can contact you through your wpmututorial.com site for other questions I have for you, right?

    Yep.

    I can give a long list of hosts outside the forum.

  21. stephaniefraser
    Member
    Posted 1 year ago #

    Ok... the whole big bang may have been a "disk quota" problem.

    They have increased my "space" on their server and we shall see.

    I really appreciate this forum and all the good work, help and friendly tone here!

  22. wghirakawa
    Member
    Posted 9 months ago #

    Aloha stephanie, I am trying to host a multisite on webmasters.com, and cannot figure out how to do this with an addon domain. Do I need to make it the primary domain?

  23. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

    wghirakawa - please make a new topic for yourself.

Topic Closed

This topic has been closed to new replies.

About this Topic