• I have WP installed on a subdomain.

    I installed Multisite on it. It automatically, without asking, activated the subdomain version. I manually set the subdomain to false in wp-config.

    I was able to make a site, but couldn’t access its stylesheets. The content on the subfolder site would show, but not styles! I tried to log in, the browser (chrome) just rolled on till it said “this site has a redirect loop”.

    Wha whaat?

    This was almost a week ago. I added some boilerplate htaccess code designed to help with this. And it seemed to work.

    Now: I have reinstalled WP 4.0. The problem is with htaccess it seems.

    Without ANY .htaccess file, the sites are working properly. I can log in to the main site, the network admin, write posts for the main site etc. It just doesn’t let me log in to any subsite (i.e. https://subdomain.blog.com/subsite/wp-admin/) — this gives the redirect loop.

    And when I add an .htaccess file (I’ve tried the vanilla version that comes with WP in Settings, and other ones)… I get a 500 Internal Server Error. And that’s instant; the moment I add .htaccess, the browser window that was previously showing “redirect loop” error, automatically and mercilessly turns to the plain 500 Internal Server Error. Then nothing works!

    Haaaaeeeellllppp!?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you use the correct .htaccess for using subdomains (xy.DOMAIN.org)?

    Or are you maybe using the file-version for subfolders (DOMAIN.org/xy?

    Thread Starter Momekh

    (@momekh)

    Hmmm…

    I have wordpress installed on a subdomain. Just for that, do I need more instructions in the .htaccess?

    After I’ve installed WordPress on the subdomain (which is https://designby.momekh.com)… I installed a multisite so I can have https://designby.momekh.com/site1 etc. I have only added .htaccess for this scenario. Are you saying that I need to update .htaccess to reflect the original subdomain installation of WP itself?

    Am I even making sense here? :/

    Normally WordPress displays the .htaccess, which you need – depeding on using subdomains or subfolders.

    But it sounds strange to me, that you write:

    I installed Multisite on it. It automatically, without asking, activated the subdomain version.

    So, maybe you didn’t got displayed the .htaccess, which you need. –

    Anyone else has an idea regarding this issue?

    Thread Starter Momekh

    (@momekh)

    Right now, the problem is simple in its severity: The moment I have ANY .htaccess file, a 500 internal server error on all sites (on the main designby.momekh.com and all subsites — I have only three now, all for testing purposes).

    I can access the htaccess via Network Setup. I have tried that. And pretty much all variations I can find. But like I said, any form of .htaccess and I get a 500 internal serve error.

    There is a certain @ipstenu (Mika Epstein) that I see on all matters of multisite issues… a person like that can help perhaps?

    I am stuck pretty bad here.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I installed Multisite on it. It automatically, without asking, activated the subdomain version. I manually set the subdomain to false in wp-config.

    That’s… weird. You didn’t have an old, lingering version of Multisite on the server, did you?

    I would check your httpd.conf settings and make sure you have allowOverride set to All (or Options All).

    Thread Starter Momekh

    (@momekh)

    That’s… weird. You didn’t have an old, lingering version of Multisite on the server, did you?

    Now I didn’t say that. :/

    I really don’t remember since when I have WP on the said domain (i.e. the designby.momekh.com domain). I have been upgrading of course, but the multisite was only after I had 4.0, so fairly recent.

    Thread Starter Momekh

    (@momekh)

    OK so this is pathetic.
    The .htaccess file (that I was editing on notepad.exe on win 8) had formatting!!!!!!!!!

    The moment those formatting marks were removed, all is working well! Alhumdulillah!!

    Thank you 1a and ipstenu for the help…

    P.S. I was not able to see those formatting marks, only the support crew at Hostgator saw it and removed it. If notepad doesn’t catch them, what other free, simple text editor can one use!?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirect loop on subfolder multisite install’ is closed to new replies.