[Plugin: Quick Page/Post Redirect Plugin] Add redirect programatically?
-
I’m trying to use this syntax but the url does not update:
add_post_meta($ThisPageID, _pprredirect_active, 1, true); add_post_meta($ThisPageID, _pprredirect_type, 301, true); add_post_meta($ThisPageID, _pprredirect_url, 14417, true);The type and active work but not the url. This code is ‘nasty’ to go through. Any help?
http://ww.wp.xz.cn/extend/plugins/quick-pagepost-redirect-plugin/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Quick Page/Post Redirect Plugin] Add redirect programatically?’ is closed to new replies.