You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if this plugin did 1 of these two things:
Automatically used the domain that was added to Site Address within Settings > General.
Alternatively, have the plugin auto detect the URL rather than hardcoding it. Below is an example of what I've been using.
In addition, I think it would be beneficial if the "default" protocol was https instead of http. Especially since most sites these days should/are using https now. If someone needs http (non-s), they could be the ones to update the file... rather than forcing us who are following best practices by already using https.
#www to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
The text was updated successfully, but these errors were encountered:
It would be nice if this plugin did 1 of these two things:
Site Address
withinSettings > General
.In addition, I think it would be beneficial if the "default" protocol was
https
instead ofhttp
. Especially since most sites these days should/are usinghttps
now. If someone needshttp
(non-s), they could be the ones to update the file... rather than forcing us who are following best practices by already usinghttps
.The text was updated successfully, but these errors were encountered: