Welcome! Log In Create A New Profile

Advanced

Re: can not make WordPress pretty permalinks work (404 error)

Edho Arief
May 09, 2012 08:20AM
On Wed, May 9, 2012 at 6:50 PM, seron <nginx-forum@nginx.us> wrote:
> I've tried to follow the guide at
> http://www.howtoforge.com/running-wordpress-on-nginx-lemp-on-debian-squeeze-ubuntu-11.04
> as suggested in the post
> http://forum.nginx.org/read.php?2,222511,222517#msg-222517 , but it
> still doesn't work. I've copied and replaced the server settings from
> the guide, and changed the parts pertaining to my server.
>
> Any permalink setting other than default results in a 404 error page
> when accessing the permalink. The permalinks all have the form
> http://wp.dev/sitename/sample-page. There's no structure created for the
> tags month, year etc. in the url.
>

This may be able to help (my wordpress config).

location / {
root /home/edho/sites/animebsd.net;
index index.php;
try_files $uri $uri/ /index.php?q=$uri&$args;
expires max;
location ~ \.php$ {
expires off;
try_files $uri =404;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
fastcgi_pass unix:/tmp/.php.sock-edho;
}
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

can not make WordPress pretty permalinks work (404 error)

seron May 09, 2012 07:50AM

Re: can not make WordPress pretty permalinks work (404 error)

Edho Arief May 09, 2012 08:20AM

Re: can not make WordPress pretty permalinks work

seron May 09, 2012 09:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready