Ciprian Popescu edited this page Feb 26, 2018 · 4 revisions

Welcome to the Hound wiki!

Hound is a lite, flat-file, PHP-based content management system. It uses .txt files.


If Hound is installed in the domain root, modify .htaccess as below:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*)$ /index.php [NC,L,QSA]

If Hound is installed in a subdirectory, modify RewriteRule in .htaccess as below:

RewriteRule ^([^?]*)$ /subfolder/index.php [NC,L,QSA]

Set the required parameters in config.php file located in the root folder:

$password = 'adminpassword';
$path = '/subfolder/'; // include trailing slash
$urlwebsite = ''; // exclude trailing slash

Set permissions (chmod) to 755 for site and files folders (inherit/recursive)

Login to your admin section - and create your first page. Use index as page slug in order to set the page as homepage.


  • Super fast
  • Full HTML5 support
  • No database (MySQL) required
  • Media library
  • Optimized for search engines
  • Integrated template editor


The pages are stored in the /site/pages/ folder and are called with prefix page-SLUG.txt.

Slug: unique name for page Title: Title of page Content: HTML content Meta.title: SEO meta title Meta.description: SEO meta description Template: name of file.php in the /template/ folder


The menu items are stored in /site/pages/ and are called with prefix menu-ITEM.txt. The fields are:

Order: Order in menu Item: Menu item Link: Absolute link


The templates folders are stored in /site/templates/. The available placeholder tags are:

[@meta.title] [@meta.description] [@urlwebsite] [@menu] [@title] [@content] [@slogan]

Template tags (PHP)

Page templates can call partial templates, such as header, footer or sidebar, using:

<?php include get_theme_directory('header.php'); ?>

and by specifying the template filename.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.