Bug #9828

redirecting problem

Added by Marilyn Weber about 4 years ago. Updated about 4 years ago.

Priority name:
Category name:
Domain Mapping
Target version:
Start date:
Due date:
% Done:


Estimated time:


Sujatha Fernandes reports:
"I have a website hosted on the CUNY Commons. It is usually accessed via the domain name However, for some reason it is not working. I checked with the company who hosts the domain name and that is fine so it looks like the problem may be on your end."

I see the problem. This error message came up: "The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies."

My home computer is a Frankenstein's monster that is over a decade old, so it shows me its thinking. It goes back and forth from "Waiting for" to "Waiting for" then resolves to that error.

Related issues

Related to CUNY Academic Commons - Bug #9735: Logged-in subdomain view of mapped sites can have SSL errors on assetsResolved2018-05-08


#1 Updated by Boone Gorges about 4 years ago

  • Assignee set to Raymond Hoh
  • Priority name changed from Normal to High

Thanks for passing this along, Marilyn.

Ray, could you please take a look? I have a hunch this has to do with disabling the "primary" mode in domain mapping.

#2 Updated by Raymond Hoh about 4 years ago

  • Category name set to Domain Mapping
  • Target version set to 1.13.3

The problem is we have two mapped domains for the same blog ID -- one with the www prefix and one without -- and the code I wrote to redirect subdomains to mapped domains seems to conflict with that.

I'm looking into this. Boone's hunch seems correct.

For now, the domain (without the www) still works.

#3 Updated by Raymond Hoh about 4 years ago

  • Status changed from New to Resolved

Fixed in

The problem was due to the object caching layer I added to the Domain Mapping plugin in #9735. Previously, the code only cached one mapped domain to a blog ID. However, as this ticket has pointed out, a single site can be mapped to multiple domains.

To ensure that the cache is dropped, I've also changed the cache group name.

This has been deployed as a hotfix on production. Tell Sujatha that the domain should resolve again.

#4 Updated by Raymond Hoh about 4 years ago

  • Related to Bug #9735: Logged-in subdomain view of mapped sites can have SSL errors on assets added

Also available in: Atom PDF