Just wondering what the exact correct header is to send along when I redirect requests from one server (eg. abc.com) to another (eg. def.com/blog/).
I’ve got the redirects working right, but always get confused as to the exact header to send along with it.
Any help would be greatly appreciated.
Thanks.
Oliver
In PHP you would do it like this:
You’d change “301 Moved Permanently” to “302 Found” if you are not sure it’s permanent.