WP-Include rewrite directory
WP-Include rewrite directory
WP-Include rewrite directory
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
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 https://htaccess.madewithlove.com/ .
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.
Subfolder install not working
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
Ideally, the blog subdomain would point to a different filesystem location (its own document root), then you could use a simple Redirect directive in its own .htaccess file in the root of the subdomain. For example: Redirect 301 / https://www.example.com/ratgeber/ The Redirect directive is prefix-matching and everything after the match is copied onto the end … Read more
Increase Upload Size with htaccess | MAMP
Rewrite Rule in htaccess convert query string into slashes
How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup