Closed (fixed)
Project:
Path redirect
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2009 at 20:46 UTC
Updated:
18 Nov 2009 at 10:30 UTC
Is it possible to create a redirect with a X-Robots Tag: Nofollow?
Thanks!
Florian
Comments
Comment #1
dave reidNot currently. Since most times redirects are kept in-site, I don't think it would be good to add this to the module. Although I am probably going to be adding a hook_path_redirect() that gets invoked before a redirection happens, so you could add a small custom module to run:
I'm not sure on the name of the hook yet however.
Comment #2
wflorian commentedI am with you - I don't think a "Nofollow" option is necessary for all redirects, but for some redirect an available option to say that this redirect should be nofollow would certainly be helpful for a lot of users I think.
Thanks for the code, but unfortunatly I am a PHP newbie... where should I add the code?
Thanks a lot!
Florian