{"id":49,"date":"2011-10-25T10:07:33","date_gmt":"2011-10-25T10:07:33","guid":{"rendered":"http:\/\/www.sandykadam.com\/?p=49"},"modified":"2012-01-03T12:06:36","modified_gmt":"2012-01-03T12:06:36","slug":"http-redirection-in-php","status":"publish","type":"post","link":"https:\/\/www.sandykadam.com\/blog\/programming-stuff\/php\/http-redirection-in-php\/","title":{"rendered":"HTTP Redirection in PHP"},"content":{"rendered":"<p>PHP code to redirect any HTTP url.<\/p>\n<p>[code type=php]<br \/>\n&lt;?php<br \/>\nheader(&#8216;Location: http:\/\/you_domain.com\/url.php&#8217;); \/\/ stick your url here<br \/>\n?&gt;<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP code to redirect any HTTP url.<br \/>\n[code type=php]<br \/>\n&lt;?php<br \/>\nheader(&#8216;Location: http:\/\/you_domain.com\/url.php&#8217;); \/\/ &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[24],"tags":[37],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-php","tag-php-2"],"aioseo_notices":[],"views":509,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p25uYH-N","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":3,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/posts\/49\/revisions\/422"}],"wp:attachment":[{"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sandykadam.com\/blog\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}