Showing 43 Result(s)

404 rewrite or redirect nginx path

user2925795 asked: Im having problems with redirect on nginx I have this original URL: https://www.example.com/media/wysiwyg/logo.png And i’m using the Cloudflare Image, i can use this to load by Cloudflare Image: …

nginx rewrite url with if and arg

JCats asked: Trying to use a wildcard redirect here but unable to figure out what to set for the wildcard, example: URL: example.com/search?q=broccoli Redirect to: example.com/?s=broccoli broccoli can be anything …

nginx evil if alternative?

JCats asked: Looking to see if there is a better way to redirect a query string other than using if in this situation. Example URL: http://foo.com/?p=123 to http://foo.com/new Current using …

Nginx Rewrite /product_category/ WordPress

d1ch0t0my asked: I’m trying to rewrite both the following for a WordPress/Woocommerce site: /product_category/example-category/ /product/example-product/ to… /example-category/ /example-product/ using the following rules: server { listen 10.99.0.3:8080; server_name www.example.com; root /home/www.example.com/public_html; …