
內容簡介
外掛摘要:
- 這個外掛會在你的 WordPress 網站的 .htaccess 檔案中生成 HTTP 301 重新導向指令,也就是在 .htaccess 檔案中緩存 HTTP 301 重新導向請求。
- 這個外掛生成的 HTTP 301 重新導向,結合你選擇的任何熱門 WordPress 快取外掛,將使你的網站速度飛快。
常見問題與答案:
- 這個外掛是否使用第三方服務?
- 這個外掛不使用任何第三方服務。它不收集或提交任何數據。
- 這個外掛使用哪些數據?
- 這個外掛只使用你的數據庫中的文章 ID 和網址,用於生成 .htaccess 的 HTTP 301 指令。
- 這個外掛如何使用?
- 只需安裝並啟用外掛,然後放輕鬆。外掛會自動更新你的 .htaccess 檔案,為你網站的文章生成 HTTP 301 重新導向指令。
- 安裝這個外掛後可以確認 .htaccess 檔案的內容嗎?
- 是的,安裝並啟用外掛後,你可以確認你的 .htaccess 檔案的內容。
- 如何取消這個外掛的效果?
- 只需簡單卸載外掛,並刪除 .htaccess 檔案中自動生成的部分即可取消這個外掛的效果。
外掛標籤
開發者團隊
原文外掛簡介
This plugin generates HTTP 301 Redirect directives for your WordPress site’s .htaccess file, i.e. it caches HTTP 301 Redirect Requests in the .htaccess file.
The HTTP 301 redirects generated by this plugin, coupled with any popular WordPress caching plugin of your choice, will make your site lightning fast.
Third party service description
This plugin does not make use of any third party services. No data is collected or submitted by this plugin.
The only data used by this plugin, are post IDs and URLs in your database, which are used to generate .htaccess HTTP 301 directives.
This plugin’s source code may be verified for confirmation.
Usage
Install and activate the plugin.
If you have a brand new WordPress installation, then just sit back and enjoy. This plugin will take care of the rest, automatically keeping your .htaccess file updated with HTTP 301 redirect directives for your site’s posts.
If you have an existing site with many posts, then please see the section “Manually generate .htaccess file” below, to finish setting up your site with this plugin. Alternatively, you can repeatedly save one of your existing posts, until the .htaccess regenerate process has been automatically completed.
You can confirm the contents of your .htaccess file, after you have installed and activated this plugin.
To undo the effects of this plugin, simply uninstall the plugin, and remove the auto-generated section in your .htaccess file.
Manually generate .htaccess file
To force this script to generate the .htaccess file:
Edit wp-content/plugins/instant-301-redirection/.htaccess and add directives to allow direct access for calling the plugin file.
In a browser, go to: https://example.com/wp-content/plugins/instant-301-redirection/instant-301-redirection.php?generate=1 (replace example.com with your actual site’s URL).
Please be patient, as it may take some time to fully generate the .htaccess file for your site the first time, or if you haven’t run this plugin in a long time.
You may have to go to the URL in step 2 multiple times, if the web server times out before being able to cache all the posts on your site during one request.
You can confirm whether the plugin is still in progress, or if it is finished, by examining the generated .htaccess file for one of the following messages:
This plugin is, or was, busy processing your posts on ‘date’.
This plugin has not finished processing all your posts yet as on ‘date’.
This plugin processed all your posts on ‘date’.
