Rewrite does not work

necromonger nginx-forum at forum.nginx.org
Thu Feb 28 21:35:44 UTC 2019


Hello forum members,

I have the following problem and I hope someone can help me.

I've added the following rewrite line in the Config website:

rewrite ^tagged\/(.*)$ /?p=blog&blog_tag_name=$1 break; 

It is supposedly called by the following URL: /tagged/Server be redirected
to the following internally: /blog?blog_name=&blog_tag_name=Server


Unfortunately, I always get an Error 404.

Maybe someone can help me, where the mistake lies.


Greeting

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283225,283225#msg-283225



More information about the nginx mailing list