sudo spctl --master-disable
WordPress開啟SSL後css無法加載
在wp-config.php中加入這一行
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';
但是要確保妳的修改在這一行之前require_once(ABSPATH . ‘wp-settings.php’);
source: https://blog.csdn.net/weixin_39924179/article/details/113027066
Contact Form 7 Special mail-tags
原來可以咁….
[_site_admin_email]
[_site_title] <wordpress@your_domain>
[_site_title] “[your-subject]”
Reply-To: [your-email]
From: [your-name] <[your-email]>
Subject: [your-subject]
Message Body:
[your-message]
—
This e-mail was sent from a contact form on [_site_title] ([_site_url])
https://contactform7.com/special-mail-tags/
Force SSL in WordPress with Web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Force SSL with Web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

