Timeline for Delivering a file instead of wordpress page
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 27, 2015 at 22:48 | comment | added | kaiser |
@DavidGard There's wp_get_referer() for that.
|
|
Jan 26, 2015 at 18:15 | vote | accept | Chris Morris | ||
Jan 26, 2015 at 17:36 | answer | added | birgire | timeline score: 2 | |
Jan 26, 2015 at 16:47 | vote | accept | Chris Morris | ||
Jan 26, 2015 at 16:49 | |||||
Jan 26, 2015 at 16:03 | answer | added | Milo | timeline score: 2 | |
Jan 26, 2015 at 15:39 | comment | added | David Gard |
Have a look at the template_redirect action - codex.wordpress.org/Plugin_API/Action_Reference/…. This action will allow you to check whatever you want, such as $_SERVER['REQUEST_URI'] , and if necessary redirect the user using wp_safe_redirect() . Have a bash, if you struggle update your questions with your results and we can help more :)
|
|
Jan 26, 2015 at 15:15 | history | asked | Chris Morris | CC BY-SA 3.0 |