Timeline for How to configure nginx for wordpress
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 25, 2012 at 10:00 | vote | accept | Ravika | ||
Nov 25, 2012 at 9:55 | comment | added | Oleg Butuzov | try with more exmaples =) (and yes that correct). here is one more tutorial to configure wp under nginx - wiki.nginx.org/WordPress. more simple IMHO than that one you have in wp codex. | |
Nov 25, 2012 at 9:45 | comment | added | Ravika | Just got it. I went back to step 3. Now when I visit localhost I get output as string(1) "/" and visiting localhost?q=test give me string(8) "/?q=test" as output. Is it correct? | |
Nov 25, 2012 at 9:44 | comment | added | Oleg Butuzov | googling for "nginx php-fpm rewrite" will give you enough samples. just skip all install sections and read carefuly about configuring a rewrite. don't forget about Codex article. Just you understand location principes - it look amazingly simple for you. | |
Nov 25, 2012 at 9:24 | comment | added | Oleg Butuzov | ok. we have php errors in step 4. it's OK. now back to step 3. you should organize on nginx rewrite system - it means that requsting site.com/test, site.com/demotest, site.com/onemore/test/ should output you a /test, /demotest, /onemore/test/... you need to tweak your nginx options to do that. after yo fix it we can continue with WP. | |
Nov 25, 2012 at 9:11 | comment | added | Oleg Butuzov | Hey, you shoudl understand what you doing. Not just do something. So $_SERVER['REQUEST_URI'] return NULL. Back to your php envoiropment debug, you not passing variables to php. | |
Nov 25, 2012 at 9:08 | history | edited | Oleg Butuzov | CC BY-SA 3.0 |
added 408 characters in body
|
Nov 25, 2012 at 9:00 | comment | added | Oleg Butuzov | moment let me update answer | |
Nov 25, 2012 at 8:59 | comment | added | Ravika | Step 1 and 2 work. I don't understand what does step 3 and 4 mean. Can you provide a ready-made script that does step 3 and 4. | |
Nov 25, 2012 at 8:23 | history | answered | Oleg Butuzov | CC BY-SA 3.0 |