內容簡介
Taxonomic SEO Permalinks 是一個簡單的 WordPress 外掛,允許您基於自訂分類法創建 SEO URL。我個人想要像內置分類法(如類別)一樣在 URL 中使用自訂分類法。WordPress確實支持一些選項,在創建自訂分類法時有助於「重寫」永久鏈接。然而,作為我測試後發現,這件事實際上並不起作用。
因此,我創建了這個外掛程序來解決這個問題。 此外掛有兩個主要功能。 首先,它修改博客中所有帖子的鏈接; 其次,它有助於解析URL。 如果您不理解我剛才說了什麼,請繼續閱讀以下內容。
讓我通過一個示例來解釋我們試圖通過此外掛實現什麼。
考慮一所大學的網站想要建立一個用於公佈結果的網站。結果每六個月公佈一次(夏季2010年,冬季2010年,...)並涉及各種課程(BSc,BTech,...)和各種學期(畢業年,第二學期,...)。
因此,我們可以創建三個自訂分類法:Season(季節),Course(課程)和Semester(學期)。 我們想要的是SEO URL,用WordPress自訂分類法的幫助,它看起來像:
http://example.com/winter-2010/bsc/final-year/list-of-passed-candidates
您可以在常規永久鏈接結構選項中設置它,就像:
/%season%/%course%/%semester%/%postname%/
注意:目前此外掛無法幫助您創建自訂分類法。 您需要使用另一個外掛程序來創建自訂分類法。
外掛標籤
開發者團隊
原文外掛簡介
Taxonomic SEO Permalinks is a simple plugin that allows you to create SEO urls based on custom taxonomies in WordPress. I personally wanted to use custom taxonomies in URLs just like built-in taxonomies like category. WordPress does support some options that helps in ‘rewrite’ of permalinks, while creating custom taxonomies. However, I found this thing is not actually working, as I tried and tested.
So I have created this plugin to fix this issue. This plugin does two major works. First, it modifies links to posts at all the places in blog and second, it helps in parsing the URLs. If you did not understand what I just said, leave it and read below.
Let me explain you with the help of an example, what we are trying to achieve with this plugin.
Consider a university website want to build a website for announcing results. The results are announced every six months (summer 2010, winter 2010, …) for various courses (BSc, BTech, …) and for various semesters (final year, second semester, …).
So we can create three custom taxonomies viz. Season, Course and Semester. What we want is SEO url with the help of custom WordPress taxonomies that will look like:
http://example.com/winter-2010/bsc/final-year/list-of-passed-candidates
Which you can set in your regular permalink structure options just like
/%season%/%course%/%semester%/%postname%/
NOTE: Currently this plugin do not help you to create custom taxonomies. You will need to use another plugin to create custom taxonomies.
