Showing 39 Result(s)
Nginx Rewrite /product_category/ WordPress

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; …

nginx location and root settings dont work

nginx location and root settings dont work

lenovouser asked: I am trying to rewrite every file after cdn.minora.me/forum/ to another directory: server { listen 443 ssl; listen [::]:443 ssl; ssl on; ssl_certificate /etc/nginx/ssl/minora.me.crt; ssl_certificate_key /etc/nginx/ssl/minora.me.key; root /srv/minora.me/webservices/cdn.minora.me; …

Nginx rewrite rules with php args

Nginx rewrite rules with php args

hlx98007 asked: I have 2 websites, http://localhost/bb — phpbb http://localhost/dp — Drupal I wish to redirect $server_name/bb/ucp.php?mode=logout&sid=xxxxx to $server_name/dp/user/logout, the sid should be ignored. I’ve tried this: location /bb/ { …