Go to main content

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: 128

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: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

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