{"id":1256,"date":"2014-05-22T07:18:15","date_gmt":"2014-05-22T07:18:15","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=1256"},"modified":"2026-02-13T14:57:48","modified_gmt":"2026-02-13T14:57:48","slug":"links-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/html\/links-html\/links-general","title":{"rendered":".Links General"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;a href=\"https:\/\/some_domain.com\"&gt;LinkText&lt;\/a&gt;\n\n&lt;a href=\"https:\/\/some_domain.com\" target=\"_blank\" &gt;LinkText&lt;\/a&gt;\n\n&lt;a href=\"https:\/\/somedomain.com\" target=\"_blank\" title=\"Click to follow link to here\" style=\"margin-right:10px\"&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"link-to-site-root\">Link To Site Root<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"\/\"&gt;link&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"link-to-this-same-page\">Link To This Same Page<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Javascript method<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"javascript:history.go(0)\"&gt;Refresh&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Link to same page without URL arguments<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>$UrlWithoutArguments = parse_url($_SERVER&#91;\"REQUEST_URI\"], PHP_URL_PATH);\n&lt;a href=\"$UrlWithoutArguments\"&gt;Refresh&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"&lt;?php parse_url($_SERVER&#91;\"REQUEST_URI\"], PHP_URL_PATH);?&gt;\"&gt;Refresh&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"link-to-same-page-with-url-arguments-also\">Link to same page with URL arguments also<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>$ThisPageUrl = $_SERVER&#91;\"REQUEST_URI\"];\n\n&lt;a href=\"$ThisPageUrl\"&gt;Refresh&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"&lt;?php $_SERVER&#91;'REQUEST_URI'];?&gt;\"&gt;Refresh&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"open-in-new-tab-window\">Open in new tab \/ window<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"https:\/\/somedomain.com\" target=\"_blank\" &gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Link is a file download<\/h4>\n\n\n\n<p>Indicate to browser that the link target should be downloaded, not attempted to be displayed<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a href=\"\/myfolder\/myfile.txt\" download>LinkText&lt;\/a><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Link To Site Root Link To This Same Page Javascript method Link to same page without URL arguments or Link to same page with URL arguments also or Open in new tab \/ window Link is a file download Indicate to browser that the link target should be downloaded, not attempted to be displayed<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-1256","post","type-post","status-publish","format-standard","hentry","category-links-html"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=1256"}],"version-history":[{"count":14,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1256\/revisions"}],"predecessor-version":[{"id":4730,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1256\/revisions\/4730"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=1256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=1256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=1256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}