[WordPress] 外掛分享: .html for all url

首頁 › 外掛目錄 › .html for all url
WordPress 外掛 .html for all url 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
3 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.3 上架:2017-07-27

內容簡介

為頁面、文章、自訂文章類型新增 .html 副檔名的外掛程式。
1)登入您的 WordPress 帳戶

2)啟用所有外掛的 .html

3)現在前往設定->.html For All

4)選擇您想要有 .html 副檔名的文章類型並儲存。

就這樣,現在只要重新整理您的頁面、文章或自訂文章類型,就可以看到神奇的效果。

此外掛與重寫規則緊密相關,如果使用 .html 載入頁面時出現任何問題,請刷新永久連結
前往設定->.永久連結 並更新它。

www.buddydevelopers.com

演示

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「.html for all url」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

.html for all url adds a .html ending to your WordPress permalinks. You choose which content types get it, so you can turn yoursite.com/about-us/ into yoursite.com/about-us.html.
The most common reason to use it is moving an old website to WordPress without breaking its links. Many older sites were built from static HTML files, Dreamweaver or another CMS, and every page URL ended in .html. If you rebuild that site in WordPress and the URLs change, you lose:

backlinks from other websites
bookmarks and links shared on social media, in emails and in printed material
search rankings, while Google works out where every page moved to

With this plugin the WordPress pages can keep exactly the same URLs, so nothing needs to be redirected.
When is this plugin useful?

Migrating from a static HTML site. Keep /services.html, /contact.html and every other old URL working after the move.
Migrating from another platform such as Blogger, Joomla or an older site builder that used .html URLs.
Redesigning a client website where the client wants their existing URLs kept.
Directory websites built with GeoDirectory, where listing pages can end in .html while category, location and search URLs stay unchanged.
Community websites built with BuddyPress, where member profiles, groups and activity can end in .html.
Keeping one URL style across a site that already uses .html for some pages.

Features

Add .html to posts, pages and any public custom post type.
Turn it on for each content type separately.
GeoDirectory support: listing pages end in .html, and category, location and search URLs are left alone.
BuddyPress support: member profiles, groups, activity and their directories can end in .html. Profile tabs, group screens and registration URLs stay unchanged.
Old links without .html keep working. WordPress either loads the page or redirects to the new .html URL.
Rewrite rules refresh automatically when you save, activate or deactivate the plugin. You don’t need to re-save permalinks by hand.
A simple settings screen under the .html For All menu in wp-admin.

Does .html help SEO?
Not by itself. Google ranks /about-us.html and /about-us/ the same way. The SEO value comes from keeping URLs that already have rankings and backlinks, which is what this plugin is for. On a brand new site there is no ranking benefit, so only use it if you prefer the style.
Watch the demo

Need help with your WordPress site?
This plugin is built by BuddyDevelopers, a WordPress agency that builds and maintains directory, community and eCommerce websites.

Book a free discovery call to talk about a new site or ongoing maintenance.
Book a paid consultation for an in-depth session on your project.

延伸相關外掛

文章
Filter
Mastodon