New answers tagged

0 votes

301 redirect url based off of a category in the url

Assuming the manufacturer must be dynamic, then you could add such a rule. location ~ /product/(.+) { rewrite ^.*(\/product\/)([\w|-]*)\/(.*)\/.*$ /replacement-parts/$2/$3 permanent; } Here $2 is ...
user avatar
  • 146

Top 50 recent answers are included