
內容簡介
這個外掛程式允許您將 WordPress 文章或頁面的連結指向您選擇的 URL,而非 WordPress URL。它也會重新導向到您選擇的新連結網址,以替代舊的(或「正常」的)網址。
此外掛程式最初是以 Mark Jacquith 的 Page Links to 外掛為基礎衍生而來,因為要簡化代碼庫,更好地支援古騰堡(Gutenberg)以及正確支援密碼保護頁面的重新導向等需求,所以我對該外掛程式進行了修改。
常見用途包括:
設置導航連結,指向您站點內的非 WordPress 區域或外部資源。
在其他網誌(或其他服務,如 Medium)上發佈內容,但讓它們顯示在您的 WordPress 文章流中。您只需提供標題和 URL。文章標題會鏈接到另一個站點的內容。
針對商店經營者,您可以鏈接到其他零售商的產品(也許帶有聯盟代碼),但在您的商店中,它們看起來就像是您的產品。
創建有關複雜內容的「漂亮網址」。比如您有 https://example.com/crazy-store-url.cgi?search=productId&sourceJunk=cruft 這個 URL,只需建立一個名為「My Store」的 WordPress 頁面,並使用 Page Links To 將其指向醜陋的 URL。將新的 URL:https://example.com/my-store/ 提供給讀者,它就會將其重新導向至原有的 URL!
喜歡這個外掛程式嗎?請考慮留下五星評價。
喜愛此外掛程式或想協助 LocalHero 專案?請考慮捐助!
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows you to make a WordPress post or page link to a URL of your choosing, instead of its WordPress URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen.
This started as a fork of Mark Jacquiths Page Links to plugin. I forked it, to simplify the code base, better support gutenberg, and properly support redirects on password protected pages.
Common uses:
Set up navigational links to non-WordPress sections of your site or to off-site resources.
Publish content on other blogs (or other services, like Medium) but have them show up in your WordPress posts stream. All you have to supply is a title and a URL. The post title will link to the content on the other site.
For store operators, you can link to products on other retailer’s sites (maybe with an affiliate code) but have them show up like they’re products in your store.
Create a “pretty URL” for something complicated. Say you have https://example.com/crazy-store-url.cgi?search=productId&sourceJunk=cruft … just create a WordPress page called “My Store” and use Page Links To to point it to the ugly URL. Give people the new URL: https://example.com/my-store/ and it will redirect them!
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.
