Wp Affiliate Pro - The #1 Plugin For WordPress Blogs WPを採用アフィリエイトプロ-ワードプレスのブログ用プラグインは、 # 1
Powered by MaxBlogPress MaxBlogPressによって駆動

Wordpressのハック# 12 :固定リンク構造を変更するシームレス| JTPRATTのブログ間違い
JTPrattのブログミス





Home » Wordpress Hack #12: Changing Permalink Structure Seamlessly » Wordpressのハック# 12 :固定リンク構造を変更するシームレス



Posted in: の投稿:

ブログ-ソカテゴリーのイメージブログ- setupのカテゴリーのイメージワードプレスのカテゴリーのイメージワードプレスのプラグインのカテゴリーのイメージ
1,761 views 1,761ビュー


Please note: This page was originally written in English.ご注意:このページは、もともと英語で書かれています。

The original post can be viewed元の投稿閲覧することができます hereここで .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


Ever wanted to change your Wordpress permalink structure but were afraid of 404 errors and SEO problems? 今までに、 Wordpressのパーマリンク構造を変更するには404エラーとSEOの問題を恐れていたしたかったのか。 I have a Wordpress Hack to fix all your problems right here! 私はWordpressのハック右ここにすべての問題を解決する必要がある!

This is installment #12 ofこの# 12の割賦です 30 Wordpress Hacks in 30 Days 30 WordpressのHacksは30日 !

This Wordpress hack is one that I planned on writing write after the last one aboutこのWordpressのハッキングは、私は文章を書く予定していることについて、最後の1つの後に rotating and recycling posts out of your archives回転してアーカイブの記事をリサイクル and on to your home page.とお客様のホームページへ。 Mainly because there is one thing I didn’t address before, and that’s you permalink structure.主に私の前にアドレスしていないため、一つのことがあり、それを固定リンク構造だ。 In Wordpress your “permalink” structure is your URL. Wordpressのでは、 "パーマリンク"の構造あなたのURLです。 By traditional default Wordpress blogs have a day, month, year structure to the URL like this:伝統的なデフォルトのWordpressのブログで次のようにURLには、年間の構造は1日、している:

www.site.com/05/01/2008/my-new-post

In your Wordpress dashboard in either settings (WP 2.5) or options (before WP 2.5) -> “Permalinks” you have the ability to change the structure to whatever you want.いずれかの設定でお客様のWordpressのダッシュボード( WPを採用2.5 )またはオプション(前WPを採用2.5 ) -> "パーマリンク"あなたの能力をどのような目的の構造を変更する必要がある。 In the beginning (because they don’t know any better) most people don’t and leave the date default.のか分からないので、最初は(任意の)ほとんどの人日のデフォルトのままではないとするより良い。 Even均等な Matt Cutts says don’t use post dates in URL’sマットカッツのURLの中に投稿の日付を使用しないことを言う . Why not?どうして?

Wordpress Hack #10 should have been a prime example - if you’re going to be recycling your old posts to the home page, it’s going to change the published date to the current day - right? Wordpressのハック# 10は、典型的な例されている-場合は、ホームページにあなたの古い記事をリサイクルするには、現在の1日に公開された日付を変更するには起こっている-右に行くの? Well, it won’t change the permalink (URL) - and it will still reflect the old date.まあ、それ( URL )には、 Permalinkを変更することはできません-とはまだ古い日付が反映されます。 You could change the permalink structure manually in your dashboard, but that would just create new URL’s for every single post (removing the date portion), so every single bookmark and every single search engine listing you ever had will now be an “Error 404″ page.手動でダッシュボードに固定リンク構造を変える可能性があるが、それだけで新しいURLのすべての単一のポスト(日付の部分を削除)を作成するので、すべて1つのブックマークをすべて1つの検索エンジンをリストには現在、 "エラーになりますしていた404 "ページをご覧ください。 Ouch!痛い!

Over time if you write new posts every day or every week you probably aren’t going to want the post dates to matter as much, since new readers will be coming on board all the time.以来、新しい読者ボード上のすべての時間を行くことになるでしょう時間を超える場合は、毎日または毎週おそらく投稿するつもりではない新しい記事を書くそれほど大きな問題に、日付。 In addition - maybe you’ll want to move out of Wordpress to another blogging platform someday that doesn’t have a date based post convention.また-W ordpressのかもしれませんいつか別のブログプラットフォームでは、大会後の日付をベースにしていないの外に移動する必要があります。 If you’re in the same boat I was, you are now in quite the predicament - what to do, what to do??もし私が、今はかなりの苦境にされている同じボートにいる-何を、何をすべきかをするのか? Once again, enter a lifesaver Wordpress plugin “この度は、 "命の恩人Wordpressのプラグインを入力してください Dean’s Permalink Migrationディーンの固定リンク移行 !” It’s very simple to use, and will solve all your permalink problems. ! "非常に使用するように、シンプルで、すべてのリンクの問題を解決します。

First install and enable the plugin.最初にインストールし、プラグインを有効にします。 Then in options or settings -> “PermalinksMigration” in your Wordpress dashboard you’ll see a simple text field for only one option:あなたのWordpressのダッシュボードでは1つだけ選択するための単純なテキストフィールドが表示されます次にオプションや設定で-> " P ermalinksMigration" :

移行オプションパーマリンク

All you have to do is enter your OLD permalinks structure in that field.すべてのお客様を入力するだけですが旧フィールドインディアナ構造パーマリンク。 For most of you that’s going to be:あなたのほとんどの場合になるだろう:

/%year%/%monthnum%/%day%/%postname%/ / %年% / % monthnum % / %日% / % postname % /

What I did was open up two tabs in my browser, both with my WP dashboard open.どうしたら私のブラウザで2つのタブ、両方をオープンにして私のWPを採用ダッシュボードを開くことになったのだ。 In one tab I had settings -> Permalinks and the other settings -> “PermalinksMigration”. 1つのタブでは、私の設定をしていた->パーマリンクやその他の設定- >" P e rmalinksMigration"。 I just copied and pasted my “permalinks” structure to “permalinksMigration”.私はコピーと私" " permalinksMigration "に構造パーマリンク貼り付け" 。 Then in “permalinks” I changed the structure from this:次に、 "パーマリンク"から私はこの構造を変更:

/%year%/%monthnum%/%day%/%postname%/ / %年% / % monthnum % / %日% / % postname % /

to this:これに:

/%postname%/ / % postname % /

Then I click “update” to save each tab, one immediately after the other.各タブは、他のすぐ後に保存するそれからクリックして"更新" 。 To recap- what I’ve done here is removed the dates from my permalink (URL) structure, and the “Dean’s Permalink Migration” knows what my “old” structure was, and it will automatically redirect each and every page using old date based structure to the new page.要約するにはここで何をしている( URL )を構造、および"ディーンの固定リンク移行"どのようなもの" "構造、各ページに自動的にリダイレクトされますを使っていた古い古い日付を知っている私の固定リンクから削除されている新しいページに日付ベースの構造。 You won’t lose any hits from bookmarks or search engines at all, and all of your URL’s will be much cleaner and shorter from now on.君には、ブックマークや検索エンジンからのヒット曲を失うことはないとし、すべてのURLのクリーンされるのは、はるかに短くするから。

The ONLY drawback I could think of was, this plugin only works ONE TIME.私は、このプラグインを1回だけの作品のことを考えるできた唯一の欠点。 Since it only has one field for previous permalink structure to redirect - it can only redirect the last change you made.これは以前の固定リンク構造のためにリダイレクトするために1つのフィールドしている-それだけ行った直前の変更をリダイレクトすることができます。 Hint to the plugin auther, you could hack this plugin to allow for multiple changes, and adding the ability to do the same for category permalinks would be a boon too!プラグインの投稿者にヒント、複数の変更を許可するように、このプラグインをハック可能性があるとの能力カテゴリーのpermalinkに同じ操作を行うには追加の恩恵もそうですね!

Now I can just hear somebody screaming from the back of the room “what about my pagerank, what about my pagerank!”.今私は誰かが私のPageRankが、何についての部屋"の後ろから自分のページランクはどうなの叫び声を聞くことができます! " 。 In effect, to search engines, indexers, and crawlers this should be the same as a 301 permanent redirect.効果で、これは、同じ301として永久にリダイレクトする必要があります検索エンジン、インデクサ、およびクローラ。 If you had pagerank assigned to any of your individual posts, it should transfer to the new URL over time - typically from a few weeks to a few months depending on google’s update schedule.もしあなたの個々の投稿のPageRankが割り当てられていたが、それは、新しいURLに転送時間をかけてください-通常は数週間から数か月にするよう、 G oogleの更新スケジュールに応じて。 I personally really don’t worry about pagerank anymore at all - you probably shouldn’t either.私は個人的には本当にないことを気にするのはもうまったくのPageRank -おそらく必要はないのいずれか。

I hope that this hack helped you as much as it helped me once found it.私としては一度見て私は、このハックとしてくらいを期待している。 If you have any comments to make this post better, or question - please comment now!良い場合は、このポストを作成したり、質問に任意のコメント-コメントを今してください!


Tags:タグ: ,

19 Responses to “Wordpress Hack #12: Changing Permalink Structure Seamlessly” 19レスポンスを" Wordpressのハック# 12 :固定リンクシームレス構造を変更する"

  1. Make Money Online Blogging お金をオンラインにするブログ Has the following to say...は、次のことにしている...

    Nice hack, but as long as you are familiar with wordpress, it shouldn’t be an issue.ニースが、長いワードプレスに慣れているとして、それが問題にされるべきではありませんハック。 Either that or for lazy people.のいずれか、または怠惰な人のため。

    Shudogg Dot Com - Shudoggドットコム- Make Money Online Blogging お金をオンラインにするブログ

    Make Money Online Bloggings last blog post..お金をオンラインBloggings最後のブログの記事.. Adsense Secrets Volume 4 AdSenseの秘密4巻

  2. admin 管理 Has the following to say...は、次のことにしている...

    it doesn’t matter how familiar you are with Wordpress, if you change your Wordpress permalinks without this plugin you screw up all your search listings and anyone who clicks on one or uses a bookmark with get a 404 error.場合はネジすべての検索リスティングや自分のクリックまたは404エラーが表示される、ブックマークを使用して誰もがこのプラグインをWordpressのパーマリンクの変更がどのようにしているWordpressのおなじみの、問題ではない。 There is no convention in Wordpress to accomodate for changing permalink structure and redirecting the old URL’s to the new structure. Wordpressのパーマリンク構造を変更するには、古いURLを新しい構造体へのリダイレクトを収容する大会です。 It has nothing to do with being lazy.それとは関係がない怠け者している。

    If you were familiar with Wordpress, you’d know that when you make a comment, you don’t have to include a link back to your site in the comment, because you automatically get one at the top of your comment.ワードプレスに精通していた場合は、コメントをするときに知っているだろう場合は、リンクバック、コメントにお客様のサイトに、これは自動的にコメントの上部にある1つの取得を含める必要はありません。 Since I have CommentLuv installed you even get a link back to your last post in your RSS feed!以来、私はあなたのRSSフィードバックもCommentLuvあなたの最後の投稿へのリンクがインストールされている!

  3. Acupuncture Has the following to say...は、次のことにしている...

    I’m happy I learned about permalinks before starting any WordPress sites!!!!私はワードプレスのパーマリンクについてご満足しているサイトを開始する前に学んだ!

    I dead a ton of reading on it.それを読んで私は死んで一トン。 There are all kinds of opinions.意見のあるすべての種類があります。 I ended with domain/%postname%/ only.私のドメインで終了/ % postname % /のみ。 For the very reasons JT talks about.非常に理由については協議のJT 。 I didn’t want to end up having to redirect everything at some future point.私はいくつかの時点で将来のすべてをリダイレクトすることを最後に思っていませんでした。 The one knock I heard about this permalink structure is, it slows down the database?!?!?!私はこの固定リンクの構造については、下のデータベース?!?!?!を聞いて、 1ノックパフォーマン I have no idea if that is true.私は、該当する場合に全く気付いていない。 The person stated it on a forum and insited that an ID must be put with it.その人は、フォーラム上に記載し、それにはID insitedをする必要があります。 Well, after viewing tons of WordPress sites that rank well I noticed they didn’t bother with the ID.まあ、それも彼らのIDで悩まないようなのですが、ワードプレスのサイトの順位を表示した後トン。 . . maybe I’ll end up with a slow database.たぶん私は、ゆっくりとデータベースとなるでしょう。 . . don’t know but I would think this issue would have been brought up to the WP programmers.知らないが、私はこの問題は、 WPを採用プログラマーにもたらされていると思うだろう。

    Charlesチャールズ

  4. DR DRの Has the following to say...は、次のことにしている...

    Quick question: When I change the permalink structure on my Wordpress 2.5 blog to /%category%/%postname%/, the old posts’ url doesn’t change.簡単な質問:私はWordPress 2.5のブログに/ %カテゴリー% / % postname % / 、古い記事のURLを変更していない上の固定リンク構造を変更してください。 The links seem to all work, but the url stays the same.は、リンク先のすべての仕事には思えるのURLは同じままになります。 What am I missing?今私が見つからないか?

    DRs last blog post.. DRs最後のブログの記事.. Make Money Blogging–Setting Up a WordPress Blog in 3 Easy StepsメイクマネーBloggingà ¢ â 、 ¬ â €ワードプレスのブログを3つの手順で簡単œSetting

  5. admin 管理 Has the following to say...は、次のことにしている...

    @DR - I’m not sure what you mean. @ DRの-私は君の言っていることはよく分からない。 You changed your permalink structure and the URL’s stayed the same - have you enabled the permalink migration plugin?あなたとあなたの固定リンク構造の変更は、 URLのは、同じ宿泊-移行プラグインを有効にしている場合は、固定リンクですか?

  6. How To: Making Your Old WordPress Posts New Again 方法:新しいワードプレスの再度作成するには、古い投稿 Has the following to say...は、次のことにしている...

    [...] your posts doesn’t change when the old posts are “shifted” to the home page. [...]自分の投稿時に古い記事は、 "シフト"のホームページには変更されません。 Read How to change permalink structure seamlessly if that situation applies to you.どのようにシームレスに適用される場合、その状況を固定リンク構造を変更することをお読みください。 Want automatic updates?自動更新をしたいですか? Subscribe to our RSS feed or Get [...]のRSSフィードを購読する、または取得[...]

  7. Jason ジェイソン Has the following to say...は、次のことにしている...

    Do you know if you can change the page urls.場合は、ページのURLを変更することができます知ってる。 I can change the permalink post structure but I want pages to end in .html.私は、固定リンクポスト構造を変更することができますが、私は最後にしたいページを選択します。 Well, a client does.まあ、クライアントではない。 I’ma bit stuck.私は少し立ち往生。 = | 8

    Any ideas?そのアイディアですか?

    Thanksありがとう

    Jasonジェイソン

    Jasons last blog post.. Jasons最後のブログの記事.. Heavyweight pagesヘビー級のページ

  8. admin 管理 Has the following to say...は、次のことにしている...

    @Jason - first of all, tell your client that he’s nuts, and in today’s day and age there’s no reason to have any page end in “.html” because google just doesn’t care. @ジェイソン-まず、お客様のクライアントは、彼の言うナッツと今日の今日ではそこに任意のページを終了している理由はありません" 。 H TML"のためのG oogleだけ気にしない。 I mean, come on - google can even index flash files now.私は、という意味になる-G oogleのインデックスをフラッシュすることもできます。 That’s like giving someone a piece of bread, and telling them to call it’sa “biscuit”.がパンの切れ端を与えるような、と"ビスケットこれは電話して指示" 。 They don’t care what you call it - they know when they’re eating it it’s still a piece of bread.彼らはあなたが-その際にはまだパンの切れ端を食べているのは知っていると呼ぶ気にしない。

    In any event, if you client still insists on being a stubborn little know-it-all…you can still do this.いずれにしても、クライアントがまだの場合はちょっと知っていると主張する頑固さは、すべての...あなたはまだこれを行うことができます。 Just change your permalink from /%postname%/ to /%postname%.html and I believe that should do it!ただ/ % postname %からお客様の固定リンクを変更/ / % postname %に。 HTMLと私はと言えばいいと考えている!

  9. Jason ジェイソン Has the following to say...は、次のことにしている...

    Oh Yes He knows he is nuts!オハイオはい彼は知っているナッツです! I tell him daily.私は毎日彼に伝えます。 = That hack fixes the posts but bizarrely not the pages.それは奇妙には、ページの投稿を修正しないハック。

    Maybe I’ll have to play with the htaccess file.たぶん私はhtaccessファイルを再生する必要があります。

    If I find the answer I’ll post it!もし私が私が投稿されます答えを見つけて下さい!

    Jasonジェイソン

    Jasons last blog post.. Jasons最後のブログの記事.. The great social marketing experiment – Part 1 – The beginning偉大な社会的マーケティング実験â € "パート1 â € "の始まり

  10. swanky gift ideas しゃれた贈り物のアイデア Has the following to say...は、次のことにしている...

    Great post, I am been looking for articles about this.偉大なポスト、私はこのに関する記事を探している。

    swanky gift ideass last blog post..しゃれた贈り物最後のブログの記事.. ideass 3 Badass New Terran Gameplay Videos For Starcraft 2 3たちの悪いやつ新しい地球人ゲームプレイ動画スター2

  11. trumank girls trumank女の子 Has the following to say...は、次のことにしている...

    = wow i have a lot old post ..すごいたくさんの過去の投稿をしている私は.. this tutorial is great thanksこのチュートリアルは非常に感謝です

  12. Chad チャド Has the following to say...は、次のことにしている...

    What about the何が約 codex partコーデックスの部分 that says you shouldn’t use just /%post-name%を使用してはならないということだけ/ %ポスト名%

    Is that still gonna be a problem?は、まだ問題があるんですか?

    Chads last blog post.. Chads最後のブログの記事.. Webcam Visuals ウェブカメラ映像

  13. admin 管理 Has the following to say...は、次のことにしている...

    @Chad - personally I think that paragraph is a ridiculously old and outdated piece of information that should be removed. @チャド-個人的に私は、段落を削除する必要があります情報のとんでもなく古いものと古い作品だと思います。 It even questions itself with the (is this true with WP 2.0+) mention within it.さらに、 (これに該当するWPを採用2.0での自身の質問+ )に言及。 It was written way back in the days of WP 1.x. 1.x.の時代WPを採用することでは、双方向の書かれて

    About 2 years Matt Cutts wrote a post saying that Wordpress sites should “drop” the date based permalinks and to postname only after the URL because it was better for SEO, and better if you (later) restructure your blog or site. SEOのためのより良いでしたが、約2年マットカッツ、郵便は、 Wordpressのサイト"ドロップ"は、日付とパーマリンクのURLをベースにすべきpostname後にのみ、より良いと書いている場合は(それ以降)あなたのブログやサイトを再構築する。 I have to say - he gave great advice, it’s been working for me.と、私のために働いていると言わざるを得ない-彼は偉大な助言を与えた。

  14. Dudu ドゥドゥ Has the following to say...は、次のことにしている...

    Do you known if there’sa way of using %tag%/%postname%/ as a permalink without breaking Wordpress?ワードプレスを壊すことなく、固定リンクとして%タグ% / % postname % /を使用して知られている場合の方法があるか?

    Dudus last blog post.. Dudus最後のブログの記事.. Vem aà o Rolls-Royce de pobre Vem ÂÃまたはロールスロイスデ非常に悪い

  15. admin 管理 Has the following to say...は、次のことにしている...

    @Dudu - no I don’t know of anyway to do that and not break wordpress. @ドゥドゥ-とにかくないことではなく、ワードプレスを破るどうしたらよいのか分からない。 Especially because a post could have multiple tags.特にこれは、複数のタグを投稿している可能性がある。 Why would you want to do this?どうしてこんなことをやってみたいですか?

  16. Dudu ドゥドゥ Has the following to say...は、次のことにしている...

    I was thinking about it because tags usually have more identification with the content than the category - that’s normally more generic.タグは、通常、カテゴリーよりも、コンテンツをより識別している私はそれについて考えていた-は、通常より汎用的だ。
    And a post can have more than one category too.投稿を過ぎると、複数のカテゴリを持つことができます。
    Maybe Wordpress should have one option where we could set one tag as the most important and it could be used in the permalink. Wordpressのかもしれないが我々の最も重要なこととして、 1つのタグ設定は、固定リンクに使用される可能性がある1つの選択肢があるはずです。

    Dudus last blog post.. Dudus最後のブログの記事.. Paulo Lins é um spammer dos piores パウロリンスà ©ええとスパマードスpiores

  17. admin 管理 Has the following to say...は、次のことにしている...

    @Dudu - Maybe you misunderstand how tags and categories work. @ドゥドゥ-たぶんに誤解タグやカテゴリをどのように動作します。 Each tag has it’s own page, and each category has it’s own page, and posts (in those tags and categories) are listed on their assigned pages.それぞれのタグ、それ専用のページをしている各カテゴリ、それ専用のページをしており、これらのタグや投稿カテゴリ( )が割り当てられたページに記載されている。 It would be redundant to have /%tag%/%postname%それが/冗長になるタグ% % / % postname %

    Also, ever tag and category assigned is usually listed in the meta of the post, it would be of no use to have it in the URL, and of very little use SEO wise.また、これまでタグやカテゴリを割り当てられ、通常、投稿のメタに記載されて、しかたがないのURLがある、となるとの賢明なSEOのほとんどを使用している。

  18. Dudu ドゥドゥ Has the following to say...は、次のことにしている...

    I was thinking that maybe it could be better (SEO speaking) to use a tag in the permalink.私は良いかもしれない( SEOの話すこと)は、リンク内のタグを使用する可能性があることを考えていた。
    But maybe you’re right.しかし、右側のかもしれませんね。
    Anyway, thanks for you’re answer.とにかく、回答いただき感謝しています。

    Dudus last blog post.. Dudus最後のブログの記事.. Passagens Gol com milhas do programa Smiles PassagensにGolのCOM milhasプログラムの笑顔を行う

  19. How To: Making Your Old WordPress Posts New Again 方法:新しいワードプレスの再度作成するには、古い投稿 Has the following to say...は、次のことにしている...

    [...] your posts doesn’t change when the old posts are “shifted” to the home page. [...]自分の投稿時に古い記事は、 "シフト"のホームページには変更されません。 Read How to change permalink structure seamlessly if that situation applies to [...]どのような状況に適用される場合にシームレスに固定リンク構造を変更するには読み取り[...]

Question or Comment??質問やコメントするのか? Spill it Now...流出は今...

喜びのコメントをジャンプ!

We Reward Comments!我々のコメントを報酬!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin!私たちはdofollowリンク、および" CommentLuv "プラグインからのすべての新しいコメントの下に署名、お客様の最新のブログの記事になる! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL!毎月のトップコメントは、サイドバーウィジェットこのサイトの各ページをURLにバックリンクに記載されている! We would like to reward you for becoming part of our community!我々のコミュニティーの一員となるために報酬をしたいと思います! Your comment is valuable not only to us, but also all the other readers of this blog!あなたのコメントを私たちだけが、このブログの価値がある他のすべての読者にも!


Click to add smilies to your post! クリックして投稿するのスマイルを追加する! == [ ]^ = (= ( (= ( |= )でr= | 8= 0= ) 〜= 00= (= ; ;= ) ]= ; ; ;