Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-10-10 20:04:17

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 127

Rewrite c=category with nginx

I’m not terribly good with configuring nginx beyond the standard configuration. But I’d like to get a clean url with the category listing.

c=category works just fine, but I’d like to have it /section/category/category-name or something similar.

Anyone have success in nginx?
Thanks
Rich

Offline

#2 2018-10-11 13:11:41

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,060
Website

Re: Rewrite c=category with nginx

Hi. Please see the Nginx installation documentation – let us know if tat solves your issues? Cheers!

Offline

#3 2018-10-11 20:59:25

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,348

Re: Rewrite c=category with nginx

richtestani wrote #314526:

I’m not terribly good with configuring nginx beyond the standard configuration. But I’d like to get a clean url with the category listing.

Post your existing server block and I’ll have a look, I’ve got clean URLs working A-OK on Nginx. The demo site (see my signature) runs on Nginx if you want to trial that, make sure you have the desired effect, and I’ll gladly take a peek at your config.

Offline

Board footer

Powered by FluxBB