Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Redirect all url to single php

$
0
0
i have managed to firgure out a rule but i still get a 404 error

location /blog {
rewrite ^/([a-z0-9-]+) /article.php?slug=$1;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>