{"id":903,"date":"2017-12-05T16:24:38","date_gmt":"2017-12-05T14:24:38","guid":{"rendered":"https:\/\/html-online.com\/articles\/?p=903"},"modified":"2018-12-05T16:36:14","modified_gmt":"2018-12-05T14:36:14","slug":"php-get-ip-cloudflare-proxy","status":"publish","type":"post","link":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/","title":{"rendered":"PHP function to get visitor IP behind Cloudflare or proxy"},"content":{"rendered":"<p>Normally we&#8217;d use <em>$_SERVER[&#8216;REMOTE_ADDR&#8217;]<\/em> but unfortunately this doesn&#8217;t work with Cloudflare. This small PHP function will let you get the visitor&#8217;s real IP address, even if your use Cloudflare or if they&#8217;re hiding behind a proxy.<\/p>\n<p><!--more--><br \/>\n<strong>$ip = getUserIP();<\/strong><\/p>\n<pre style='color:#000000;background:#ffffff;'><span style='color:#5f5035;'>&lt;?php<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#800000;font-weight:bold; '>function<\/span><span style='color:#000000;'> getUserIP<\/span><span style='color:#808030;'>(<\/span><span style='color:#808030;'>)<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>{<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800000;font-weight:bold; '>if<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>(<\/span><span style='color:#800000;font-weight:bold; '>isset<\/span><span style='color:#808030;'>(<\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>\"HTTP_CF_CONNECTING_IP\"<\/span><span style='color:#808030;'>]<\/span><span style='color:#808030;'>)<\/span><span style='color:#808030;'>)<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>{<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t\t\t  <\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>'REMOTE_ADDR'<\/span><span style='color:#808030;'>]<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>\"HTTP_CF_CONNECTING_IP\"<\/span><span style='color:#808030;'>]<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t\t\t  <\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>'HTTP_CLIENT_IP'<\/span><span style='color:#808030;'>]<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>\"HTTP_CF_CONNECTING_IP\"<\/span><span style='color:#808030;'>]<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800080;'>}<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#797997;'>$client<\/span><span style='color:#000000;'>  <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>@<\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>'HTTP_CLIENT_IP'<\/span><span style='color:#808030;'>]<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#797997;'>$forward<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>@<\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>'HTTP_X_FORWARDED_FOR'<\/span><span style='color:#808030;'>]<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#797997;'>$remote<\/span><span style='color:#000000;'>  <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$_SERVER<\/span><span style='color:#808030;'>[<\/span><span style='color:#0000e6;'>'REMOTE_ADDR'<\/span><span style='color:#808030;'>]<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800000;font-weight:bold; '>if<\/span><span style='color:#808030;'>(<\/span><span style='color:#000000;'>filter_var<\/span><span style='color:#808030;'>(<\/span><span style='color:#797997;'>$client<\/span><span style='color:#808030;'>,<\/span><span style='color:#000000;'> FILTER_VALIDATE_IP<\/span><span style='color:#808030;'>)<\/span><span style='color:#808030;'>)<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>{<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$ip<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$client<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>}<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800000;font-weight:bold; '>elseif<\/span><span style='color:#808030;'>(<\/span><span style='color:#000000;'>filter_var<\/span><span style='color:#808030;'>(<\/span><span style='color:#797997;'>$forward<\/span><span style='color:#808030;'>,<\/span><span style='color:#000000;'> FILTER_VALIDATE_IP<\/span><span style='color:#808030;'>)<\/span><span style='color:#808030;'>)<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>{<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$ip<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$forward<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>}<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800000;font-weight:bold; '>else<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>{<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$ip<\/span><span style='color:#000000;'> <\/span><span style='color:#808030;'>=<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$remote<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'> <\/span><span style='color:#800080;'>}<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'><\/span>\r\n<span style='color:#000000;'>\t<\/span><span style='color:#800000;font-weight:bold; '>return<\/span><span style='color:#000000;'> <\/span><span style='color:#797997;'>$ip<\/span><span style='color:#800080;'>;<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#800080;'>}<\/span><span style='color:#000000;'><\/span>\r\n<span style='color:#5f5035;'>?><\/span>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Normally we&#8217;d use $_SERVER[&#8216;REMOTE_ADDR&#8217;] but unfortunately this doesn&#8217;t work with Cloudflare. This small PHP function will let you get the visitor&#8217;s real IP address, even if your use Cloudflare or if they&#8217;re hiding behind a proxy.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-903","post","type-post","status-publish","format-standard","hentry","category-articles","category-freebies"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP function to get visitor IP behind Cloudflare or proxy<\/title>\n<meta name=\"description\" content=\"This small PHP function will let you get the visitor&#039;s real IP address, even if they use Cloudflare or if they&#039;re hiding behind a proxy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP function to get visitor IP behind Cloudflare or proxy\" \/>\n<meta property=\"og:description\" content=\"This small PHP function will let you get the visitor&#039;s real IP address, even if they use Cloudflare or if they&#039;re hiding behind a proxy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML Online\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/htmlcoding\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-05T14:24:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-05T14:36:14+00:00\" \/>\n<meta name=\"author\" content=\"HTML Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"HTML Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\"},\"author\":{\"name\":\"HTML Editor\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\"},\"headline\":\"PHP function to get visitor IP behind Cloudflare or proxy\",\"datePublished\":\"2017-12-05T14:24:38+00:00\",\"dateModified\":\"2018-12-05T14:36:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\"},\"wordCount\":54,\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"articleSection\":[\"Articles\",\"Freebies\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\",\"url\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\",\"name\":\"PHP function to get visitor IP behind Cloudflare or proxy\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/#website\"},\"datePublished\":\"2017-12-05T14:24:38+00:00\",\"dateModified\":\"2018-12-05T14:36:14+00:00\",\"description\":\"This small PHP function will let you get the visitor's real IP address, even if they use Cloudflare or if they're hiding behind a proxy.\",\"breadcrumb\":{\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/html-online.com\/articles\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP function to get visitor IP behind Cloudflare or proxy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/html-online.com\/articles\/#website\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"name\":\"HTML Online Articles\",\"description\":\"Tips, tricks, tutorials\u2026\",\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/html-online.com\/articles\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/html-online.com\/articles\/#organization\",\"name\":\"HTML Online\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"width\":350,\"height\":350,\"caption\":\"HTML Online\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/htmlcoding\/\",\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\",\"name\":\"HTML Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"caption\":\"HTML Editor\"},\"description\":\"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/@htmlg\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP function to get visitor IP behind Cloudflare or proxy","description":"This small PHP function will let you get the visitor's real IP address, even if they use Cloudflare or if they're hiding behind a proxy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/","og_locale":"en_GB","og_type":"article","og_title":"PHP function to get visitor IP behind Cloudflare or proxy","og_description":"This small PHP function will let you get the visitor's real IP address, even if they use Cloudflare or if they're hiding behind a proxy.","og_url":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/","og_site_name":"HTML Online","article_publisher":"https:\/\/www.facebook.com\/htmlcoding\/","article_published_time":"2017-12-05T14:24:38+00:00","article_modified_time":"2018-12-05T14:36:14+00:00","author":"HTML Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"HTML Editor","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#article","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/"},"author":{"name":"HTML Editor","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d"},"headline":"PHP function to get visitor IP behind Cloudflare or proxy","datePublished":"2017-12-05T14:24:38+00:00","dateModified":"2018-12-05T14:36:14+00:00","mainEntityOfPage":{"@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/"},"wordCount":54,"publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"articleSection":["Articles","Freebies"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/","url":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/","name":"PHP function to get visitor IP behind Cloudflare or proxy","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/#website"},"datePublished":"2017-12-05T14:24:38+00:00","dateModified":"2018-12-05T14:36:14+00:00","description":"This small PHP function will let you get the visitor's real IP address, even if they use Cloudflare or if they're hiding behind a proxy.","breadcrumb":{"@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/html-online.com\/articles\/php-get-ip-cloudflare-proxy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/html-online.com\/articles\/"},{"@type":"ListItem","position":2,"name":"PHP function to get visitor IP behind Cloudflare or proxy"}]},{"@type":"WebSite","@id":"https:\/\/html-online.com\/articles\/#website","url":"https:\/\/html-online.com\/articles\/","name":"HTML Online Articles","description":"Tips, tricks, tutorials\u2026","publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/html-online.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/html-online.com\/articles\/#organization","name":"HTML Online","url":"https:\/\/html-online.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","width":350,"height":350,"caption":"HTML Online"},"image":{"@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/htmlcoding\/","https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww"]},{"@type":"Person","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d","name":"HTML Editor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","caption":"HTML Editor"},"description":"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.","sameAs":["https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/@htmlg"]}]}},"_links":{"self":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/comments?post=903"}],"version-history":[{"count":5,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/903\/revisions"}],"predecessor-version":[{"id":908,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/903\/revisions\/908"}],"wp:attachment":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/media?parent=903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/categories?post=903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/tags?post=903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}