Joomla!, Wordpress tips for building your site

Permalink and Page with Wordpress

Published on| November 12th, 2009 | No Comment.

In WordPress, the post can be shown by setting the permalink like a static page. ( Setting tab [Settings]- [Permalinks]- Custom Structure )
permlink_1


permlink_2

Example,
/%category%/%post_id%.html
If you set it, it is the following meaning.
/Category name (abbreviation)/article number.html
Oh, It really sees it like a static page.

Parameters of PermaLink

The kind of the parameter that can be specified by the permalink is as follows.

%year% 
The year of the post, four digits, for example 2004
%monthnum% 
Month of the year, for example 05
%day% 
Day of the month, for example 28
%hour% 
Hour of the day, for example 15

%minute% 
Minute of the hour, for example 43
%second% 
Second of the minute, for example 33
%postname% 
A sanitized version of the title of the post (post slug field on Edit Post/Page panel). So “This Is A Great Post!” becomes this-is-a-great-post in the URI

%post_id% 
The unique ID # of the post, for example 423
%category% 
A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI. Starting Permalinks with %category% is strongly not recommended for performance reasons.
%tag% 
A sanitized version of the tag name (tag slug field on New/Edit Tag panel). Starting Permalinks with %tag% is strongly not recommended for performance reasons.

%author% 
A sanitized version of the author name.

Above example ,
/%category%/%post_id%.html
Just, it is the following meaning.
/Category name (abbreviation)/article number.html

Let’s assume that the following articles were contributed.

Category Name
sample category
Category slug
sample_category
Post Title
sample post
Post ID
123

this time, URL will be as follows.

http://www.example.com/sample_category/123.html

Perhaps, you who was using English might have succeeded when setting it as shown in the above-mentioned example.
However, you who is not using English might not be able to display Page.

The source of this problem is that the title name is set to address of the permalink with Page if you set Custom PermaLink(like above example).
If you do not use English, permalink of Page will express by language you use.

If you want to clear this problem, it is very easy.
You only have to reset the permalink of Page by alphanumeric.

It is Bug ? I do not know.

How to set PermaLink like Generic URL

So, you know that generic url is alphanumeric.
Also, you may be able to use language url not english. But you will notice that its url is encoded by search engine.The URL will not be seen easily.

Then, do you know how to set the permalink of a general alphanumeric character if you do not use English?

It is very easy with WordPress.

First step, you should set the permalink like a following.
/%category%/%postname%.html

The way things are going,Post Title will be set by your language(not alphanumeric).
So, you should use slug of post. (You might not understand where to set slug of pos at WordPress2.8+. )

You can easily set it from the manage page always used.
The manage page is an editor of post.
You only set alphanumeric character on the setting field of the permalink on editor of post.

permlink_0

Paraphrasing about 'Slug' as 'Alias' might be more comprehensible if you have knowledge of webserver.






Comments

Leave a Reply








Transrator

Recent Posts

Categories

Tag Cloud

execute remove フロントページ 投稿ページ トップページ install WIndows Note Convert META generator 日付 donwload file manage multibyte utf-8 unicode shiftjis euc console サイトマップ 問題 ParmaLink Redirect パーマリンク はみ出る pre テンプレート テーマ タグクラウド マルチランゲージ リダイレクト PHP(タグ) タグ table control HTML(タグ) コマンド 国際化(翻訳) SQLite(タグ) MySQL(タグ) qTranslate プラグイン(タグ) Wordpress(タグ)

Links

Site Description

Joomla!, Wordpress as CMS using a site building, site management, software usage to describe the development tips.

  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ