301 Header help needed - it's not redirecting the browser
Posted: Thu Jul 09, 2015 9:29 am
Code: Select all
header("Location: http://site.local/subcateg/$rowredir->catid/$categreplace/$rowredir->subid/$subcategreplace/",TRUE,301);I have captured both the prodID and subID, and now wanting to 301 them to the subID. The above isn't working. All that happens is they are taken to the product page and shown a message (from the product.inc file) to say it is no longer available.
I don't get any errors, but they aren't taken away either.