Google Posterity Post — serving non-WordPress content

blog

Written by:

1. Create a PHP file in the themes directory with the name lomo.php

<?php
/*
Template Name: <lomo>
*/
?>

HTML GOES HERE

2. Create a new page, and select “lomo” as the page template template. Leave the content blank – all the content will be served by the template HTML.

3. Add HTTP redirect in root .htaccess like this:

REDIRECT 301 /lomo/index.html http://www.kataan.org/stub-name-of-page/

Leave a Reply

Your email address will not be published. Required fields are marked *