I got it fixed. location ~ ^/[0-9]+/[0-9]+/[0-9]+/(.*) { return 301 /content/$1; }by Moscato - How to...
Hi, I'm new here. Trying to work on an nginx redirect I'm using wordpress. The goal is to change techraptor.net/%year%/%monthnum%/%day%/%postname% (techraptor.net/2014/10/05/articlename) to techraptor.net/content/%postname% location ~ ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*)$ { return 301 /$1 permanent; } This is what I have so far, but something isn't right. Nginx won't load it. Whby Moscato - How to...
![]() |
![]() |
![]() |
![]() |
|