Welcome! Log In Create A New Profile

Advanced

Re: Wordpress Permalinks

Falko Timme
February 16, 2012 09:48PM
This article might be of interest:

http://www.howtoforge.com/running-wordpress-on-nginx-lemp-on-debian-squeeze-ubuntu-11.04

It's using the following permalink structure:
/%year%/%monthnum%/%day%/%postname%/
But I think the other options should work as well.

----- Original Message -----
From: "justin" <nginx-forum@nginx.us>
To: <nginx@nginx.org>
Sent: Friday, February 17, 2012 12:10 AM
Subject: Wordpress Permalinks


> Howdy.
>
> So I am trying to get permalinks to work with Wordpress. I have read a
> few articles/blog posts but still no luck. The permalink structure I am
> trying to use is:
>
> http://mydomain.com/wp/index.php/2012/02/sample-post/
>
> Here is the configuration block that I am currently using that is
> important:
>
> # permalinks currently not working with this
> location ~ \.php$ {
> include /etc/nginx/fastcgi_params;
> fastcgi_intercept_errors off;
> fastcgi_index index.php;
>
> try_files $uri $uri/ /index.php?q=$uri&$args;
>
> # tried this as well, but still doesn't work
> #
> #if (!-e $request_filename) {
> # rewrite ^.*$ /index.php last;
> #}
>
> fastcgi_pass php1.local.mydomain.com:9000;
> }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,222511,222511#msg-222511
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

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

Wordpress Permalinks

Anonymous User February 16, 2012 06:10PM

Re: Wordpress Permalinks

Edho Arief February 16, 2012 06:46PM

Re: Wordpress Permalinks

Sven Ludwig February 16, 2012 06:58PM

Re: Wordpress Permalinks

Falko Timme February 16, 2012 09:48PM

Re: Wordpress Permalinks

Anonymous User February 17, 2012 02:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
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