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/
https://snipt.net/raw/30c204ead09242223505f6b10e45ef4c/
30c204ead09242223505f6b10e45ef4c
text
Text only
2
2016-02-06T03:12:50
True
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 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/
https://snipt.net/raw/270184a8ff14ac85c51ed46f18ac7fc9/
270184a8ff14ac85c51ed46f18ac7fc9
html
HTML
2
2016-02-06T04:54:05
True
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 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="nt">&lt;html</span> <span class="na">lang=</span><span class="s">&quot;id&quot;</span> <span class="na">xmlns=</span><span class="s">&quot;http://www.w3.org/1999/xhtml&quot;</span><span class="nt">&gt;</span> </span></pre></div> </td></tr></table>
html, mobile
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.