อัพ 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
Thanks for finally talking about >WordPress with Permalink on Nginx – esz’s life and ffun <Liked it!
What’s up to everyy one, the contents present at this website
are actually asesome for people knowledge, well, keep up the
good work fellows.
I was wondering if you ever considered changing the layout of your website?
Its very well written; I love what youve got to say. But maybe you could a little
more in the way of content so people could connect wih it better.
Youve got an awful lot of text for only having 1 or 2
images. Maybe you could space it out better?
Hi, I think ykur web site could be having web browser compatibility
issues. When I takle a look at your blog in Safari,
it looks fine however, wwhen opening in Internet Explorer, itt has some overlapping issues.
I just wanted to give you a quick heads up! Other than that, wonderful blog!
Hello! Icould have sworn I’ve been to this blo before but fter reading through some of the post I realized it’s
new to me. Anyways, I’m definitely delighted I found it and I’ll
be book-marking and checking back frequently!
Hello there, I do think your wesbsite could be having browser compatibility issues.
Whenn I look at your blog in Safari, it looks fine but
when openiung inn Internet Explorer, it’s got ome overlaapping issues.
I just wanted to provide you with a quick heads up! Apart from that, wonderful site!
I visit each day some web sites and blohs to read content, except this web
site gives quality based articles.
I every time spent mmy half an hoir to read this web site’s poss every day along with a cup
of coffee.