ホーム > 未分類 > WordPressのパーマリンク設定を変更する

WordPressのパーマリンク設定を変更する

WordPressのパーマリンクURLはデフォルトで

http://www.hoge.com/?p=123

のような形式になっています。

ですが

URLにクエリパラメータが含まれていると検索エンジンにクロールされない。

とどこかで読んだ覚えがあるので、パーマリンクの設定を変更しました。
設定手順は以下のとおり。

  • まずこの設定によりWordpressが.htaccessファイルを更新(ない場合は追加)します。apacheが同ファイルを更新できるようにパーミッションを設定しておく必要があります。
  • mod_rewriteが必要になるようです。インストールの上、Loadされるようにhttpd.confを設定します。
    (設定例)
    LoadModule rewrite_module modules/mod_rewrite.so
  • .htaccessにmod_rewriteの設定が追加されます。これが有効となるよう、httpd.confのDirectoryセクションに
    AllowOverride FileInfo

    としておく必要があります。

  • 以上の設定が済んだらWordpressにログインし、管理画面の[各種設定]->[パーマリンク設定]から設定を変更します。ここでは[記事ナンバーに基づく表示]を選択しました。

参照ページ

カテゴリー: 未分類 タグ:
  1. 2020 年 3 月 10 日 02:48 | #1

    I simply want to mention I am beginner to blogs and actually savored you’re web page. Likely I’m going to bookmark your blog post . You really come with beneficial articles. With thanks for revealing your web page.

  2. 2020 年 3 月 13 日 01:09 | #2

    Hi there! This post couldn’t be written much better! Looking through this article reminds me of my previous roommate! He continually kept preaching about this. I’ll forward this post to him. Pretty sure he’ll have a great read. Thank you for sharing!

  3. 2020 年 3 月 13 日 02:49 | #4

    This is a really good tip particularly to those fresh to the blogosphere. Short but very precise information… Thanks for sharing this one. A must read post!

  4. 2020 年 3 月 13 日 03:14 | #5

    Saved as a favorite, I like your blog!

  5. 2020 年 3 月 13 日 03:44 | #6

    Great article. I’m facing some of these issues as well..

  6. 2020 年 3 月 13 日 03:46 | #7

    There is certainly a great deal to know about this issue. I really like all the points you’ve made.

  7. 2020 年 3 月 13 日 03:49 | #8

    Having read this I believed it was rather informative. I appreciate you taking the time and effort to put this content together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worthwhile!

  8. 2020 年 3 月 13 日 04:09 | #9

    Hello there, I do believe your site could be having browser compatibility issues. When I look at your site in Safari, it looks fine but when opening in IE, it’s got some overlapping issues. I merely wanted to give you a quick heads up! Aside from that, fantastic website!

  9. 2020 年 3 月 13 日 04:16 | #10

    Having read this I thought it was extremely enlightening. I appreciate you taking the time and energy to put this content together. I once again find myself spending a lot of time both reading and commenting. But so what, it was still worth it!

  10. 2020 年 3 月 13 日 04:28 | #11

    Wonderful post! We will be linking to this great content on our site. Keep up the great writing.

  11. 2020 年 3 月 13 日 04:33 | #12

    I really like reading through a post that will make men and women think. Also, thanks for permitting me to comment!

  12. 2020 年 3 月 13 日 05:18 | #13

    I was able to find good advice from your blog posts.

  13. 2020 年 3 月 13 日 05:43 | #14

    I was able to find good advice from your blog articles.

  14. 2020 年 3 月 13 日 06:09 | #15

    Spot on with this write-up, I honestly believe that this web site needs a lot more attention. I’ll probably be back again to read through more, thanks for the information!

  15. 2020 年 3 月 13 日 06:36 | #16

    A fascinating discussion is worth comment. I think that you ought to write more about this subject matter, it may not be a taboo matter but generally people do not talk about these topics. To the next! Kind regards!!

  16. 2020 年 3 月 13 日 07:04 | #17

    I’m impressed, I must say. Seldom do I come across a blog that’s both educative and interesting, and let me tell you, you’ve hit the nail on the head. The problem is an issue that too few folks are speaking intelligently about. Now i’m very happy that I came across this during my search for something relating to this.

  17. 2020 年 3 月 13 日 07:08 | #18

    I really love your blog.. Very nice colors & theme. Did you make this web site yourself? Please reply back as I’m attempting to create my own blog and want to know where you got this from or just what the theme is named. Thanks!

  18. 2020 年 3 月 13 日 07:11 | #19

    Excellent article! We will be linking to this particularly great content on our site. Keep up the great writing.

  19. 2020 年 3 月 13 日 07:14 | #20

    Good day! I simply wish to offer you a huge thumbs up for your great info you have right here on this post. I’ll be returning to your blog for more soon.

  20. 2020 年 3 月 13 日 07:29 | #21

    The next time I read a blog, Hopefully it won’t fail me just as much as this particular one. I mean, Yes, it was my choice to read, but I genuinely thought you would probably have something helpful to talk about. All I hear is a bunch of moaning about something that you could possibly fix if you were not too busy looking for attention.

  21. 2020 年 3 月 13 日 08:00 | #22

    It’s hard to come by experienced people for this topic, however, you sound like you know what you’re talking about! Thanks

  22. 2020 年 3 月 13 日 08:14 | #23

    After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive 4 emails with the same comment. Is there an easy method you can remove me from that service? Cheers!

  23. 2020 年 3 月 13 日 08:34 | #24

    The next time I read a blog, I hope that it does not disappoint me as much as this particular one. After all, Yes, it was my choice to read, but I genuinely believed you’d have something helpful to talk about. All I hear is a bunch of moaning about something that you could fix if you were not too busy searching for attention.

  24. 2020 年 3 月 13 日 08:51 | #25

    You’re so interesting! I do not think I’ve read something like that before. So wonderful to discover another person with some unique thoughts on this issue. Really.. thank you for starting this up. This site is one thing that is required on the web, someone with some originality!

  25. 2020 年 3 月 13 日 09:08 | #26

    Spot on with this write-up, I truly believe this website needs a great deal more attention. I’ll probably be back again to read through more, thanks for the information!

  26. 2020 年 3 月 13 日 09:11 | #27

    Great blog you have got here.. It’s hard to find excellent writing like yours nowadays. I really appreciate individuals like you! Take care!!

  27. 2020 年 3 月 13 日 09:27 | #28

    Saved as a favorite, I like your web site!

  28. 2020 年 3 月 13 日 09:31 | #29

    Spot on with this write-up, I truly believe this site needs a lot more attention. I’ll probably be back again to see more, thanks for the information!

  29. 2020 年 3 月 13 日 09:59 | #30

    Greetings! Very helpful advice within this article! It is the little changes that produce the greatest changes. Many thanks for sharing!

  30. 2020 年 3 月 13 日 10:02 | #31

    I absolutely love your website.. Great colors & theme. Did you create this amazing site yourself? Please reply back as I’m attempting to create my very own blog and would love to find out where you got this from or exactly what the theme is named. Kudos!

  31. 2020 年 3 月 13 日 10:06 | #32

    I’m excited to uncover this website. I wanted to thank you for ones time just for this wonderful read!! I definitely really liked every little bit of it and i also have you saved to fav to check out new information in your blog.

  32. 2020 年 3 月 13 日 12:46 | #33

    This is a topic which is close to my heart… Take care! Exactly where are your contact details though?

  33. 2020 年 3 月 13 日 13:05 | #35

    This website was… how do I say it? Relevant!! Finally I’ve found something that helped me. Many thanks!

  34. 2020 年 3 月 13 日 13:32 | #36

    Great information. Lucky me I ran across your website by accident (stumbleupon). I’ve book marked it for later!

  35. 2020 年 3 月 13 日 14:01 | #37

    You should take part in a contest for one of the finest websites on the net. I’m going to recommend this blog!

  36. 2020 年 3 月 13 日 14:05 | #38

    Saved as a favorite, I love your web site!

  37. 2020 年 3 月 13 日 14:05 | #39

    Hi there! This article could not be written any better! Going through this post reminds me of my previous roommate! He constantly kept preaching about this. I am going to forward this article to him. Fairly certain he’ll have a good read. Thank you for sharing!

  38. 2020 年 3 月 13 日 14:06 | #40

    Saved as a favorite, I like your blog!

  39. 2020 年 3 月 13 日 14:19 | #41

    bookmarked!!, I like your web site!

  40. 2020 年 3 月 13 日 14:51 | #42

    It’s difficult to find experienced people for this topic, but you sound like you know what you’re talking about! Thanks

  41. 2020 年 3 月 13 日 15:08 | #43

    You are so awesome! I don’t believe I’ve read through something like that before. So wonderful to find another person with some unique thoughts on this issue. Seriously.. thanks for starting this up. This web site is something that is needed on the web, someone with a bit of originality!

  42. 2020 年 3 月 13 日 15:33 | #45

    Great post! We are linking to this particularly great article on our website. Keep up the great writing.

  43. 2020 年 3 月 13 日 15:56 | #46

    An impressive share! I have just forwarded this onto a friend who was conducting a little research on this. And he actually bought me dinner because I stumbled upon it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanks for spending some time to discuss this issue here on your web site.

  44. 2020 年 3 月 13 日 16:20 | #47

    A fascinating discussion is definitely worth comment. I think that you ought to write more on this issue, it may not be a taboo matter but typically people do not discuss these subjects. To the next! All the best!!

  45. 2020 年 3 月 13 日 16:29 | #48

    A fascinating discussion is worth comment. I do think that you need to write more about this topic, it may not be a taboo subject but typically folks don’t discuss such issues. To the next! Kind regards!!

  46. 2020 年 3 月 13 日 16:31 | #49

    Way cool! Some very valid points! I appreciate you penning this post and the rest of the site is also very good.

  47. 2020 年 3 月 13 日 16:36 | #50

    bookmarked!!, I really like your web site!

コメントページ
1 2 3 278 17
  1. 2020 年 4 月 16 日 03:47 | #1
  2. 2020 年 4 月 20 日 19:57 | #2
  3. 2020 年 4 月 22 日 05:19 | #3
  4. 2020 年 4 月 26 日 14:12 | #4
  5. 2020 年 4 月 30 日 20:48 | #5
  6. 2020 年 5 月 6 日 04:16 | #6
  7. 2020 年 5 月 9 日 23:07 | #7
  8. 2020 年 6 月 30 日 02:01 | #8
  9. 2020 年 7 月 1 日 22:20 | #9
  10. 2020 年 7 月 11 日 23:43 | #10
  11. 2020 年 7 月 14 日 07:53 | #11
  12. 2020 年 7 月 26 日 21:11 | #12
  13. 2020 年 7 月 30 日 03:56 | #13
  14. 2020 年 8 月 8 日 14:26 | #14
  15. 2020 年 9 月 9 日 12:44 | #15
  16. 2020 年 9 月 20 日 06:15 | #16
  17. 2020 年 9 月 22 日 06:20 | #17
  18. 2020 年 9 月 30 日 12:38 | #18
  19. 2020 年 10 月 9 日 03:56 | #19
  20. 2020 年 10 月 14 日 06:50 | #20
  21. 2020 年 10 月 15 日 00:04 | #21