snipt

Ctrl+h for KB shortcuts

Text only

htaccess change all files from .html to .php

RewriteEngine on
RedirectMatch 301 (.*)\.html$ $1.php
https://snipt.net/embed/30c204ead09242223505f6b10e45ef4c/
/raw/30c204ead09242223505f6b10e45ef4c/
30c204ead09242223505f6b10e45ef4c
text
Text only
2
2019-08-19T09:49:39
True
False
False
/api/public/snipt/137717/
htaccess-change-all-files-from-html-to-php-848ce893
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>RewriteEngine on </span><span id="L-2"><a name="L-2"></a>RedirectMatch 301 (.*)\.html$ $1.php </span></pre></div> </td></tr></table>
html, php, to

HTML

html header mobile

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html lang="id" xmlns="http://www.w3.org/1999/xhtml">
https://snipt.net/embed/270184a8ff14ac85c51ed46f18ac7fc9/
/raw/270184a8ff14ac85c51ed46f18ac7fc9/
270184a8ff14ac85c51ed46f18ac7fc9
html
HTML
2
2019-07-16T05:11:09
True
False
True
Sep 09, 2014 at 01:13 AM
/api/public/snipt/136385/
html-header-mobile-728f51b0
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</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;-//WAPFORUM//DTD XHTML Mobile 1.0//EN&quot; &quot;http://www.wapforum.org/DTD/xhtml-mobile10.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;id&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></pre></div> </td></tr></table>
html, mobile