Moved site from primary domain of 1 cPanel, to add-on domain of 2nd cPanel, now site won’t load

I had a multisite WP install as the primary domain of a cPanel account. The website had the primary domain, plus a network site using a different domain.

I decided to move this website to become an add-on domain of a different cPanel account which had a totally unrelated primary domain.

I had to update the path, as was now an add-on domain, rather than the primary domain.

However, now redirects to and I see the message in Chrome:

This page isn’t working. redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS

I don’t have any cookies for this domain.

This is my wp-config.php:

define(‘WP_ALLOW_MULTISITE’, true); define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, true); define(‘DOMAIN_CURRENT_SITE’, ‘’); define(‘PATH_CURRENT_SITE’, ‘/’); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); define(‘ADMIN_COOKIE_PATH’, ‘/’); define(‘COOKIEPATH’, ”); define(‘SITECOOKIEPATH’, ”); // define(‘COOKIE_DOMAIN’, $  _SERVER[ ‘HTTP_HOST’ ] ); // define(‘SUNRISE’, ‘on’); 

I’ve renamed .htaccess to .htaccess.temp and the issue remains.

I’ve checked wp_blogs and wp_options and the domains are correct.

Help appreciated. Steve

Efficiently populate a look-up table for a function over a range of arguments in Python

I am minimizing a scalar function which takes a n-dimensional vector input and outputs the scalar value, n-dim vector (Jacobian), and an nxn matrix (Hessian). Given a range of the elements in my input vector I’m looking for a efficient way to precalculate the outputs in an efficient to access format.

I’ve been thinking of a scheme based on numpy.interpn with a regularly spaced grid of inputs, but this only allow for linear interpolation of intermediate values, and requires regular sampling.

I’m hoping there is a tool available that does this with a more intelligent method? Perhaps with automatic refinement of inputs sampled or a more sophisticated interpolation scheme?

Technically, the scalar output contains the Jacobian and Hessian but I need those with decent fidelity, so I would either need a higher order representation of the scalar function (with added sampling frequency) or I ccan interpolate on the Jacobian and Hessian directly (as they are outputted by the minimizer anyway)


Can permanency be dispelled when cast on a target other than yourself

The description of the spell permanency reads as follows. (Emphasis mine)

This spell makes the duration of certain other spells permanent. You first cast the desired spell and then follow it with the permanency spell. Depending on the spell, you must be of a minimum caster level and must expend a specific gp value of diamond dust as a material component. You can make the following spells permanent in regard to yourself. You cannot cast these spells on other creatures. This application of permanency can be dispelled only by a caster of higher level than you were when you cast the spell.

The way I interpret this is that permanency can only be dispelled if you cast it on yourself with an applicable spell. However I frequently misinterpret these things and it doesn’t really make sense so I thought I’d ask.

Correct Turing machine representation for Rice Theorem proof

Consider the language L1. From Rice Theorem I know L1 is not decidable (i.e. undecidable).

L1 = { R(M) | R(M) is a TM and 1011 ∈ L(M)}

For example if I want to represent by diagram a TM $ M_1$ that accepts the string 1011 and a TM $ M_2$ that doesn’t accept the string 1011 (e.g., $ M_2$ accepts only the empty string), following the Rice Theorem not-trivial property, I need to use a (1) acceptance by final states or (2) acceptance by halting or (3) I can use both because I know (by theorem) they are equivalent?

What are the ways my non-monk character can improve their unarmed damage?

My Goliath Barbarian / Fighter / Rogue hybrid killed somebody accidentally in a rage in their past, and has sworn an oath to never again wield a weapon to prevent accidentally killing somebody again if they fly of the rails.

Problem is, this is still D&D, and punching people for 1+strength mod+2 while raging is hardly going to impress anybody. He’ll primarily be a grappler, so it’s not that big a deal, but I’d still like to find some ways to improve his damage.

There’s a caveat however, I can’t take any feats, considering my classes are spread all over the place and I need the few attribute increases I can get.

These are the requirements:

  • Increases can come from magic items. I’ve found the Insignia of Claws in Hoard of the Dragon Queen, but that’s the only one I’ve found so far.
  • Can’t change my race into something else. I know Tabaxi, for example, have improved unarmed damage, but that doesn’t help my Goliath.
  • Can’t multiclass into monk or any other class. I just don’t have the levels left to start multiclassing into a 4th class, nor would I meet the wisdom requirement.
  • No feats. I know tavern brawler will increase my damage to 1d4, but I don’t have room for feats in this build because of its multiclass nature.