Add .html Extension to Pages

描述

This plugin adds .html extension to pages in WordPress. Adding .html extension on posts is easy as it can be updated from permalinks, but by default it is not possible on pages.

Useful in following cases:

  • You want to convert your static site to WordPress but don’t want to change .html extension in URLs.
  • Want to append .html extension to end of all page in WordPress.
  • You already added .html to post URLs and want to keep similar URL structure.

螢幕截圖

  • .html extension added to page URL.

安裝

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’.
  2. Search for ‘Add .html Extension to Pages’.
  3. Activate ‘Add .html Extension to Pages’ from your Plugins page.

From WordPress.org

  1. Download ‘Add .html Extension to Pages’.
  2. Upload the ‘add-html-extension-to-pages’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
  3. Activate Add .html Extension to Pages’ from your Plugins page.

常見問題

How to add .html extension to WordPress page URLs?

  1. Log in to your WordPress admin dashboard
  2. Navigate to Plugins > Add New
  3. Search for ‘Add .html Extension to Pages’ plugin
  4. Install the plugin using ‘Install now’
  5. Activate the plugin

How to add .html extension to WordPress post URLs (Permalinks)?

  1. Log in to your WordPress admin dashboard
  2. Navigate to Settings > Permalinks
  3. Select ‘Custom Structure’ under ‘Common Settings’
  4. Add .html extension to your desired URL, for ex. /%year%/%monthnum%/%postname%.html
  5. Save the settings

Do you offer support?

You can contact me using this Contact Form

評價

閱讀全部1個評價

貢獻者及開發者

“Add .html Extension to Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Add .html Extension to Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

Initial release

1.0.1

Updated readme.txt

1.0.2

Updated readme.txt