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>

How to 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>

source: https://stackoverflow.com/questions/9823010/how-to-force-https-using-a-web-config-file

Firefox在新分頁開啟bookmark

開啟 Firefox 瀏覽器,在網址列輸入「about:config」按下確認。

Firefox 會跳出警告畫面,提醒使用者不要亂搞設定值,否則可能會爆炸,我們確實不會胡搞瞎搞,點選「我發誓,我一定會小心的!」進入核心設定選項。

在上方搜尋框輸入「browser.tabs.loadBookmarksInTab」底下會顯示該偏好設定,預設值為 false 也就是直接在當前分頁開啟書籤。

點選兩下將真假值從 false 修改為 true 即可。