WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Multisite/Network too many redirects " (9 posts)

  1. Wayneoween
    Member
    Posted 1 year ago #

    Hi!

    I had a Multisite set up with WP 3.5 and first did the first page http://marius-schuller.de which worked all the time. I had a memcache Plugin activated.
    Then I wanted to set up my blog on http://blog.marius-schuller.de which also went ok (because I was logged in all the time).
    As I finished the first post and sent it to my friend he said that he is getting an Error:
    "310 (net::ERR_TOO_MANY_REDIRECTS)"
    I logged out and got it myself. But only for / direct links to Posts still work: http://blog.marius-schuller.de/willkommen-im-jahr-2012/

    I have read around the internet and it seems this problem usually occures on the wp-admin sites but not this time.
    I first fixed it when I deactivated the memcached-plugin. I tought it was fixed but today I was informed that it's still the same error.

    Every time one surfs to either marius-schuller.de or blog.marius-schuller.de one gets redirected to marius-schuller.de/< or respectively blog.marius-schuller.de/< and I have no idea where this comes from.
    Edit:
    Also this error comes up on pages like http://blog.marius-schuller.de/instapaper-liste/

    It all began after I started working on the second site (blog). And with working I mean changing themes / theme-options and settings.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
  2. Wayneoween
    Member
    Posted 1 year ago #

    It definitely was the caching.

    I removed define('WP_CACHE', true); from my wp-config.php and removed the plugin.
    Everything works again now.

    I used WP-FFPC but looking for another Cache-Plugin now...

  3. WP-FFPC ?

    I know W3TC and WP Super Cache....

  4. Wayneoween
    Member
    Posted 1 year ago #

    I know that was the problem. I did not use the more popular ones ;)
    As far as I can see that was the problem.

  5. petermolnar
    Member
    Posted 1 year ago #

    Hi @Wayneoween,

    I'm the writer of WP-FFPC and I'd like to ask you to be a bit more specific on the bug for me to solve it :)

    Can you please tell me the setup you used with WP-FFPC? Which backend ( apc, memcache, memcached ) did you use?

    Thanks,
    Peter

  6. Wayneoween
    Member
    Posted 1 year ago #

    Hi Peter!

    Of course I try to help!
    So I had created a Network with only one site marius-schuller.de where I then came to use WP-FFPC which worked great with memcached which I installed on the Ubuntu machine.

    Package: memcached
    State: installed
    Automatically installed: no
    Version: 1.4.13-0ubuntu2

    I did no configuration I think, only a short review of the default config and I thought that would be ok.

    Ok that worked fine.
    I made the network since I knew I would add another site for my blog and wanted to keep them separated like this. So yesterday I did all this and was logged in all the time and everything went fine. I wrote a post and sent the link to a friend who then at first could load the page and on a full reload of the page was redirected to blog.marius-schuller.de/<postname>/<
    Which tends to look like a caching problem at this point.
    I did no memcached stuff to flush the cache or something, instead I deactivated all plugins to find it working again. I reactivated them one after the other and reloaded the page each time. When I reactivated WP-FFPC the problem came back. I tried some configuration there but I couldn't get it working and even the main site marius-schuller.de was redirected to marius-schuller.de/<. Perhaps that was a problem with memcached? I suspect that one WP-FFPC instance on one Multisite should not interfere with the other on that network?
    I can not say what exactly pulled the trigger on that issu...
    If you need more we can probably meet in irc or something ;)

    Marius

  7. petermolnar
    Member
    Posted 1 year ago #

    OK, questions:
    - before when you set up the second blog and the network, did you turned the wp-ffpc off?
    - after enabling the network, have you tried managing wp-ffpc from the network admin panel?

    Peter

  8. Wayneoween
    Member
    Posted 1 year ago #

    Hi,

    no I did not turn it off and I also did not try to manage it via network admin panel because I probably did not see the page where it would allow me to.
    I will try it again on Sunday/Monday! It was most likely my fault I think, now that you mention I could have managed it over network admin.

    If - against all odds - it isn't working fine then I will report back that we can figure out what the problem is exactly. Otherwise I will post again saying that all works fine ;)

    Marius

Topic Closed

This topic has been closed to new replies.

About this Topic