snipt

Ctrl+h for KB shortcuts

HTML

client side redirect (meta refresh)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;URL=../new-page.htm" />
<title>Redirect to... title of new-page</title>
</head>
<body>
<h1>Re-directing...</h1>
<p>You are being re-directed, if nothing happens, please <a href="../new-page.htm">follow this link</a></p>
</body>
</html> 
https://snipt.net/embed/d0b87b6d4ff7de8889a2006f65df2146/
/raw/d0b87b6d4ff7de8889a2006f65df2146/
d0b87b6d4ff7de8889a2006f65df2146
html
HTML
12
2019-07-21T05:33:25
True
False
False
Nov 26, 2013 at 02:57 PM
/api/public/snipt/32034/
client-side-redirect-meta-refresh
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1"> 1</a> <a href="#L-2"> 2</a> <a href="#L-3"> 3</a> <a href="#L-4"> 4</a> <a href="#L-5"> 5</a> <a href="#L-6"> 6</a> <a href="#L-7"> 7</a> <a href="#L-8"> 8</a> <a href="#L-9"> 9</a> <a href="#L-10">10</a> <a href="#L-11">11</a> <a href="#L-12">12</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&quot;en&quot;</span> <span class="na">xml:lang</span><span class="o">=</span><span class="s">&quot;en&quot;</span> <span class="na">xmlns</span><span class="o">=</span><span class="s">&quot;http://www.w3.org/1999/xhtml&quot;</span><span class="p">&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;Content-Type&quot;</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;text/html; charset=utf-8&quot;</span> <span class="p">/&gt;</span> </span><span id="L-5"><a name="L-5"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;refresh&quot;</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;0;URL=../new-page.htm&quot;</span> <span class="p">/&gt;</span> </span><span id="L-6"><a name="L-6"></a><span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Redirect to... title of new-page<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span> </span><span id="L-7"><a name="L-7"></a><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span> </span><span id="L-8"><a name="L-8"></a><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span> </span><span id="L-9"><a name="L-9"></a><span class="p">&lt;</span><span class="nt">h1</span><span class="p">&gt;</span>Re-directing...<span class="p">&lt;/</span><span class="nt">h1</span><span class="p">&gt;</span> </span><span id="L-10"><a name="L-10"></a><span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>You are being re-directed, if nothing happens, please <span class="p">&lt;</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">&quot;../new-page.htm&quot;</span><span class="p">&gt;</span>follow this link<span class="p">&lt;/</span><span class="nt">a</span><span class="p">&gt;&lt;/</span><span class="nt">p</span><span class="p">&gt;</span> </span><span id="L-11"><a name="L-11"></a><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span> </span><span id="L-12"><a name="L-12"></a><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
redirect