<a href="https://some_domain.com">LinkText</a>

<a href="https://some_domain.com" target="_blank" >LinkText</a>

<a href="https://somedomain.com" target="_blank" title="Click to follow link to here" style="margin-right:10px">
<a href="/">link</a>
Javascript method
<a href="javascript:history.go(0)">Refresh</a>
Link to same page without URL arguments
$UrlWithoutArguments = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
<a href="$UrlWithoutArguments">Refresh</a>

or

<a href="<?php parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);?>">Refresh</a>
$ThisPageUrl = $_SERVER["REQUEST_URI"];

<a href="$ThisPageUrl">Refresh</a>

or

<a href="<?php $_SERVER['REQUEST_URI'];?>">Refresh</a>

Open in new tab / window

<a href="https://somedomain.com" target="_blank" >

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *