markjaquith / WordPress-Skeleton

Basic layout of a WordPress Git repository. I use this as a base when creating a new repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multisite redirect loop

gizburdt opened this issue · comments

Hi,

This is my situation:

  • I installed Wordpress Skeleton
  • Activated Multisite
  • Added the provided code to .htaccess, wp-config.php
  • Added a second website.

If I click Websites > Second Website > Dashboard it says there is a redirect loop. Is it possible to use multisite with skeleton? Would be awesome if you could explain how :)

Yes, It is possible.

After setting up Skeleton I was getting a redirect loop when going from one dashboard to another. It was taking me back to the login page, I would log in and it would redirect me right back to the login page again. Turns out it was a cookie, after clearing cookies everything worked as usual again.

Hope this helps.

Thanks! But Wordpress doesn't redirect me to the login page. Apache threw an error for too many redirects (loop).

Request exceeded the limit of 100 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary.

I found another solution for my current project, by installing wp in the root and adding the wp files to my gitignore. Will test other solutions in the future.