Recognition

No awards yet.

Posts

2 Posts
  • Published Answer

    Nginx redirect question

    Hello all Just for everyone’s interest, I finally managed to get this working with: rewrite ^/en/blog/(?!$)(?!news)(.*) /en/…
    Accepted Answer: Hello all Just for everyone’s interest, I finally managed to get this working with: rewrite ^/en/blog/(?!$)(?!news)(.*) /en/…
    By podtris
  • Published Question

    Nginx redirect question

    I'm needing to redirect all example.com/blog blog posts to example.com/blog/news, eg: example.com/blog/blog-post-name to example.com/blog/news/blog-post-name, and have been trying to do this with nginx rewrite rules. ...
    Accepted Answer: Hello all Just for everyone's interest, I finally managed to get this working with: rewrite ^/en/blog/(?!$)(?!news)(.*) /en/blog/news/$1 permanent;
    1 By podtris Nginx