snipt

Ctrl+h for KB shortcuts

Bash

Force static page load

1
2
3
# rbanh: force static page load.
# bypass index.php for wordpress, ee, etc.
RewriteRule ^bookaroom$ - [PT,L]
https://snipt.net/embed/327158855b2f8962fe989677ff8891a6/
/raw/327158855b2f8962fe989677ff8891a6/
327158855b2f8962fe989677ff8891a6
bash
Bash
3
2019-07-01T14:03:33
True
False
False
/api/public/snipt/39154/
force-static-page-load
<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"># rbanh: force static page load.</span> </span><span id="L-2"><a name="L-2"></a><span class="c1"># bypass index.php for wordpress, ee, etc.</span> </span><span id="L-3"><a name="L-3"></a>RewriteRule ^bookaroom$ - <span class="o">[</span>PT,L<span class="o">]</span> </span></pre></div> </td></tr></table>
htaccess, static