管理人のサイト作成回想記

  • by
  • サイト管理
  • コメント114件

私、管理人が始めて本格的なサイトを作ったときは全てHTMLファイルで済ませていて、PHPやCMSなどは一切使用していませんでした。

しかし、サイドバー、メニューやヘッダーなどの共通箇所をいちいち変更するのが面倒くさくなり、あるとき、全ファイルをPHPに変更させ、サイドバー、メニューやヘッダーは全て<?php require_once(“header.php”);?>などで済ませるようにしました。また、.htmlでもアクセスできるように、.htaccessなども変更しました。

しかしそれでは肝心のファイル数は減らず、管理は相変わらず大変でした。そこで、サイトのmetadescriptionやmetakeywords、コンテンツなどのデータを抽出し、MYSQLデータベースに保存するスクリプトをPHPで書き、また、そこから自動的にページを生成するスクリプト(data.php)も書きました。このdata.phpに?action=exampleなどのクエリーを渡すと指定されたページをロードするようにしました。しかし、それでは長ったらしいurlになってしまうため、そこは.htaccessで何とか対応させました。

これで管理はずいぶんと楽になったわけですが、Wordpressのプラグインやユーザー管理などの機能に憧れ、ある日、サイトをWordpressに移行させることを決めました。

まずはWordpressテンプレートを一から作成することからはじめ、その後はデータの引越しをしました。簡単そうに聞こえますがこれには丸2日かかりました。メタデータなどのデータの引越しにはかなり悩まされましたが、SEOプラグインやMYSQLのSQL文エクスポート・インポート機能を使い、何とかやりのけました。

その過程でWordpressの良さや良くないところをしみじみと感じました。まずは投稿内でphpコードを使用できないのがかなり不満でした。投稿内で指定したphp変数でテンプレの一部を変更するようなことをやりたかったのですが、phpを埋め込めないんじゃと思い、ほかの方法を模索しました。

幸い、Wordpressにはカスタムフィールドという機能があり、投稿画面で変数を指定することは出来ました。この機能がなかったら本当にWordpressやめようかなと思ったんですが、救われましたね。

何せ、Wordpressには便利なプラグインがたくさんありますから。本当に使ってて便利です。

  • by
  • サイト管理
  • コメント114件

“管理人のサイト作成回想記”への114件のフィードバック

  1. Terrell Dulac より:

    You are my breathing in, I have few blogs and often run out from to post : (.

  2. Great work! This is the type of information that should be shared around the net. Shame on Google for not positioning this post higher! Come on over and visit my web site . Thanks =)

  3. Nasıl ki çiğ köftenin içeriğinde olan her bir
    malzeme ayrı ayrı şifa deposu katan bu mucizevi besin kaynağı, cilt sağlığına da olumlu katkıda bulunur.

  4. How will GoodRx work with my health insurance? In many cases, GoodRx prices beat insurance prices.
    Learn more about when and how to use GoodRx to get the.

  5. Hastanelerde bu şekilde düzenlenen reçeteler beş günlük maksimal tedavi dozunu Bedeli Ödenecek İlaçlar Listesinde
    (EK–2/D) yer alacak veya bu listeden.

  6. Europa-Road Kft より:

    Great write-up, I’m regular visitor of one’s blog, maintain up the nice operate, and It is going to be a regular visitor for a long time.

  7. 샌즈카지노 より:

    This is one awesome post.Much thanks again. Cool.

  8. Thanks again for the blog. Much obliged.

  9. Enjoyed every bit of your blog article.Really looking forward to read more.

  10. Thanks a lot for the article.Thanks Again. Awesome.

  11. Really informative blog.Thanks Again. Really Cool.

  12. amb より:

    I cannot thank you enough for the post.Much thanks again. Great.

  13. Great, thanks for sharing this post.Much thanks again. Fantastic.

  14. 19다모아 より:

    Muchos Gracias for your blog.Really thank you! Keep writing.

  15. Thanks a lot for the blog post.Really looking forward to read more. Much obliged.

  16. SMS Marketing より:

    I appreciate you sharing this post.Really looking forward to read more. Fantastic.

  17. Thanks so much for the article. Great.

  18. wow, awesome article post.Really looking forward to read more. Want more.

  19. sec chat より:

    Awesome article.Thanks Again. Want more.

  20. Great, thanks for sharing this blog post.Really looking forward to read more. Will read on…

  21. superslot より:

    Muchos Gracias for your post. Fantastic.

  22. gudang lagu より:

    Very fine blog.

  23. mas informacion より:

    Loving the info on this website , you have done outstanding job on the blog posts.

  24. I’ve thought about posting something about this before. Good job! Can I use part of your post in my blog?

  25. leer mas より:

    Have you given any kind of thought at all with converting your current web-site into French? I know a couple of of translaters here that will would certainly help you do it for no cost if you want to get in touch with me personally.

  26. I believe this web site has some really wonderful info for everyone : D.

  27. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but other than that, this is wonderful blog. A great read. I’ll certainly be back.

  28. nuestra empresa より:

    These stories are so important.

  29. empresa より:

    I wanted to check up and let you know how, a great deal I cherished discovering your blog today. I might consider it an honor to work at my office and be able to utilize the tips provided on your blog and also be a part of visitors’ reviews like this. Should a position associated with guest writer become on offer at your end, make sure you let me know.

  30. mas informacion より:

    Very Interesting Information! Thank You For Thi Information!

  31. pagina web より:

    Hi, possibly i’m being a little off topic here, but I was browsing your site and it looks stimulating. I’m writing a blog and trying to make it look neat, but everytime I touch it I mess something up. Did you design the blog yourself?

  32. informacion より:

    I believe you have remarked on some very interesting points , thankyou for the post.

  33. mas info より:

    When are you going to take this to a full book?

  34. nuestra empresa より:

    Our family had similar issues, thanks.

  35. empresa より:

    Public policy is key here, and our states need to develop some strategies – – soon.

  36. 토토사이트 より:

    Developing a framework is important.

  37. slotpg より:

    Really appreciate you sharing this blog. Cool.

  38. vnhoi より:

    This is really interesting, You’re a very skilled blogger. I have joined your feed and look forward to seeking more of your fantastic post. Also, I have shared your website in my social networks!

  39. continue より:

    I think this is a real great article post.Really thank you! Fantastic.

  40. vespa aree より:

    I would share your post with my sis.

  41. This is one very informative blog. I like the way you write and I will bookmark your blog to my favorites.

  42. informate より:

    That’s some inspirational stuff. Never knew that opinions might be this varied. Thanks for all the enthusiasm to supply such helpful information here.

  43. I encountered your site after doing a search for new contesting using Google, and decided to stick around and read more of your articles. Thanks for posting, I have your site bookmarked now.

  44. mas informacion より:

    I would share your post with my sis.

  45. leer mas より:

    Cherished is likely to be what people say about your comments.

  46. leer mas より:

    Thanks for sharing the information. I found the information very useful. That’s a awesome story you posted. I will come back to scan some more.

  47. mas info より:

    I like to spend my free time by scaning various internet recourses. Today I came across your site and I found it is as one of the best free resources available! Well done! Keep on this quality!

  48. you’re in reality a just right webmaster. The web site loading velocity is incredible. It sort of feels that you’re doing any distinctive trick. In addition, The contents are masterpiece. you’ve performed a great process on this topic!

  49. However, it is virtually all done with tongues rooted solidly in cheeks, and everyone has absolutely nothing but absolutely love for his or her friendly neighborhood scapegoat. The truth is, he is not just a pushover. He is basically that special variety of person strong enough to take all of that good natured ribbing for exactly what it is.

  50. It is perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or suggestions. Perhaps you can write next articles referring to this article. I wish to read more things about it!

  51. This has to be one of my favorite posts! And on top of thats its also very helpful topic for newbies. thank a lot for the information!

  52. Wow, great blog.Thanks Again. Want more.

  53. nfl 2022 live より:

    Abnormal this put up is totaly unrelated to what I was searching google for, but it surely used to be listed at the first page. I suppose your doing one thing proper if Google likes you adequate to place you at the first page of a non similar search.

  54. Just wanna admit that this is extremely helpful, Thanks for taking your time to write this.

  55. Discover more より:

    Very good article post.Really looking forward to read more. Will read on…

  56. driving school より:

    I truly appreciate this article post.Really thank you! Keep writing.

  57. You are my inspiration , I possess few web logs and very sporadically run out from to brand 🙁

  58. I really enjoy the blog.Really looking forward to read more. Want more.

  59. Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Anyways, just wanted to say superb blog!

  60. I’ve been absent for a while, but now I remember why I used to love this site. Thanks, I’ll try and check back more frequently. How frequently you update your site?

  61. Tips and tools you offer are so helpful to agencies in our community.

  62. Abnormal this put up is totaly unrelated to what I was searching google for, but it surely used to be listed at the first page. I suppose your doing one thing proper if Google likes you adequate to place you at the first page of a non similar search.

  63. This is valuable stuff.In my opinion, if all website owners and bloggers developed their content they way you have, the internet will be a lot more useful than ever before.

  64. live free より:

    Your posts provide a clear, concise description of the issues.

  65. You write Formidable articles, keep up good work.

  66. sbobet より:

    I was referred to this web site by my cousin. I’m not sure who has written this post, but you’ve really identified my problem. You’re wonderful! Thanks!

  67. 먹튀테스트 より:

    You write Formidable articles, keep up good work.

  68. That’s some inspirational stuff. Never knew that opinions might be this varied. Thanks for all the enthusiasm to supply such helpful information here.

  69. sbobet より:

    I am glad to be a visitor of this perfect blog !, appreciate it for this rare info!

  70. Gerdek gece pornolari gerdek gece pornosu porno izle gerdek geceleri pornalari gerdek, gece,
    pornosu sex video gerdek geceleri pornalari Diğer Porno Videolar gerdek chanel preston ve megan yatak odasında kötü 3way yağmur.

  71. There are some serious financial ramifications here.

  72. Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve really enjoyed surfing around your blog posts. After all I’ll be subscribing in your feed and I am hoping you write again very soon!

  73. 두팔로우 より:

    I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You are wonderful! Thanks!

  74. Arriva l’autunno e cadono al fronte come eroi. La caduta dei
    capelli è un problema che soprattutto al cambio di stagione colpisce indifferentemente donne
    e uomini, giovani, donne in menopausa e.

  75. Pretty impressive article. I just stumbled upon your site and wanted to say that I have really enjoyed reading your opinions. Any way I’ll be coming back and I hope you post again soon.

  76. I appreciate your work, thanks for all the great blog posts.

  77. oficina trabajo より:

    Our family had similar issues, thanks.

  78. sbobet より:

    Just a quick note to express my appreciation. Take care

  79. You are my inhalation , I possess few web logs and very sporadically run out from to brand 🙁

  80. comunidades より:

    Amazing! Your site has quite a few comment posts. How did you get all of these bloggers to look at your site I’m envious! I’m still studying all about posting articles on the net. I’m going to view pages on your website to get a better understanding how to attract more people. Thank you!

  81. trabajo より:

    Thank you for the auspicious writeup.

  82. pisos より:

    Thank you for sharing this very good post. Very interesting ideas! (as always, btw)

  83. pintores より:

    Howdy! I simply wish to give a huge thumbs up for the great information you have here on this post. I will be coming again to your weblog for extra soon.

  84. pisos edificios より:

    Well, I don’t know if that’s going to work for me, but definitely worked for you! 🙂 Excellent post!

  85. corporation より:

    Can I just say what a relief to seek out someone who actually knows what theyre speaking about on the internet. You positively know find out how to bring a problem to mild and make it important. Extra individuals have to read this and perceive this side of the story. I cant believe youre not more in style because you positively have the gift.

  86. pagina web より:

    I encountered your site after doing a search for new contesting using Google, and decided to stick around and read more of your articles. Thanks for posting, I have your site bookmarked now.

  87. Are grateful for this blog post, it’s tough to find good information and facts on the internet

  88. Trafalgar より:

    Greetings, have tried to subscribe to this websites rss feed but I am having a bit of a problem. Can anyone kindly tell me what to do?’

  89. Woh I enjoy your content , saved to bookmarks!

  90. My brother suggested I might like this web site. He was entirely right. This post actually made my day. You can not imagine simply how much time I had spent for this info! Thanks!

  91. I came across an article that talks about the same thing but even more and when you go deeper.

  92. check out より:

    I know this is not exactly on topic, but i have a blog using the blogengine platform as well and i’m having issues with my comments displaying. is there a setting i am forgetting? maybe you could help me out? thank you.

  93. Thanks-a-mundo for the article. Awesome.

  94. Hi there! Do you use Twitter? I’d like to follow you if that would be okay. I’m absolutely enjoying your blog and look forward to new posts.

  95. I believe you have remarked on some very interesting points , thankyou for the post.

  96. I dont think Ive caught all the angles of this subject the way youve pointed them out. Youre a true star, a rock star man. Youve got so much to say and know so much about the subject that I think you should just teach a class about it

  97. SLOTXO より:

    Wow, great blog.Really thank you! Cool.

  98. I had highly recommend this blog to my good friend, it’s so good

  99. Tubidy より:

    Im grateful for the article. Much obliged.

  100. llaves motos より:

    Hello this is a wonderful write-up. I’m going to e mail this to my friends. I came on this while searching on yahoo I’ll be sure to come back. thanks for sharing.

  101. I think other website proprietors should take this web site as an model, very clean and great user pleasant style and design .

  102. Gifts For Kids より:

    A wholly agreeable point of view, I think primarily based on my own experience with this that your points are well made, and your analysis on target.

  103. Excellent article!! I am an avid reader of your website:D keep on posting that good content. and I’ll be a regular visitor for a very long time!!

  104. I’m impressed, I need to say. Really rarely do I encounter a blog that’s both educational and entertaining, and let me tell you, you have hit the nail on the head.

  105. You are one talented writer thank you for the post.

  106. Hello there, just became aware of your blog through Google, and found that it is truly informative. I am going to watch out for brussels. I will appreciate if you continue this in future. Lots of people will be benefited from your writing. Cheers!

  107. Simply want to say your article is as amazing. The clarity in your post is just great and i can assume you’re an expert on this subject. Fine with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please keep up the gratifying work.

  108. Please let us know when you plan to publish your book!

  109. Lovely just what I was looking for. Thanks to the author for taking his clock time on this one.

  110. bhutani infra より:

    If most people wrote about this subject with the eloquence that you just did, I’m sure people would do much more than just read, they act. Great stuff here. Please keep it up.

  111. porn より:

    I like it when folks come together and share views. Great site, stick with it!

  112. Hi there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no back up. Do you have any solutions to protect against hackers?

コメントを残す

メールアドレスが公開されることはありません。