Hi,
On Sun, Mar 03, 2013 at 07:38:39PM +0100, GASPARD kévin wrote:
Hi there,
>Probably a single extra try_files line will work for you.
This is my new config file :
location ~ \.php$ {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
You will probably
Le Sun, 03 Mar 2013 19:59:17 +0100, Steve Holdoway
a écrit:
Why not just use the wp config examples in the docs? Both Wordpress and
nginx offer them.
Well, I forget to check that... Sorry.
Anyway, I've found this:
Steve
On 4/03/2013, at 7:38 AM, GASPARD kévin wrote:
Thanks for yo
On Sun, Mar 03, 2013 at 07:38:39PM +0100, GASPARD kévin wrote:
Hi there,
> >Probably a single extra try_files line will work for you.
> This is my new config file :
> location ~ \.php$ {
> try_files $uri $uri/ /index.php?q=$uri&$args;
> }
You will probably find
Why not just use the wp config examples in the docs? Both Wordpress and nginx
offer them.
Steve
On 4/03/2013, at 7:38 AM, GASPARD kévin wrote:
> Thanks for your reply.
>
>> On Sun, Mar 03, 2013 at 01:52:48PM +0100, GASPARD kévin wrote:
>>
>> Hi there,
>>
>>> Using nginx 1.2.1 on Debian Whe
Thanks for your reply.
On Sun, Mar 03, 2013 at 01:52:48PM +0100, GASPARD kévin wrote:
Hi there,
Using nginx 1.2.1 on Debian Wheezy 64 bits.
My wordpress need rewrite, it gave me this:
# nginx configuration
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break
On Sun, Mar 03, 2013 at 01:52:48PM +0100, GASPARD kévin wrote:
Hi there,
> Using nginx 1.2.1 on Debian Wheezy 64 bits.
>
> My wordpress need rewrite, it gave me this:
> # nginx configuration
>
> location / {
> if (!-e $request_filename){
> rewrite ^(.*)$ /index.php break;
> }
> }
Hi,
Using nginx 1.2.1 on Debian Wheezy 64 bits.
My wordpress need rewrite, it gave me this:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
I've tried to convert it with this