• Resolved creativepublishing

    (@creativepublishing)


    Hello!

    I just installed a fresh install of WordPress and activated the network/multisite feature.

    I had no problem editing the .htaccess and wp-config.php file as I am reasonably competent in programming. The only deviation from the Network tutorial was that WordPress changed one htaccess rule, adding in my servers path.

    Creation of the first sub-blog went fine, but when trying to access the admin panel for the new blog I go into an infinite redirect loop. The blog itself loads fine, although with no formatting, I assume because I haven’t enabled any themes.

    The url is http://www.hostingserversdedicated.com/test/

    Any help would be greatly appreciated.

Viewing 15 replies - 1 through 15 (of 56 total)
  • Thread Starter creativepublishing

    (@creativepublishing)

    Nevermind, I got it working.
    Turns out it was a simple issue with the directions that WordPress gave out when enabling the multisite configuration.

    The directions changed the .htaccess code to reflect an absolute path on the server.

    For people who might have this issue in the future, I used this boilerplate .htaccess code:

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

    From this post: POST

    Holy cow – this has been torturing me for a week now. You are a godsend. Thank you so much for posting the answer!

    @creativepublishing – you are a life saver! Like sassafrascal, this has consumed my life. The code worked for me with a subfolder multisite install. Thanks again!

    Thread Starter creativepublishing

    (@creativepublishing)

    Yes, it is very important to mention that this was for a:

    SUB FOLDER install, not a sub-domain install.

    It seems the common issue with sub-domain installs is an improperly set up wildcard.

    Anyway, I am glad this post was able to help you 🙂
    Happy holidays!

    Thank you SO much! The hours of agony trying to figure this out …

    Happy holidays to you too!

    Thread Starter creativepublishing

    (@creativepublishing)

    Glad I could help 🙂

    And happy holidays to you as well!

    Thanks so much for catching this and sharing the answer! I just upgraded to 3.5 on my local server and suddenly all my theme dev subsites went boom…

    I have put a good word in with Santa for you. Not that it will mean much coming from me, but it’s the best I can do 🙂

    Thread Starter creativepublishing

    (@creativepublishing)

    Glad I could help, now get working on your new uber multisite 🙂

    For the record, after opening up the .htaccess and comparing it with your boilerplate, all I had to do was remove the absolute path to the local server that WP had added into the .htaccess in two places. So carefully removing those entries will fix things up and also preserve any entries that plugins may have added.

    Any chance you have the IIS 7.5 URL Rewrite web.config rule fixes for this? This is killing me currently in a site migration that is running on IIS.

    Thread Starter creativepublishing

    (@creativepublishing)

    Sorry 🙁 don’t work with IIS.

    If it is the same issue, you should only have to find the spot where the absolute path for the server is and take it out.

    Sorry 🙁

    +1 for this totally fixing it for me as well, SUBFOLDER multisite setup on godaddy hosting

    Thread Starter creativepublishing

    (@creativepublishing)

    Your welcome Alex, glad I could help 🙂

    Maybe its time to get like a sticky or something on this post? If this many people have bothered to post AFTER fixing the issue, how many have used it to fix their installation? Might help with some of the repeated questions on this specific forum about this issue……

    After 4 days….FINALLY!

    Thank you

    I am still stuck with this problem….I am up to the point where the .htaccess file needs to be edited, however… I CANNOT LOCATE IT. I am using Parallels Panel with host gator.

    I am able to make new sites, but when i go to their dashboards, i get a redirect loop.

Viewing 15 replies - 1 through 15 (of 56 total)
  • The topic ‘Fresh Install, subfolder multisite, infinite redirect loop sub-blog login’ is closed to new replies.