We are being advised by our SEO agency to reduce the number of chained redirects we have.So, for example:URL A - http://www.sitename.co.uk/SHOPPING-CATEGORIES/product_nameredirects to its https version(this is redirect 1, changing http to https)the redirected url then redirects to the same url but all in lower case. So /SHOPPING-CATEGORIES/ becomes /shopping-categories/ (this is redirect 2, changing all urls to lower case as they are case sensitive)the redirected url then redirects to URL B - https://www.sitename.co.uk/category/product_name(this is redirect 3 which removes the string /shopping-categories because this is no longer used in any url)The above creates three separate redirects where what is actually wanted/needed isURL Aredirects to URL BHow can this be best achieved?ADDITION: For clarity, this site is on a dedicated server and so it is not set up as a virtual host. Would all this be easier if were using NGINX?Thanks very much for any input
Creating a Combined 301 Redirect in .htaccess
htaccess;redirects;mod rewrite