How can I make /wp-admin the root url?

You can potentially use redirects to achieve this, it may not be the most ideal or stable solution, and could cause problems with your site. This is why you’re seeing a “too many redirects” error. Every time WordPress loads, it checks if the requested URL is supposed to be the admin URL. If not, it … Read more

How do I modify each instance of setcookie?

I installed the SameSite plug-in which mimics the default PHP setcookie behavior and adds the additional parameter (samesite) to the cookie. I set the plug-in configuration in wp-config.php with: define( ‘WP_SAMESITE_COOKIE’, ‘None’ ); By setting the configuration of samesite=None, browsers will not enforce SameSite rules that are used to prevent CSRF. From the Mozilla blog: … Read more

The connection to “domain” is not secure

I use this for my htaccess force-SSL rule on my multisites (actually, on all sites). RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Not sure, but bet that off is better than !=on .A resource you can use to test htaccess rules is .

Redirect loops in Bing holding my sites back

RESOLVED: Even though I had resolved those issues, it wasn’t giving me an updated report. All of the data it was displaying was the old, though it still won’t refresh or update to the current. I’ve confirmed through two separate sources and they both say it’s okay.

How To Add CSP frame ancestors in WordPress Website? [closed]

SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X-]{4,13}$ HAVE_Accept-Encoding The regex ^(Accept-EncodXng|X-cept-Encoding|X{15}|{15}|-{15})$ is invalid, hence the error you are getting. Specifically, the error is here: ^(Accept-EncodXng|X-cept-Encoding|X{15}|{15}|-{15})$ —————————————^ {15} is a quantifier, but the preceding token | is not quantifiable, since this is itself a special meta character. There is something missing. But it’s not clear what this should be just … Read more

.htaccess seems to be required but I can not find it

I would like to know why the AllowOverride directive change, which seems to be very much to do with enabling .htaccess files, solved the problem If there are no .htaccess files then adding AllowOverride All in the server config is not going to do anything. As you suggest, AllowOverride essentially enables .htaccess files to be … Read more