WordPress with Permalink on Nginx

อัพ Blog ตัวเองกลับมาใหม่ ตอนนี้ใช้ Raspberry Pi 3 ติดตั้ง
– Raspbian
– Nginx
– WordPress
ก็ทำงานได้ปรกติดี (เพราะยังไม่มี Blog ใหม่สักอัน) แต่พอลองเขียน Blog แรกแล้วตัว Permalink มันเรียกไปไม่ถูกที่ เลยไปค้นๆ ดูใน Google ก็เจออันนี้ http://nginxlibrary.com/wordpress-permalinks/ เข้า สรุปง่ายๆ ให้ไปเพิ่ม

try_files $uri $uri/ /index.php?$args;

ใน nginx.conf ส่วนของ Location ให้ได้ประมาณนี้

location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$args;
}

แล้วก็ตามด้วย

# sudo systemctl reload nginx.server

เรียบร้อยแบบเร็วๆ

@esz

71 Replies to “WordPress with Permalink on Nginx”

  1. Greetings from Carolina! I’m bored at work so I decided to check out your site on my iphone during lunch break. I really like the information you present here and can’t wait to take a look when I get home. I’m amazed at how fast your blog loaded on my cell phone .. I’m not even using WIFI, just 3G .. Anyhow, excellent blog!

  2. Get uр to $ 20,000 рer day with оur рrоgrаm.
    We arе а tеаm of experiеnсed prоgrаmmers, wоrkеd mоre thаn 14 mоnths on this program аnd nоw evеrything is rеady аnd everything works pеrfесtlу. The РауРal system is very vulnеrаblе, instead of notifying thе dеvеloреrs оf РayPal аbоut this vulnerаbilitу, wе tооk аdvаntagе оf it. We асtivеlу use our program fоr pеrsonаl еnrichmеnt, to shоw huge аmounts of monеy оn our ассоunts, we will nоt. уоu will nоt bеliеve until уоu trу аnd as it is nоt in оur intеrest tо рrоve tо you that sоmеthing is in yоurs. Whеn we rеаlized thаt this vulnеrаbility cаn be usеd massively withоut consеquеnсes, we decided to help thе rеst of the реoplе. Wе deсided not to inflаtе thе рriсе оf this gоld рrogrаm and put a verу low рriсe tag, onlу $ 550. In order for this progrаm to be availаble to a lаrge numbеr of peoplе.
    All thе detаils оn our blоg: http://av1611.org/newslink.php?news_link=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F690387817853172731%2F&news_title=

  3. Pingback: group pilot
  4. Hеllo! I’ll tell уоu mу mеthod with all the details, as I started earning in the Intеrnet from $ 3,500 рer dаy with the helр of social nеtwоrks reddit and twittеr. In this videо yоu will find morе detailed information аnd аlsо sеe how many millions hаvе еarned thоsе whо hаve beеn wоrking fоr а уear using my method. I sресifiсallу madе a vidео in this cаpасity. Аfter buуing my mеthod, yоu will understаnd whу: http://share-links.biz/redirect.php?url=https%3A//vk.cc/8jfmUx

  5. Excellent goods from you, man. I have have in mind your stuff previous
    to and you’re simply extremely magnificent.
    I actualky like what you’ve obtained right here, certainly like what you’re stating and the way inn which throigh which youu say it.
    You’re making it enjoyable and you still take care of to
    keep it sensible. I can’t wait to learn far more from you.
    That is really a wonderful web site.

  6. I need to to thank you ffor thjis good read!!
    I definitely enjoyed every bit of it. I have got you book-marked tto look at new things you post…

  7. Howdy! I know this is somewhat ooff topic but I waas wondering which blog platform are you
    using for this website? I’m getting fed up of WordPress because I’ve had problems with
    hackers and I’m looking at options for another platform.
    I would be awesome if you could point mme in the direction of a good platform.

  8. Real men like to talk to sexy girls. There’s no denying that. Where does a man go to talk to a sexy girl? There’s just one place on the the internet to do that. The hottest girls can be found at http://www.camgirl.pw Have yourself a total blast and meet a few sexy girls. You’ll have a whole lot of fun doing so.

  9. I kind of agree with everything said here. There’s just one problem. It doesn’t talk about what’s the best site to join to get laid. That’s the most important part of it all. If you’re wanting to get laid, then this is the site for you https://t.irtyf.com/hkz06n8e68?offer_id=3785&aff_id=29696&nopop=1 You’re going to get some pussy there. Don’t beat off tonight. Get yourself some action. You can beat off tomorrow. Today is your day to get some pussy.

  10. You should set aside time each day to talk to a hot girl. There are plenty of them over at http://www.camgirl.pw You’re really going to have yourself a good time there. It’s wall to wall babes and that’s just the beginning. Check it out and get ready to smile.

  11. You’ve been a busy cowboy lately. Don’t you think it’s time to settle down and relax? You can do just that with the babes over at http://www.camgirl.pw There’s plenty of hot girls over there who know how to treat a cowboy right. Take off your spurs and mosey on into a chat with one of these beauties.

  12. I do enjoy the manner in which you have framed this particular challenge plus it does offer me personally some fodder for thought. Nonetheless, from everything that I have witnessed, I basically trust when other feed-back pack on that folks keep on point and in no way get started on a tirade of the news du jour. Still, thank you for this outstanding point and whilst I do not go along with it in totality, I regard the point of view.

  13. I’m really loving the theme/design of your website. Do you ever
    run into any browser compatibility problems? A small nmber of my blog visitors have complaained about my website not
    operating correctly in Explorer but looks great in Chrome.
    Do yoou have any ips to help fix this problem?

  14. You deserve a break. You’ve been working hard this week. All that hard work has stressed you out. The best way to get rid of the stress is by having a little fun with a cam girl. There’s a whole lot of them over at http://www.camgirl.pw The babes are never ending when you visit that site. You’re in for a real treat the very second your eyes catch a glimpse of this.

  15. I think what you posted made a ton of sense. However, think on this, suppose you yped a catchiewr title?
    I mean,I don’t wish to tell you how to run you blog, however suppose
    you added a title that makes people want more?

    I mean WordPress with Permalink on Nginx – esz's
    life and fun is a little vanilla. You should glance at Yahoo’s home page and watch how they create post
    titles to grab viewers interested. You might add a vjdeo or a related pic
    or two to grab people excited abokut everything’ve written.
    In my opinion, it would make your website a little livelier.

  16. Hi there! I simply would like too giv you a big thumbs up for your excellent informafion you have got
    right here on this post. I will be coming back to your website for more soon.

  17. Thanks for your marvelous posting! I seriously enjoyed reading it,
    you happen to be a great author. I wilkl always bookmark your blog and may come back very soon. I want to encourage yourself to continue
    your great writing, have a nice day!

  18. Hi there to every body, it’s mmy first go to see of this webpage;
    this website consists of awesome and actually excellent stuff in favor of
    visitors.

  19. Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any tips? Kudos!

  20. It’s the best time to make a few plans for the
    future and it’s time to be happy. I’ve read this publish and if I may just I want to suggest you few interesting things or advice.
    Maybe you can write next articles relating to this
    article. I desire to learn even more issues about it!

  21. Right here is the perfect site for anyone who wants to understand this topic.
    You understand so much its almost tough to argue
    with you (not that I really will need to…HaHa).

    You certainly put a brand new spin on a topic which has been discussed for many years.
    Great stuff, just great!

  22. That is vrry interesting, You’re an excessively professional blogger.
    I’ve joined your feed and stay up for inn queest of extra
    of your magnificent post. Also, I’ve shared your site in my spcial networks

  23. I’ve been exploring for a bit for any high qulity articles or blog posts in this kid of area
    . Exploring in Yahoo I finally stumbled upon this
    site. Studying this info So i’m halpy to show that I have
    a very excellent uncanny feeling I came upon just
    what I needed. I so muxh definitely wkll make certain to do not put out of
    your mind this web site and provides it a look onn a relentless basis.

  24. Appreciating the dedication yyou put into yoour blog and in depth information you provide.
    It’s great to come across a blog every oncee in a while that isn’t
    the same out of date rehashed material. Fantastic read!
    I’ve bookmarked your site and I’m addng your RSS feeds to my
    Google account.

  25. I have been surfing on-line more than 3 hours lately, but I never discovered
    any attention-grabbing article like yours. It’s beautiful value enough for me.
    Personally, if all web owners and bloggers made good content material as you probably
    did, the net might be much more useful than ever before.

  26. It’s perfect time tto mske some plans for the future and
    it is time to be happy. I have read this post andd if I could I desire to
    suggest you few interesting things or advice. Perhaps you could
    write next articles referring to this article. I wish to read more
    things about it!

  27. I am not sure where you are gettying your information, but great topic.
    I nneeds to spend some time learning much more or understanding more.
    Thanks for great information I was looking for this info for mmy mission.

  28. It’s the best time to make some plans for the future and it is time to bbe happy.
    I’ve reaad this post and if I could I wish too suggest you
    few interesting things or tips. Maybe you could write next articles referring to this article.

    I desire to read even more thjings about it!

Leave a Reply

Your email address will not be published. Required fields are marked *