snipt

Ctrl+h for KB shortcuts

Bash

Apache2 permanent redirect to external URL

1
2
3
## APACHE2: permanently redirect local link to external URL

Redirect 301 /blog/rss http://feeds2.feedburner.com/petekarl
https://snipt.net/embed/c131cd47d5804ebd98776f65b56fa731/
/raw/c131cd47d5804ebd98776f65b56fa731/
c131cd47d5804ebd98776f65b56fa731
bash
Bash
3
2019-05-30T22:26:45
True
False
False
/api/public/snipt/4976/
apache2-permanent-redirect-to-external-url
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c1">## APACHE2: permanently redirect local link to external URL</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>Redirect <span class="m">301</span> /blog/rss http://feeds2.feedburner.com/petekarl </span></pre></div> </td></tr></table>
apache, redirect