P
P
Pista2020-02-23 13:44:32
Nginx
Pista, 2020-02-23 13:44:32

How to redirect all posts in a category using NGINX?

Please tell me how to redirect all posts of a category like site.ru/category/* to a php file

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Page-Audit.ru, 2020-02-26
@Pista

server {
    ...
    rewrite ^/category/   script.php last;
    ...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question