WordPress Tip on Permalink Options WordPressの先端に固定リンクオプション
This tip covers configuration in Options/Permalinks [Edit Permalink Structure] for WordPress users.このオプションの設定のヒントをカバー/ Permalinksの[編集permalinkの構造]をWordPressのユーザーです。 My version is WordPress 1.5.私のバージョンはWordPress 1.5である。
By default WordPress uses a query string to identify a post. WordPressのデフォルトでは、クエリ文字列を識別するに投稿します。 This is neither search engine friendly nor human friendly.これはどちらも人間の友好的なサーチエンジンフレンドリー。 A better way is to use a custom URI to better identify your posts.を使用するには良い方法は、ヨルリンウリをより良くするカスタムの記事を識別しています。 Many bloggers include a date as part of the permalink.多くのブロガーには、日付の一環として、固定リンクします。 I advise against it私アドバイスすることもできます .です。 The date of the post is not so important as to be part of the URI!この評価をするポストではないに参加することが非常に重要なものとして与党ヨルリンウリ!
My suggestion is to use a simple structure containing the post-slug as your Permalink URI.私の提案を使用するには、シンプルな構造を含むポストスラグとしてお客様の固定リンクヨルリンウリです。 I use:私の使用:
Structure: /index.php/archive/%postname%/構造: / index.phpを/アーカイブ/ % postname % /の
Note that there is an index.php embedded. index.phpを組み込みには注意してください。 This is fine with search engines and humans too.これがうまくいくと、検索エンジンと人間が判明しました。 And it will work great.と働くことは素晴らしいです。 It doesn’t require mod_rewrite functionality or change to htaccess. mod_rewriteの機能を必要としませんhtaccessを変更したりします。 Something as simple as this will work in all configurations.何かのような簡単な作業で、これはすべての構成です。
For category base I use simply: /index.php/category基地を使用するだけで作成カテゴリ: / index.phpを/カテゴリ
This is just a simple example.これは単純な例です。 You can make your URI as complicated as you want.ヨルリンウリにして複雑にすることができます。することができます。 Just remember to test it.をテストすることをお忘れなく。
Personally I like it short and simple.個人的に私のように短いと簡単です。
Update 1 : Please refer to the comments below for points and counterpoints on this topic. 更新プログラムの1 :以下のコメントを参照してくださいポイントとcounterpointsしてください。
Update 2 : The objections raised by some people is that having an identical named title for posts will cause problems with WordPress. 更新プログラム2 :いくつかの提起した異議申し立てを持つ人々は、同じ名前のタイトルをWordPressの記事が原因で問題が発生します。 This is not a valid observation anymore.もう、この観測は有効ではありません。 In other words you can have 10 posts named “Happy New Year” and WordPress will assign unique post-slug to each.言い換えれば10件の投稿をすることができます名前が"明けましておめでとう"とWordPressのは、ユニークなポストに割り当てるスラグを各します。 Simply said this approach is without any drawbacks AFAIK.このアプローチはなく簡単に言うと欠点のAFAIK 。
Update 3 : Cem commented: 更新3 : Cemのコメント:
For future reference, I was able to get permalink URL rewriting working in WordPress by creating a php.ini at my domain root with the following configuration:今後の参考のため、私は固定リンクのURLの書き換えを取得できるようにWordPressを作成する作業php.iniを自分のドメインのルートには、次の構成:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
Several people have found it useful on various environments including but not limited to IIS on windows as can be seen from the comments.いくつかの人々が発見でその便利さを様々な環境にIISを含むがこれらに限定されるWindowsの図に示すように、コメントはありません。 Thanks Cem for sharing! Cemの感謝を共有する!
BTW: Personally I use /archive/%postname%/ for myところで:個人的に私の使用/アーカイブ/ % postname % /のためマイ Stem Cell Research Blog幹細胞研究のブログ without requiring any changes.すべての変更を必要とします。
The greatest benefit is that you don’t have to embed index.php as part of URL, possibly slightly increasing your SERP.の最大の利点はindex.phpを埋め込みを行う必要はありませんのURLの一部として、 serp可能性がわずかに引き上げることをお勧めします。
Filed under提出されて Headline Newsニュースの見出し , 、 How Toどのように , 、 Pro BloggingプロBlogging , 、 Webウェブ , 、 Windows Windowsの , 、 WordPress WordPressの | |
| |
RSS 2.0 RSS 2.0を | |
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |





March 16th, 2005 at 12:19 pm 2005年3月16日12:19 pmの
I think you’re making a mistake discouraging the use if the date in URI’s.と思うの言っていることに間違いを落胆させる日付を使用する場合は、ヨルリンウリのです。 Wordpress does not require post slugs to be unique. WordPressのナメクジを作成する必要はありませんがユニークです。 So if all you is ‘/archive/slug’ the chances of having a collision go increase greatly over time.もしあなたがすべての' /アーカイブ/スラグ'する機会を持つ衝突行く時間の経過を大幅に増加します。 Can you really be sure that in the next x years you’ll never recycle a post title, ever?本当にできることを確認しては、次のx年間をリサイクルすることはありません投稿タイトル、いつもですか?
Adding the category helps, of course, because then you’d have to duplicate the title and category to cause problems.カテゴリを追加して助け、もちろん、あなたは認めざるを入力し、重複するためのタイトルやカテゴリを原因で問題が発生します。 But the date adds a unique identifier to the string that is guaranteed not to be repeated.しかし、日付の文字列を固有の識別子を追加することが保証されるが繰り返されています。
I use a month-year combination for my date field, figuring that within anygiven month I’m unlikely to repeat slugs.私の組み合わせを使用する年の月日マイ日付フィールドは、計算anygiven月に私は思いも寄らないことを繰り返してナメクジです。 But even that could be seen as too restrictive by some.しかし、それがあまりにも見られるいくつかの制限されています。
You’re also overlooking that adding the date adds a sense of relevance to your links.あなたは、見渡せることも追加して日付を追加する感覚を使用してリンクの関連性が高い。 Do i care about content more than a year old?気にすればよいのコンテンツ歳以上ですか? No?ないですか? Then maybe I don’t need to follow that link i saved that’s dated 1999.入力し、多分私に従う必要はありませんがリンクはどこに保存の日付が1999年です。
March 20th, 2005 at 4:03 am 2005年3月20日は4:03アム
Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS) なぜ私に埋め込むの日付がURLを思いとどまらせるの(を含むWordPress Permalinksは、また他のcms )
The reasons I discourage date’s in a permalink are: It is redundant information as date is already part of the post information and need not be additionally within the url.その理由は私を思いとどまら日付の固定リンクは:これは冗長な情報を日付部分は既にするには、投稿情報とする必要はありませんがまたにしてください。 Search engines like google, which gives importance to words in URL’s will … Googleの検索エンジンのように、これの重要性を与えるの単語をURLのは…
March 20th, 2005 at 4:05 am 2005年3月20日4:05 AMの
Squeg, Squegのは、
Please read myをご覧くださいマイ article on this topicこのトピックに関する記事を to specifically address your concern.アドレスをして具体的な関心事です。
Let me know your thoughts.あなたの考えをお知らせください。
March 21st, 2005 at 9:53 am 2005年3月21日は9:53アム
I definitely agree that the data is not always necessary in a url.確かに同意するものとし、常に必要なデータのURLではない。 But I still think using it in most permalink structures does more good than bad.しかし、私はまだ思っ使用して、ほとんどの固定リンク構造が悪いよりももっと良いです。
I will concede that the date makes the url “uglier.” So I recommend using the most compact date structure you can to meet your needs.私は譲歩のURLは、日付を"グロテスクだった。 "だからお勧め日付構造を使用して、最もコンパクトなお客様のニーズを満たすことができます。 For some that may mean leaving it out.いくつかの意味を残してことがあります。 For me it means domain/archives/MM-YYYY/slug.私にとって意味のドメイン/アーカイブ/月- yyyy /スラグです。 I wish i’d left the word “archives” out as the date pretty much implies that.私の言葉お祈り左の"アーカイブ"としてかなりの日付を意味しています。
I’m not sure that I follow how having the date in the address “poisons” the search engines.私はどのように確認して次の日に私のアドレス"毒"の検索エンジンです。 I’d like to hear more clarification on what you mean by this.詳細な説明を聞くをしたいのですが何を意味しています。
Almost all non “time-sensitive” information really is time sensitive if it’s old enough.ほぼすべての非"時間に敏感な"情報に敏感な場合に実際には時間の旧十分ではありません。 The only real exceptions are pages where the content is continually updated/replaced with new information as it ages.例外は唯一の現実に、コンテンツページには絶えず更新/置き換えられて新しい情報として年齢です。
Take for instance, a guide to creating web-pages written in 1998.例えば、ウェブページを作成するガイド1998年に書かれています。 If it was well-written in 1998 it may have attracted many links, moving it up the search engines.よく練られた場合は、 1998年には多くのことがありますリンク、動くことの検索エンジンに登録します。 But if it has not been updated, then it is really quite behind the times with reguard to today’s best practices.でも、もしそれが更新されていない、それは実際にはとてもreguard回の背後に、今日のベストプラクティスをします。 It may still be technically accurate within the framework for which it was created, but it’s still dated.技術的にまだ正確なことがありますためのフレームワークは作成されていたが、それはまだ日付です。 Someone looking at this page today needs to know right away that it’s old information and they should look elsewhere.今日のニーズにこのページを見てすぐにこのことを知って昔の情報と彼らを見ている。
As you can see from your own kubrik installation under wordpress, not every page actively displays the date in a prominent location.として参照することができます。 kubrikからして、インストールされてWordPressのではなく、すべてのページを積極的に著名な場所の日付が表示されます。
It’s also worth mentioning that Wordpress (and probably other such systems) use the permalink you specifiy in your RSS as well as on your webpage. WordPressのことも特筆すべきこと(そしておそらく他のようなシステム)を使用して固定リンクをあなたのRSSの指定だけでなく、お客様のウェブページです。 Many RSS readers will use the permalink, if it’s identified, as a unique identifier for the item in the feed. RSSリーダーは、多くの固定リンクを使用して、もしそれが発見、そのアイテムの固有の識別子としては、フィードのです。 Reader software can use that unique ID to enable further functionality for managing feeds and posts.リーダーソフトウェアを使用して固有のIDを有効にするとの記事をより詳細な機能のフィードを管理するためです。 In these circumnstances it’s even more beneficial to ensure that your permalinks are unique.これらのcircumnstancesでそれを確保するためのさらに多くの有益してください。 permalinksがユニークです。
In the end, my comment isn’t so much about any given individual leaving the date out of their permalink structure.での最後に、私のコメントではないそんなに個々の任意の日付を残してpermalinkの構造です。 It’s about dissuading all users from including it without first considering both the pro’s and con’s of doing so.それはdissuadingを含むすべてのユーザからの最初のことを考慮せず、プロのと反対の両方があるようです。 Using the date may not always seem necessary, but it does add a bit of “future-proofing” should your needs change.使用して、日付が必要なように見えるとは限らない、それが機能を追加するビットの"未来補強"は、お客様のニーズに変更します。
My advice to new wordpress users when choosing a permalink structure would be to stick with “ugly” links for awhile until they can really get a feel for how they’d like to use their blog.私のアドバイスをするときに新しいWordPressのユーザーを選択するとpermalinkの構造に固執するが"醜い"のリンクをされるまでしばらく感触をつかむことができます本当にをしたいのですがどのように使用してブログです。 You can always add permalinks without causing damage. permalinksを発生させることなく、常に追加することができます。損傷します。 But once you set them up, you can’t really change the system without causing a lot of stuff that used to work, to fail.しかし、一度に設定して、システムを変更するにすることはできません本当に発生させることなく、多くのものを使用するには、に失敗します。
March 23rd, 2005 at 6:12 pm 2005年3月23日は6:12 pmの
Actually, mainstream WP user and WP developers argue against NOT using a date structure in the permalinks.実際のところ、主流WP WPのユーザと開発者が反対の論陣を張る日付構造体を使用していないのpermalinksを使用する。 This has been argued on the forums several times.この主張をされ、フォーラムのいくつかの回クリックします。
Let’s say that on January 1st, 2004, you post “Happy New Year!”, and then on January 1st, 2005, you post “Happy New Year”.レッツことを言ってやるが2004年1月1日、あなたの投稿"明けましておめでとう! "と入力し、 [ 2005年1月1日、あなたの投稿"ハッピーニューイヤー"です。 You now have two posts at domain.com/happy-new-year and this sends your site into a spiral of chaos.今すぐには2つの記事をdomain.com /幸せな新しい年をお客様のサイトへ送信すると、このスパイラルオブカオスです。 Having some sort of date structure will prevent this.いくつかの並べ替えの日付がこれを防ぐ構造です。
March 24th, 2005 at 4:40 pm 2005年3月24日4:40 pmの
@MacManx I realize that this is a situation we need to guard against.の@ MacManx私は、この状況を実感して私たちを警戒する必要がある。 Wouldn’t it however be better to modify WordPress to ensure uniqueness of post slug?しかしが良いことはないのWordPressを確保するためのユニークさを変更するスラグの投稿ですか? Let the title be same.て、タイトルが同じです。 When WordPress realizes that the title is duplicate while publishing, it changes the post-slug to be unique by adding say date. WordPressの実現するときには、タイトルが重複しながら出版、ポストスラグに変更することを言ってやるがユニークな日付を追加します。 However as the post slug is not viewed by the public at large it doesn’t affect the user and the viewer?しかしポストのスラグではないとしての人気を公にされる大規模な影響を及ぼすことはありませんユーザとのビューアですか?
What do you think.どうお考えです。
@Squeg Thanks for your informative comments. @ Squegの有益なコメントをお寄せいただきありがとうございます。 I understand your concerns.私の懸念を理解しています。 I have updated both my post to include a link to your comments, so people can read both and choose whatever suits them best.私は私の更新済みの両方のリンクを投稿するにはあなたのご意見には、ので、人々が何を読むの両方を選択して最高のスーツです。
Personally I like it simpler without the date as I have already stated, accepting the risk of duplicate post-slug.個人的に私のような単純ななしの日付がすでに述べたように、重複の危険性を受け入れポストスラグです。 I may actually do something to remedy the situation wrt.私が実際に何か、この状況を改善wrtで変わった。 duplication in line with my idea described above.重複に沿って、上記の私の考えです。
Thoughts?考えですか?
March 25th, 2005 at 7:58 am 2005年3月25日の午前7時58時
While i like the date for a lot of things, I do agree sometimes it would be nice to ditch it.私のように日中は、多くのことを、私は同意することがニースを溝にしてください。 As we’ve both discussed, the biggest single inhibitor to leaving the date out of wordpress is that it doesn’t enforce unique post slugs.両方の議論を行っているけど、 1つの阻害剤を残すことの最大のアウトのWordPressの日付は、それを強制されないユニークなポストナメクジです。 It does seem like it would be pretty simple to hack wordpress so that it guaranteed a unique post slug by checking the database for exising instances of it’s proposed slug and then appending a number or something to the end of the slug.それはかなりのように思えることが簡単にハッキングWordPressのようにユニークなポストを保証スラグをチェックして既存のデータベースのインスタンスを提案したことのスラグと入力し、番号か何かを付け加えることは、ナメクジの最後にします。 ( A warning at that time would be nice too, so you could modify the slug if you wanted. ) (その時に警告がニースでも、これを変更するにスラグが指名手配する場合です。 )
I’d also like it to automatically truncate long slugs.私も長いナメクジのようなことを自動的に切り捨てられる。 I know that might make it harder to determine what to type into the URL if you’re trying to guess (who really does that?) but it would definitely simplify the URLs.私知っているかもしれない何をするかを判断することを難しくするタイプのURLを推測しようとしている場合( who本当に機能ですか? )でもそれは簡単にするdefinitely URLを指定します。 Some kind of options setting where you specified a maximum number of characters for the slug, would do the trick.ここでいくつかの種類のオプションを設定する最大文字数を指定すると、スラグ、はには、トリックです。
April 2nd, 2005 at 9:39 pm 2005年4月2日は9:39 pmの
[...] rs, Link-blog03. [...] rs 、リンク- blog03です。 April 2005 .htaccess 파일을 건드릴 필요 없는 방법 WordPress Tip on Permalink Options Comment RSS - [...] 2005年4月。 htaccessを파 일 을 건 드 릴 필 요 없 는 방 법 WordPressの先端に固定リンクオプションコメントのRSS -[ ...]
April 9th, 2005 at 6:00 am 2005年4月9日は午前6時00分
WordPress Permalinks Updated WordPress Permalinksは更新済み
I have updated my WordPress permalinks from:私は更新済みマイWordPress Permalinksは投稿者:
/year/month/day/TITLE /年/月/日/タイトル
to: :
/archives/month/day/TITLE /アーカイブ/月/日/タイトル
I just think It would look alot better like that.私だけがずっといいと思ういい感じに見えるようにします。 That’s all :)….それがすべて: ) … 。
April 14th, 2005 at 6:51 am 2005年4月14日は6:51アム
My server is running on Windows Server (brinkter.com) so I guess I’m SOL regarding permalinks.私のサーバーがWindows上で実行さサーバー( brinkter.com )だから私はソルに関する推測permalinksを使用する。
Any workarounds?任意の回避策ですか?
April 14th, 2005 at 7:04 am 2005年4月14日7:04 AMの
edit: that should be “brinkster.com” on the above post.編集:ばならないことの" brinkster.com "は、上記のポストを作成。
April 14th, 2005 at 12:56 pm 2005年4月14日12:56 pmの
@Carlos The ideas in this post works on Windows server too. @カルロスのアイデアのこのポストの作品をWindows Serverが判明しました。 In fact I have a copy of the site running on my Windows Apache server at Home.実際にそのサイトのコピーを私には私のWindows Apacheサーバで実行され自宅です。
This is the beauty of the idea.これは、美しさの考えです。 It requires no special features enabled for it to work on any platform.それを必要としない特別な機能を有効になって仕事をして、どのプラットフォームです。
April 16th, 2005 at 4:47 pm 2005年4月16日4:47 pmの
Yes, but it seems you need to have Apache running.ええ、でもそれをする必要があるようApacheの実行中です。 What I meant was that brinkster runs Windows Server 2003 as their web server platform, as opposed to Apache for Windows.私が言いたいのは、 Windows Server 2003のbrinksterの実行プラットフォームとしてのウェブサーバーとは反対に、 Apacheのインストールしてください。 It seems you need apache’s mod_rewrite for the permalink options to work. Apacheのmod_rewriteのようにする必要があります。パーマリンクのオプションを動作します。
Thanks.ありがとう。
April 16th, 2005 at 11:22 pm 2005年4月16日11:22 pmの
@Carlos @カルロス
No it doesn’t need apache running. Apacheの実行中の必要はありません。 To use my tip above you do not need mod_rewrite capability nor do you need .htaccess.上記のヒントを使用している必要はありません。 mod_rewriteの機能もする必要があります。 htaccessを使用します。 That is the beauty and simplicity of the solution.の美しさとシンプルさには、解決策です。 Just try it.ちょっと考えてみることです。 It will work.これは動作します。
April 17th, 2005 at 4:50 am 2005年4月17日は4:50アム
I get a “No input file specified.” when I try anything with the permalinks.私を見るGet a "いいえ入力ファイルを指定します。 "何かをしようとした際にpermalinksを使用する。
April 17th, 2005 at 10:16 pm 2005年4月17日10:16 pmの
Am having issues too, trying to setup permalinks on Win2K3/IIS server.問題が発生した時も、セットアップのpermalinksをしようとしてwin2k3/iisサーバーです。 It throws a 404 error, no matter what permalink structure i try!例外に404エラーを返すことに関係なく、どのようなpermalinkの構造しよう!
April 17th, 2005 at 10:32 pm 2005年4月17日は10:32 pmの
@Sajin & @Carlos @ sajin & @カルロス
Try these exactly as typed (in Options/Permalinks) and let me know if you still have problems.これらを正確に入力しようと( [オプション] / Permalinksで)をご存知でしたら、私かどうか、まだ何か問題が発生します。
Structure: /index.php/archive/%postname%/構造: / index.phpを/アーカイブ/ % postname % /の
Category base: /index.php/categoryカテゴリ基地: / index.phpを/カテゴリ
April 18th, 2005 at 6:00 am 2005年4月18日は午前6時00分
Angsuman, tried again, making sure to copy-paste from your message.のAngsuman 、試行されるよう、貼り付けをコピーすることを確認してからメッセージを表示します。 I still get a “No input file specified” message.今でも取得する"いいえ入力ファイルの指定"というメッセージが表示します。 I’m waiting a while now, to see if this is some sort of database or configuration issue that needs some time to set itself.私は今しばらく待って、これは、いくつかの並べ替えかどうかをデータベースや設定に問題のいくつかの時間を設定すること自体が必要です。
For example, this is how one of my post links looks like now:たとえば、これは私の投稿のリンクを1つの方法については次のよう今すぐ:
http://www.carlanga.com/blog/index.php/archive/using-crypto-hashes-salts-to-protect-database-privacy/ http://www.carlanga.com/blog/index.php/archive/using-crypto-hashes-salts-to-protect-database-privacy/
Does that look ok to you?機能が使われてOK ]をクリックしですか?
Thanks!ありがとう!
April 18th, 2005 at 6:06 am 2005年4月18日6:06アム
Waited a while… added a post… no luck.しばらく待って…加えたポストを…ない幸運です。 It doens’t seem like this will work on non-Apache boxes.これは仕事のように思えることdoens't以外のApacheのボックスをオンにします。
April 19th, 2005 at 2:09 am 2005年4月19日の午前9:09
@Carlos I will check it out. @カルロス私はチェックしてください。 It should be possible as it is using something very basic.を可能とすべきであるとして非常に基本的なことは何かを使用しています。
The reason I don’t have IIS, even on my home machine, is due to security concerns.その理由を持っていないIISでは、私のホームマシンでも、安全保障のためには関心事です。
BTW: Have you faced aany security related issue with your IIS deployment?ところで:ここにセキュリティ関連の問題に直面してaany IISの配置のですか?
April 19th, 2005 at 2:17 pm 2005年4月19日2:17 pm投稿
@angsuman, @のAngsuman 、
Not that I know of, as Brinkster handles all the hosting (shared hosting).私の知る限りではない、としてbrinksterのハンドルのすべてのホスティング(共用ホスティング)です。 They should keep all patches up to date, etc. But I haven’t had any problems so far in the 3 or 4 years I’ve been with them.彼らはすべてのパッチを最新の維持などすべての問題が発生しかし、私はこれまでのところは、 3または4年間働いてきたことです。
Just now I noticed they offered PHP/MySQL support and thus installed Wordpress.ちょうど今気付いた彼らはPHPの/ MySQLのサポートおよびしたがってWordPressのインストールします。 I was using Radio Userland, via FTP, before.私は無線のUserlandを使用して、 FTP経由で、前にします。
April 22nd, 2005 at 5:34 pm 2005年4月22日は5:34 pmの
My server runs Win2000/IIS5 and no problem with “index.php” permalinks.私のサーバが動作に問題がないwin2000/iis5と" index.php "のpermalinksです。 Perhaps this is specifically a Windows 2003 or IIS6 problem?おそらくこれは、具体的にWindows 2003またはiis6の問題ですか?
I run Apache2 on the same server and that’s where all the WP1.5 installs are.私、同じサーバー上のapache2の実行で、それこそがwp1.5のすべてのインストールができます。 Permalink structure is defaulted to /%year%/%month%/%postname%/ for clarity. permalinkの構造は、デフォルトで/ %年% / %月日% / % postname % /のを明確にします。
April 24th, 2005 at 1:25 am 2005年4月24日は1:25アム
@rust, @さび、
Do you have your Wordpress installation running on IIS5 or on the Apache server you have on the same machine?あなたのWordPressのインストールをお持ちですかiis5上で実行され、 Apacheサーバが同じマシン上でですか?
April 25th, 2005 at 10:33 am 2005年4月25日10:33 AMの
Just chiming in, but Carlos, any chance you have your index.php in a nonstandard location?わずかに同意してくれ、しかし、カルロス、あらゆる機会を持ってindex.phpが非標準の場所ですか? Maybe the link that’s supposed to be pointing at your index file really isn’t?たぶんそれははずのリンクして、インデックスファイルを指さしながら本当にではないですか?
If that doesn’t seem to be the issue and you’re not using a default theme, you might try switching back to classic or kubrik.もしされていないと思われる問題を使用していないのデフォルトのテーマは、次のよう省略してクラシックやkubrik切り替えを試みてください。 It’s *possible* that whatever theme you’re using doesn’t link to the code that parses the URL string aside from the standard GET stuff.それがどんなテーマの*可能性*を使用していないのリンクをURL文字列のコードを解析して得るものはさておき、標準のです。 Admittedly, I’ve not actually gone spelunking to find the code that’s supposed to be doing that parsing.確かに、私は実際に行ったspelunkingのものを見つけるにはコードを解析をして過ごすのことです。
April 25th, 2005 at 3:49 pm 2005年4月25日3:49 pmの
Thanks Squeg.ありがとうSqueg 。
I’m running the default theme… let me check if location has anything to do with this.私はデフォルトのテーマを実行しているかどうかを確認させて…何もこれを行うには、この場所です。 I have everything installed in a folder (www.carlanga.com/blog) but otherwise, it’s just as it came in the original file.私はすべてのフォルダにインストールされ( www.carlanga.com /ブログ)しかし、そうでなければ、それと同様に来たのでは、元のファイルです。 I unzipped and FTP’d.私とftp'd解凍します。
Thanks.ありがとう。
April 26th, 2005 at 10:17 am 2005年4月26日10:17アム
Well that sounds like a pretty standard configuration.さて、これでかなりの音のように標準的な構成です。 Double-check the options screen in your dashboard to make sure that both location boxes point at the correct location.二重にチェックしてダッシュボードのオプション画面で両方のロケーションボックスをオンにすることを確認しては、正しい場所をポイントします。 You might (and i’m totally just shotgunning here) try setting the blog address toあなたかもしれない(と私は完全に闇雲に、ここだけ)しようとブログのアドレスを設定して http://www.carlanga.com/blog/index.php instead of just /blog.だけではなく/ブログです。
Aside from that, I’d say it’s going to come down to server configuration.それはさておき、私に降りてくる言ってやることが起こっサーバーの設定をします。 It’s possible the web server itself is choking on the oddly-formed URL.することが可能で、 Webサーバー自体は息を詰まらせるの奇妙な形成を入力します。 And at that point, I don’t really have a lot of good ideas.とその時点で、私は実際には多くの良いアイデアです。 Honestly, what’s really wrong with “ugly” url’s anyway?正直なところ、何が本当に間違って"醜い" URLのとにかくですか?
April 26th, 2005 at 8:45 pm 2005年4月26日は午後8時45分
@Squegの@ Squeg
> what’s really wrong with “ugly” url’s anyway? >何が本当に間違って"醜い" URLのとにかくですか?
?p=3756 type of url’s don’t get much google-love (not to mention they are ugly)ですか? p = 3756タイプのURLの取得はありません多くのGoogle -愛(彼らは言及しないように醜い)
April 28th, 2005 at 2:42 pm 2005年4月28日2:42 pmの
So, has anyone gotten this to work under IIS?そのため、これを得たが誰の下で働くIISのですか?
April 29th, 2005 at 5:12 am 2005年4月29日5:12アム
Not me, not yet.はないよ、まだ。
April 30th, 2005 at 7:01 am 2005年4月30日の午前7時01時
Okay, last resort, you could try and get rewrites to actually work in IIS using something like this:オーケー、最後の手段として、あなたが取得しようとIISの作業を実際に使用して書き換えたのようになります:
http://www.isapirewrite.com/
The lite version is free and might be enough for what you’re trying to do. Lite版は無料で十分なのかもしれないこれを行うに何をしようとします。
April 30th, 2005 at 7:15 am 2005年4月30日は午前7時15分
Here’s another possible option (free)ここの別の可能なオプション(無料)
http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp
May 1st, 2005 at 2:43 pm 2005年5月1日は2:43 pmの
Thanks Squeg.ありがとうSqueg 。
Carlos, did you have any luck with these solutions?カルロス、参考には運が良ければ、これらのソリューションですか?
May 4th, 2005 at 2:55 am 2005年5月4日の午前8:55
From what I see, I don’t think I could get either of those to work, as I’m on a hosted server.自分の目から、私はできないと思いますがそれらのいずれかを取得するには、ホストサーバーとしてしているんだ。 I’ll look closer at Isapirewrite and comment if anything good comes up.私が見てisapirewriteとコメントどちらかといえば良いがやってきています。
Thanks!ありがとう!
May 4th, 2005 at 5:16 am 2005年5月4日5:16アム
How about changing your hosting providerホスティングプロバイダを変更する方法について
I found Linux hosting providers are normally cheaper and comes with addl.私が見つかりましたLinuxのホスティングプロバイダは、通常addl安価で付属しています。 capabilities like ssh, vps (some) etc.能力のようなssh 、 vpsを(いくつか)等
May 4th, 2005 at 3:04 pm 2005年5月4日は3:04 pmの
I thought about that… but then my hosting provider offered me a nice plan with PHP that was competitive with everything else out there and I decided the hassle of switching wasn’t worth it.と思ったについては…しかし、私に入力し、私のホスティングプロバイダに提供されたPHPのニースに計画を立てる競争力を持ったすべての他のアウト、簡単に切り替えることを決めたと私は全く無価値だ。 I’d have to move all my data plus my email domain.私は認めざるを移動する私の電子メールドメインのすべてのデータのプラスです。
They are about to start offering Linux hosting, so maybe all is not lost.彼らはLinuxのホスティングについては提供を開始するので、おそらくすべてではない失われてしまいます。
May 9th, 2005 at 5:52 pm 2005年5月9日は5:52 pmの
I have tried to search the site for the reason for using index.php as part of the permalink structure.私はしようとしたサイトを検索して使用する理由は、 permalinkの構造の一環として、 index.phpをします。 And of course it is hard to search for that since it is included on every pageそしてもちろん、そのを検索することは難しいので、すべてのページが含まれています
May 9th, 2005 at 11:27 pm 2005年5月9日11:27 pmの
@Gary @ゲイリー
Finally a downside of using “index.php” as part of permalinkマイナス面を使用して最後に" index.php "の一環として固定リンク
Looks like however you succeeded.しかしあなたは次のように成功した。
May 10th, 2005 at 1:17 pm 2005年5月10日1:17 pmの
Well, you won me over to the NoDateURI side.さて、あなたは私ウォン以上をnodateuri側です。 Being a noob with php, apache, etc, I was reluctant to do anything that might ‘break’ my site.が、 noob 、 php 、アパッシュ、等、私は何も消極的であることが'休憩'自分のサイトです。 But I backed up everything (including a spare copy of .htaccess) and said - go for it.しかし、すべて私のバックアップ(予備のコピーを含む。 htaccessを)によると-に行くことです。
It worked!!うまくいった! !
Then I realized all the links out in the wild world to my site were now probably broken.次に気付いたのすべてのリンクのアウトは、野生の世界を自分のサイトが今すぐ、おそらく壊れています。 And even though I like my 404 message - I prefer people not get it.と私の404のようなメッセージが表示さにもかかわらず-私を好む人々が得られなかった。
So, since I was being brave, I opened that back up copy of .htaccess and compared it with the new one.このため、以来私は勇気が、私のコピーをバックアップすることにオープンします。 htaccessのと比較して、新しい1つです。 I think I figured out how all the regular expressions were doing what they were supposed to do enought to try something bold.と思う考え出したのすべての正規表現がどのよう彼らは何を試してenoughtはずこれを行うに太字にします。 I copied the lines that started with ^([0-9]{4}) and replaced the pattern at the end:私の開始行をコピーして^ ( [ 0-9 ] ( 4 ) )と置き換えは、パターンの末尾:
`index.php?year=$1&monthnum=$2&day=$3&name=$4` ` index.phpか。年= $ 1 & monthnum = $ 2 & 1日= $ 3 &名= $ 4 `
with just:だけ:
index.php?name=$4` index.phpをですか?名= $ 4 `
In other words I removed:言い換えれば私が削除されました:
`year=$1&monthnum=$2&day=$3&` `年= $ 1 & monthnum = $ 2 & 1日= $ 3 & `
A quick test shows it worked - now the old links on my pingbacks, tracklogs, etc still should work.クイックテストを示してうまくいった-今すぐ、古いリンクしてp ingbacks、 t racklogs、等が必要です。 I emphasize ’should’ since I really have no clue about this stuff since I am an insurance agent and not a professional propeller head.私を強調'は'て以来本当に以来のか見当もつかないものについては、この私は保険代理店ではなく、プロのプロペラ頭です。
May 10th, 2005 at 1:56 pm 2005年5月10日1:56 pmの
WordPress Permalink Options WordPressの固定リンクオプション
As I read 2 posts on the Simple Thoughts blog about permalinks in WordPress I realized I wanted my permalinks to be ‘cleaner’.として2の記事を読んだ上での簡単な思考のpermalinks WordPressの私のブログについて私のpermalinksを実現したかったされる'クリーナー' 。
In the first article, [Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS)](htt…で、最初の記事は、 [なぜ私を埋め込むの日付がURLを思いとどまらせるの( WordPress Permalinksは、また他のCMSを含む) ] ( htt …
May 25th, 2005 at 10:16 am 2005年5月25日10:16アム
[...] permalinks. [...] permalinksを使用する。 At the very least, include the post name.少なくとも、には、投稿名を入力します。 Another recommendation can be found here.別の推薦はここにあります。 05.25.2005 @ 10:15 AM by paul @ rwt [...] 05.25.2005 @ 10:15 am投稿者ポールの@ rwtによる[...]
June 1st, 2005 at 10:56 am 2005年6月1日の10:56時
Carlos:カルロス:
I have just set up WP on Win2k3/IIS6, and was pleasantly surprised to find no problems with permalinks.私はWPの上win2k3/iis6セットアップするだけ、とは、うれしい驚きを見つけるのpermalinksの問題が発生します。 I have not installed any of the rewrite ISAPI filters.私のいずれかの書き換えインストールされていないISAPIフィルタです。 This site is for internal organizational use only, so is not accessable to the public — you’ll have to trust me that permalinks are working!このサイトは、内部組織のためにのみアクセスできるようにするためではない公共-ことがあれば私のことを信用しp ermalinksが働いています!
My guess is that you don’t have access to the php.ini file (I wouldn’t give access to all users if I was the host!)私の推測ではのアクセスをする必要はありません、 php.iniのファイル(私はないのにアクセスして、すべてのユーザーは、ホストすればよい! )
If I’m right, ask your host to turn on the cgi.fix_pathinfo option for PHP.もし私が正しいと、ホストにお尋ねくださいcgi.fix_pathinfoオプションを有効にするには、 PHPです。 Even if they make the change in php.ini, it requires a restart of IIS to take effect, so they may not be able to do that immediately.たとえ、それらの変更をphp.iniで、それには、再起動のIISを有効に、できないことがありますのですぐにこれを行うにしています。
If you begin hosting on your own server, and need to use IIS instead of Apache for some reason, try the suggestion on the WordPress Codex:ホスティングを開始する場合は、ご自分でサーバー、およびIISの代わりに使用する必要がApache用にいくつかの理由から、提案を試して、 WordPressのコーデックス: http://codex.wordpress.org/User:ringmaster/IIS http://codex.wordpress.org/user:ringmaster/iis
Hope that helps.期待して支援します。
June 8th, 2005 at 10:13 pm 2005年6月8日の10:13 pmの
Well, this discussion make me, a newbie in WP, confused.ええと、この議論に私は、 WPの初心者で、混乱している。 What should I choose?選択はどうすればよいですか?
June 8th, 2005 at 11:43 pm 2005年6月8日の11:43 pmの
Choose the simple structure I suggested in the article.選択してシンプルな構造私の文書で提案されています。 It will take you about a minute to setup, very search engine friendly and requires no special capability of your server like mod_rewrite or htaccess.がかかる約1分間を設定するには、非常に友好的なサーチエンジンの特別な能力を必要としているサーバーまたはhtaccessのmod_rewriteのようにします。
I summarized in the last line of the article:私の最後の行に要約して、サポート技術情報:
Simply said this approach is without any drawbacks AFAIK. このアプローチはなく簡単に言うと欠点のAFAIK 。
June 19th, 2005 at 9:40 pm 2005年6月19日の午前4:40
For future reference, I was able to get permalink URL rewriting working in WordPress by creating a php.ini at my domain root with the following configuration:今後の参考のため、私は固定リンクのURLの書き換えを取得できるようにWordPressを作成する作業php.iniを自分のドメインのルートには、次の構成:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
June 20th, 2005 at 4:32 pm 2005年6月20日は4:32 pmの
I have posted this query at WP Forum but received no response.私が投稿したWPのフォーラムでこのクエリに対する応答が受信します。
Server: Linux/Apacheサーバー: Linux / Apacheの
WP: 1.5.1 WPの: 1.5.1
Themes: both my own and wordpress default.テーマ:自分自身の両方とWordPressのデフォルトです。
Plugins:差込:
Include page 1.0含まれてページ1.0
Last Post Since 1.0最終投稿以来1.0
Static Front Page 1.0.2静的なフロントページ1.0.2
I have edited my Permalink structure as:私は私のpermalinkの構造として編集:
/%year%/%monthnum%/%day%/%postname%/ / %年% / % monthnum % / %日% / % postname % /の
/category/%postname%/ /カテゴリ/ % postname % /の
The links seems to be working fine but I get the following error at every post or category:のリンクと思われる作業罰金しかし、私は、次のエラーが発生ごとに作成または作成カテゴリ:
WordPress database error: [You have an error in your SQL syntax. WordPressのデータベースエラーが発生しました: [お持ちのにエラーが発生しているSQL構文を使用します。 Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]お客様のマニュアルを確認してMySQLサーバのバージョンに対応して右側の構文を使用する''の行の近く1 ]
SELECT category_nicename FROM wp_categories WHERE cat_ID= cat_id = wp_categoriesどこから選択category_nicename
Then to make it simple I used:次に私を使えば簡単に使用される:
/index.php/%year%/%postname%/ / index.phpを/ %年% / % postname % /の
/index.php/archives/%post_id% / index.phpを/アーカイブ/ % post_id %
without .htaccessなし。 htaccessを
Same result.同じ結果になります。
Any idea?任意の考えですか?
June 20th, 2005 at 5:39 pm 2005年6月20日5:39 pmの
Look like a plugin related problem or related to the theme.差込式のように関連した問題があるかのテーマに関連しています。 Start by disabling all the plugins and see of the problem is solved.スタート]ボタンを無効にすべてのプラグインを参照し、問題は解決されました。 Then activate them one at a time to isolate the exact plugin causing it.それらを1つずつ入力し、活性化を分離するの正確な差込式を引き起こしています。
To test the theme try using the default theme and see if that solves the problem.をテストするためのデフォルトのテーマとテーマを使用しているかどうかの問題が解決します。
This is not related to the permalink structure as far as I can tell from this description.これに関連してpermalinkの構造ではない限り、この説明書ば分かるんです。
June 20th, 2005 at 10:51 pm 2005年6月20日は10:51 pmの
Angsuman thanks for your response. Angsumanのご回答いただきありがとうございます。 The error shows up despite the theme or the plugin used.このエラーが表示さにもかかわらず、差込式のテーマや使われています。 I have tested and got the same error using the WP default theme and without plugins.私はテストとは、いつも同じエラーが発生せず使用して、 WPのデフォルトのテーマとプラグインです。 Weird isn’t?変なではないですか?
My server provider says the system is okay but I have no arguments to discuss the database error.私のサーバーのプロバイダによると、このシステムは大丈夫しかし、私がないの引数を議論するデータベースエラーが発生します。 So, it would be great if someone explains what the error message means.そのため、説明させることが大きな場合にどのようなエラーメッセージが表示さを意味します。
June 21st, 2005 at 12:19 am 2005年6月21日12:19 AMの
@Stopthepress Check the version of MySQL installed on your site.の@ Stopthepress MySQLのバージョンを確認して、お客様のサイトにインストールされています。 You should be able to find it in the control panel or your hosting provider will be able to tell you.する必要があります。見つけることができるようにして、コントロールパネルまたはホストプロバイダを伝えることができる。
AFAIK WordPress doesn’t support MySQL 5.x versions.のAFAIK WordPressのMySQLの5.xのバージョンをサポートしていません。 It works with 4.x versions.それ4.xのバージョンで動作します。
June 21st, 2005 at 12:15 pm 2005年6月21日は午後0時15分
Angsuman,のAngsuman 、
MySQL version is 4.0.22-standard MySQLのバージョンは4.0.22 -標準
June 21st, 2005 at 12:46 pm 2005年6月21日は12:46 pmの
This is not linked to permalinks at all.これですべてではないのpermalinksにリンクしています。 Comment out references to the_category() function everywhere in your theme.をコメントアウトを参照しthe_category ( )機能至る所であなたのテーマです。
Then your site will work.入力し、お客様のサイトには動作します。
However it shouldn’t have been a problem in the first place.しかしそれにかかわる問題であることはありませんが、最初の場所です。 Search/Ask in WP forum if your version of MySQL is supported.検索/問い合わせはWPのフォーラムでご使用のバージョンのmysqlがサポートしています。
Re-instllating often helps with such spurious errors.再instllatingスプリアス頻繁に役立つようなエラーが発生します。 That is an option too.それはオプションが判明しました。
June 21st, 2005 at 10:44 pm 2005年6月21日10:44 pmの
Done!!!やった! ! !
Deleting the ‘the_category()’ function at the theme’s index.php solved the problem.削除して'もthe_category ( ) '関数は、テーマのindex.phpを解決してください。 Fortunately the ‘the_category()’ function is not so important.幸いにも'もthe_category ( ) '関数ではないが重要なのです。
The question is why the_category() function caused that weird behaviour in my theme and in the WP Default theme as well?問題は、なぜthe_category ( )機能が原因で奇妙な振る舞いが私のテーマともWPのデフォルトのテーマですか? Hmmm if I get some spare time I will re-install to see what happen.うーんしたらいいのいくつかの暇な時間私は何を見起こる再インストールします。
Thanks a lot Angsuman for your valuable comments.どうもありがとうのAngsumanお客様の貴重なコメントはありません。 Will post a link to this thread at the WP Forum in order to help other users suffering “Permalinkcitis”.このスレッドのリンクを投稿するには、 WPのフォーラムで他のユーザーを支援するための苦しみ" Permalinkcitis "をします。
July 1st, 2005 at 10:33 am 2005年7月1日10:33 AMの
Genius here:天才の場所:
I already gave up de permalink-stuff, but today i upgraded wp to 1.5.1.3 .私は既にデ固定リンク-あきらめたものだが、今日のWPを1.5.1.3にアップグレードします。
I thought lets give it a try.と思ったでは、試してみてください。
I followed Cems advice and voila it is working!私は働くことがcems助言およびvoila !
without the .htacces, because i don’t have that file in my (shared) webspace.なしします。 htacces 、そのファイルを持っていないため、私の(共有) webspaceのです。
Big thanks to Cem.ビッグのおかげでCemのです。
July 8th, 2005 at 11:46 pm 2005年7月8日11:46 pmの
Just wanted to add my 2 cents, the trick Cem said seemed to work for me.指名手配を追加するだけ私の2セントは、トリックCemのように仕事をメインによるとします。 Specifically:具体的:
Running Win2k3 on IIS6 and now it works perfectly fine.今すぐ動くWin2k3をiis6とまったく問題なく動作します。 Thanx a bunch.一束のthanxです。
July 11th, 2005 at 3:08 pm 2005年7月11日は3:08 pmの
I didn’t believe it would work, but like CEM (comment #44) and others said, this did the trick for me on Win2003 and IIS.私はしないだろうと信じて仕事が、 Cemのように(コメント# 44 )とその他によると、これは、私にwin2003とIISの芸を披露する。
August 2nd, 2005 at 12:22 pm 2005年8月2日12:22 pmの
Thank you so much!どうもありがとう! I’ve been looking around forever for a solution to the IIS/Wordpress/Permalinks problem, and the php.ini thing worked!私は永遠に解決策を探しまわっは、 IIS / WordPressの/ Permalinksの問題、および、 php.iniのこと働い! I’m so happy, thank you all so much.私はとても幸せ、感謝したいと思います。
August 9th, 2005 at 5:41 pm 2005年8月9日5:41 pmの
thanks, the tip about php.ini on iis saved me from tearing any more hair out.ありがとう、 php.iniの上の先端にIISの保存については私から涙を流して任意の他の髪アウトします。
October 8th, 2005 at 11:33 pm 2005年10月8日の11:33 pmの
[...] Wordpress is sooooooo cool. [...] WordPressのは、 soooooooクールです。 Just changed the url’s to be “search engine friendly.” I was researching how to do this manually, but then ran across a link from one of Wordpress’ support pages, which mentioned to change the options in the local Wordpress install’s permalinks section, add some code to the .htaccess file, and that was it!だけを変更してURLの"検索エンジンフレンドリーです。 "私はこれを行うにはどのよう調査を手動で、その後を走って横切ったのリンクを1つのWordPress 'のサポートページに、これを変更するに記載のオプションには、ローカルのWordPressのインストールのpermalinksのセクションでは、いくつかのコードを追加します。 htaccessファイル、およびされたよ! How easy.方法について簡単です。 I’ll probably donate some money to them soon.私は多分、いくつかにお金を寄付する予定です。 They’ve built a fantastic tool.彼らは素晴らしいツールを構築します。 [...]
October 20th, 2005 at 7:46 pm 2005年10月20日7:46 pmの
OMG HOLY 5H17 omg聖なる5h17
CEM, you rule CEMは、あなたのルール
Thank you, I spent a couple days looking for this work around (came across this post more than once, just was too lazy to read the comments beforeいただきありがとうございます、私カップル日中に費やして、この回避策を探して(偶然この投稿を複数回、わずかは怠惰を読むにはコメントをする前に
) )
u guys rock u人岩
October 20th, 2005 at 8:05 pm 2005年10月20日は8:05 pmの
has anyone noticed their admin console stop doing page redirects after executing actions since they installed the php.ini file to fix permalink?誰がAdmin Consoleを停止することに気づいたのページにリダイレクトした後の操作を実行するので、インストールしてphp.iniファイルを修正する固定リンクですか?
I imagne it’s just something I’m missing from my php.ini… but I don’t know what to put in there私imagneただ、私は行方不明から何か私のphp.iniの…しかし、私に何をするか分からないがある
this happened to anyone else?これを誰が起こったか?
October 26th, 2005 at 7:18 am 2005年10月26日の午前7時18時
Hiやあ
maybe it’sa good tip to know that when you use other seperation characters like: .これは良いヒントかもしれないことを知って他の分離文字を使用するときのよう:です。 , | + instead of the / or - you can get serious errors 、 | +の代わりに、 /または-深刻なエラーを取得することができます。
so: /%year%.%monthnum%.%day%.%postname%.%post_id%これ: / %増%です。 % monthnum %です。 %日%です。 %のpostname %です。 % post_id %
does not work, but機能しない場合は、しかし、
/%year%-%monthnum%-%day%-%postname%-%post_id% / %年% -% m onthnum% - %日% - %のp o s tname%-% p os t _id%
does…が…
October 31st, 2005 at 9:29 pm 2005年10月31日は午後9時29分
It worked!うまくいった! Thanks, really!ありがとう、本当に!
November 9th, 2005 at 3:30 am 2005年11月9日の午前3時30分
Using the structure you suggested solved all my problems of no comments showing and categories not working.使用して、構造を提案した私の問題をすべて解決するとカテゴリを表示中コメントはありません動作しません。 I don’t really know php and am new to this kind of blogging, but I’m so relieved and so thankful I could dance!私は、 PHPとアムのかよく分からないが、この種の新しいブログが、私はとても安心と感謝するので私がダンス!
Thanks from Italy感謝よりイタリア
November 24th, 2005 at 1:50 am 2005年11月24日1:50 AMの
I suggest using the default structure: /index.php/%year%/%monthnum%/%day%/%postname%/ because this is computable with the other archive URL.私提案を使用して、デフォルトの構造: / index.phpを/ %年% / % monthnum % / %日% / % postname % /のため、これは、他のアーカイブURLを計算します。 For example /index.php/%year%/%monthnum%/ shows all posts in that month and /index.php/%year%/ shows all posts in that year.例えば、 / index.phpを/ %年% / % monthnum % /ショーすべての記事にその月および/ index.phpを/ %年% /ショーすべての記事でその年にします。 /index.php/%year%/%monthnum%/%day%/%postname%/ seams like the logical extension to me. / index.phpを/ %年% / % monthnum % / %日% / % postname % /の縫い目のように論理の拡張子をメインです。
November 27th, 2005 at 10:16 pm 2005年11月27日10:16 pmの
Any suggestions for fixing this when the Windows web host provider won’t modify php.ini with the fix above?このときに任意のアドバイスを固定のウェブホスティングサービスプロバイダは、 Windowsの修正プログラムが上記の変更php.iniのですか? WebHost4Life can’t/won’t make the change, and it doesn’t look like they’ll install the ISAPI filters referred to above, either. webhost4lifeすることはできません/て、変更はない、と次のように彼らはありませんISAPIフィルタをインストールするには上記のいずれかです。
November 27th, 2005 at 11:41 pm 2005年11月27日11:41 pmの
How about uploading the file php.ini to your home directory yourself instead of relying on your web host?ファイルのアップロードにする方法については、 php.iniの自分のホームディレクトリに頼って自分の代わりにお客様のウェブホストですか?
December 3rd, 2005 at 12:47 am 2005年12月3日は午後9:47
[...] You can also try to follow blog.taragana.com by putting a php.ini file in your root folder. [...]することもできます。 blog.taragana.comの前に試しに従うphp.iniのファイルを自分のルートフォルダにコピーします。 Have a look at their update 3 it may be of some help.更新プログラムは、見ても、いくつかのヘルプ3かもしれない。 [...]
December 8th, 2005 at 10:38 pm 2005年12月8日の10:38 pmの
I am attempting to get /archive/%postname%/ to work without having to write to WP’s .htaccess, but ran into a few problems.私は試みを取得/アーカイブ/ % postname % /のを仕事に書き込みを行うことなく、 WPのです。 htaccessの、しかし、いくつかの問題を実行します。 Allowing wp to write the code to WP’s .htaccess file overrides my RewriteEngine canonical redirect in my domain root .htaccess, that automatically parses all non-www versions of my domain to the www version to avoid possible duplicate content penalties. WPのをできるようにコードを書いてWPの。 htaccessファイルを上書きマイ私のドメインにリダイレクトRewriteEngineを正規のルート。 htaccessを、その内容を自動的に解析以外のすべてのバージョンのマイドメインをwww wwwバージョンを避けるために、コンテンツの罰則重複する可能性があります。 This problem only effects my /blog/ folder.この問題を回避する効果のみマイ/ブログ/フォルダにコピーします。
Adding php.ini to my domain root with: php.iniのを自分のドメインのルートを追加する:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
Doesn’t work.は機能しません。 Changing /index.php/archive/%postname%/ to /archive/%postname%/ results in “Not found on server” errors for all my other blog pages.変更/ index.phpを/アーカイブ/ % postname % /のを/アーカイブ/ % postname % /の結果は"サーバー上で見つかりませんでした"というエラーが私の他のブログのすべてのページをご覧ください。
I tried adding a similar RewriteEngine code to WP’s .htaccess, but that didn’t work.私のコードを試みたのWPを追加するのと同様にRewriteEngine 。 htaccessを使用したが、その動作しなかった。
December 31st, 2005 at 10:01 pm 2005年12月31日は10:01 pmの
I think you would be better of including index.php in your path like this blog.あなた方が良いと思うのパスを含むようにしてindex.phpがこのブログです。
January 5th, 2006 at 8:34 am 2006年1月5日は午前8時34時
I’ve got a wordpress site running on Win2K/IIS5 (it’s an internal demo @ work, so not a huge choice of operating system and server).もう帰らなくてwin2k/iis5 WordPressのサイトで実行される(これは内部のデモ@働くので、巨大な特定のオペレーティングシステムとサーバーの選択) 。
Yesterday i set up permalinking with the following structure (and the php.ini file) and it worked fine:昨日のpermalinkingは、次の構造をセットアップする(そして、 php.iniのファイル)を提供して働い罰金:
Structure: /index.php/%year%/%monthnum%/%day%/%postname%/構造: / index.phpを/ %年% / % monthnum % / %日% / % postname % /の
Category Base: /index.phpカテゴリ基地: / index.phpを
Today i’ve tried installing a plugin (wp-hashcash), and now i find that my structure doesn’t work and i get loads of 404 errors. However my categories do still work.
So I tried rolling back the only thing that had changed and uninstalled the plugin, but that doesn’t fix the problem.
Would be grateful for any ideas at all, i’m completely at a loss. I’m wondering if the act of installing the plugin has made some irrevocable change, but i can’t see how..
January 5th, 2006 at 9:42 am
Stephen,
As I mentioned in the post above please use the following structure:
I do not encourage embedding date information in permalinks and Google engineer Matt Cutts agrees with me.
Angsuman
January 14th, 2006 at 11:35 am
Hey everyone. So after wrestling with this for a long time (Window XP sp2, IIS 5.1, PHP latest, WP 2.0, MySql 5) I started digging to figure out why my permlinks weren’t working (after following all your good instructions).
I ran into this msft article: http://www.microsoft.com/technet/security/tools/urlscan.mspx
I installed the newer version of urlscan, and turned on the following line in the ini file:
AllowDotInPath=1 ; if 1, allow dots that are not file extensions
(the ini file is in : D:\WINDOWS\system32\inetsrv\urlscan on my machine)
Then refreshing works (be sure to re-install urlscan and restart iis or reboot in order to get it to see the new ini info).
I hope that helps those who are still stuck with windows + iis & permalinks.
Cheers,乾杯、
Danny
February 19th, 2006 at 2:13 am
[...] Secara otomatis WordPress dapat me-generate file .htaccess namun ada semacam bug -mungkin- yang menyebabkan permalink tidak berjalan, dari hasil search sama mbah Google saya dapat bbrp petunjuk antara lain di Using_Permalinks, wordpress-tip-on-permalink-options, How to configure WordPress to create search engine friendly URLs for permalinks? akhirnya dari petunjuk yang ada saya menambahkan kode berikut pada file .htaccess # BEGIN WordPress [...]
March 5th, 2006 at 11:20 pm
Kewl blog you got goin on up here.
Peace, JiggyWittit
May 5th, 2006 at 6:11 pm
[...] Das halten wir mal schnell fest. In der Wordpress FAQ wird beschrieben wie man auch ohne mod_rewite permalink-ähnliche links in wp-erhält. Mehr dazu auch hier [...]
May 7th, 2006 at 3:06 pm
I have wordpress 1.5.2 installed on window. My attempt to create permalinks without mod_rewrite using a php.ini file worked. see my blog at: http://www.multiculturaladvantage.com/ diversity-recruiting/
However, my posts are striped of all style sheet information. See a sample post: http://www.multiculturaladvantage.com/ diversity-recruiting/ index.php/ archive/ test-shaker-receives-top-honors-for-excellence-in-recruitment-advertising/
I have limited prgramming knowledge and no idea what it means or how to correct it. Does anyone have ny ideas?
Thanks Tracey
May 8th, 2006 at 11:31 am
Check how you specified your CSS file. It should be absolute path and not relative path (as it is most likely now).
July 21st, 2006 at 8:07 pm
All I know is - this is the ONLY thing that has worked for me to change my permalinks from the default to pretty. I used my postname only.
Thank you, thank you! No amount of reading I was doing was working for me and I finally found a link here from WP codex.
July 22nd, 2006 at 4:38 pm
Wow thanks so much for this tip. It is incredibly simple and works great. Just had to make sure the php.ini file is in the domain root. I used the following custom structure: “/index.php/%year%/%monthnum%/%postname%/”, on a Windows IIS 6.0 acct on shared hosting. The only thing I’m worried about now is if WP or the PHP installation on my host gets upgraded and this stops working in the future… THANKS!
July 22nd, 2006 at 7:52 pm
It will continue to work.
July 27th, 2006 at 8:12 am
Christy & Parker,
I am happy that it worked for you. Feel free to spread the word in your blogs
– Angsuman
August 3rd, 2006 at 8:05 pm
[...] I got stuck at this point because the resources I was finding online indicated that to do this on IIS, I needed to muck around with ISAPI rewriting. I can’t do that in a shared hosting environment, so I was in limbo until I found this link through the WordPress Codex. [...]
August 24th, 2006 at 10:06 pm
I am glad that my suggestion was helpful.
August 30th, 2006 at 8:04 am
[...] I finally managed to change my permalinks structure…from downright ugly (ie. http://www.sooyin.com/?p=296578907243 ) to something more bearable. Thanks to this tip! [...]
August 31st, 2006 at 5:25 am
[...] [...]
August 31st, 2006 at 10:00 am
@Cem
Yes it was. Thanks.
September 4th, 2006 at 7:49 pm
[...] I’ve made a couple of other small changes to the site as well; The article and page links have been altered to a more aesthetically pleasing format using Angusman’s Advice posted here and I’ve added a link exchange section to the sidebar with a link to Matt’s Blog ‘Abort. Retry. Fail?‘. Matt is the author of the Article on how to remove the Sony Ericsson file manager I linked to in my last post and his stuff is well worth a read. [...]
September 11th, 2006 at 9:44 am
I still can’t get the friendly permalinks to work. I am on win 2003, IIS 6, PHP 5. I have a dedicated server.
I tried all tricks you saif here but it still printing “no input file specified”.
If anyone know how to get it to work, please let me know!
Thanks,ありがとう、
Stephane
September 12th, 2006 at 4:13 pm
Finally, I got it to work on IIS 6 and win 2k3 with this:
http://www.nathanm.com/2006/07/02/wordpress_permalinks_removing_indexphp_in_iis.html
The plugin is here:
http://www.nathanm.com/wordpress-plugins/
Stephane
October 14th, 2006 at 5:58 am
[...] This reference from Cem via http://blog.taragana.com/index.php/archive/wordpress-tip-on-permalink-options/ [...]
October 30th, 2006 at 2:43 am
[...] XDForum (example: Anaconda Forum) is a nice basic forum software which works seamlessly with WordPress blogs (download our free theme and plugins). Unfortunately it works out-of-the-box with default permalinks only. Most site today use nice permalinks. This mini-tutorial will teach you how to use XDForum with nice permalinks (how to enable; tips and more). [...]
December 18th, 2006 at 5:32 am
I am trying to get some sort of friendly article names to work on my site http://www.fancyacar.co.uk at the moment. I have already made the rewrite rules in .htaccess file but i cant find a way to deal with duplicate post titles. Maybe i could just append a number to the post like http://www.fancyacar.co.uk/hello-world andおよび http://www.fancyacar.co.uk/hello-world-2 ??ですか?ですか? This will ensure that no post titles are the same, wouldnt it? What do you guys think?
April 5th, 2007 at 10:23 am
Wordpress adds the number by default in URLs to duplicate post name
April 11th, 2007 at 5:21 am
I had started my blog with Default format and then changed to Date and Name based.
But now it is custom format %category%/%postname% which I think is good in terms of search engine.
Not very sure!!
May 29th, 2007 at 5:33 am
Thanks for this great info. I have changed the settings of my permalink and hopefully it will attract more search engine to come…
Thanks…
June 5th, 2007 at 1:42 am
Thanks for the information - very helpful when changing my permalink structure. A caution for beginners however: be careful about using %category% unless you are sure you will not change your categories, as doing so will break some of your permalinks. I wrote about this in my blog: http://www.scratch99.com/2007/06/wordpress-permalink-customisation-caution-for-beginners/
As you can see I no longer use category
July 17th, 2007 at 5:01 am
I prefer to have only postname after domain name.fellow webmasters like short urls to link to and i am as a visitor much fond of short urls.
July 25th, 2007 at 9:58 pm
I look at dates in the URL when reading search results to find articles that are most recent.
August 27th, 2007 at 12:18 pm
I used your advice a year ago when I first set up WordPress on our Compulabel site and everything worked fine. The categories of the blog worked with the extra php.ini files to my blog root folder.
However, recently my hosting company updated their version of PHP on the server from PHP5.1.1 to PHP5.2.3. The category pages no longer display properly.
If you visit a category in our blog, like…
Compulabel Labels you’ll see (as of this date), you’ll get an error message…
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
If tried everything, including uploading the entire latest version of Wordpress 2.2 and that hasn’t resolved the problem.
Does anyone have a solution to this problem, short of transferring our site to another server that has the older version of PHP software installed on it (which I don’t want to do)? Thanksありがとう
August 27th, 2007 at 1:56 pm
Try updating your permalinks in Options->Permalink
Then look at your .htaccess file to see if something is screwed up.
August 27th, 2007 at 1:57 pm
Also you can try creating a php.ini at my domain root with the following configuration:
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
August 29th, 2007 at 10:13 pm
Thanks for the feedback, but the PHP.ini is correct.
I forgot to mention that I have my version of Wordpress hosted on a shared hosting company and it runs on a Windows IIS. So I’m not able to access the .htaccess file.
I’ve tried UPDATING the permalinks files and some become corrected and others don’t.
It seems Wordpress add /category/ or /archive/ to some of the Permalinks and it’s not always the same. Especially for the PREVIOUS links when a page is too full.
Also, when you create a new CATEGORY, and add a post to it. And click on the new Category link, it doesn’t seem to find the category or the link.
Feel free to explore the blog at
Compulabel and you’ll see my frustration.
Do you think the PHP incompatibility issue could be the issue? It seems like a long-shot but that was upgraded right around the same time the perma links started going bad.
Any other suggestions would be appreciated.
Thanksありがとう
October 27th, 2007 at 6:58 am
Its workking…Great tip for wordpress and seo begineers…
November 26th, 2007 at 11:06 am
hi , Thanks i was fighting with this Ugly Permalink problem of my blog http://www.shankerbakshi.com .です。 Thanks i got the solution here. Thanks again, you can’t imagine how happy i am to see permalink working on my blog
December 16th, 2007 at 6:46 am
Seconding Shanker Bakshi’s sentiments, I also was battling the permalink problem for about two evenings, on and off.. reloading probably 50 times, and slipping the php.ini code definitely saved my sanity, so thanks for making my day!
December 18th, 2007 at 12:57 pm
I DO NOT LIKE INDEX.PHP WUWUWUWU….
December 23rd, 2007 at 7:54 am
The new Wordpress has features built in to do that sort of stuff, what I find works well is /%postmonth%/%postname%.html , or similar
January 3rd, 2008 at 6:42 pm
Well, since everyone else seems to be sh!tting all over your post, I\’m going to go ahead and congratulate you, as it has helped me alot and I\’ve now got my blog working the way I want it. Thank you very much!
January 12th, 2008 at 6:19 pm
Thank you for this post! I have been really dragging my feet about changing my URL structure, I followed your directions here and it was almost too easy!
Thanks again
February 17th, 2008 at 3:50 am
Thank you.ありがとうございました。 Very beatiful post.
February 27th, 2008 at 5:05 pm
Damn, good stuff… That helped and took me a while
February 29th, 2008 at 12:16 pm
Worked great - thanks so much! After several failed attempts with some plugins, this was the exact simple, effective fix we needed.
March 29th, 2008 at 11:29 pm
The PHP.ini trick stopped working with WordPress 2.5. Any suggestions?
April 13th, 2008 at 6:04 pm
Anyone home?
May 11th, 2008 at 2:40 pm
Awesome this worked for me. Thank you to people who share and respond.
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
in php.ini file.
Wordpress shuld detect this in their next version.!
May 21st, 2008 at 4:20 pm
Thanks, this worked out fine!
May 22nd, 2008 at 3:37 pm
Using WP v2.5 and it worked out fine…Keep up the good work!