Download & Extend

Option to choose the HTTP return code

Project:CCK Redirection
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)

Issue Summary

It would be useful to be able to change the HTTP return code, e.g. 301, 302, etc.

Comments

#1

Version:5.x-1.0» 6.x-1.2

This would be a very useful feature to have, especially that reading the HTTP protocol specs suggests that the normal use of cck_redirection to assign a permanent redirection point for a given URL should be 301.

#2

subscribing - this would be a great addition

#3

Status:active» patch (to be ported)

Hi,
I have created a patch for this. The patch adds a field, 'Redirection response code' for you to set a response code to use with the cck redirect field. This only works for the 'Divert' redirection type, and is set on a per CCK field basis (you need to go to edit the field in your node manage fields admin in order to set the configuration).

It would have been nicer to have this on a per node basis, but that would mean changing the database.

Cheers,
Victoria

AttachmentSize
cck_redirection-http_response_code-issue271257.patch 6.66 KB