-
-
Notifications
You must be signed in to change notification settings - Fork 49
Supporting Clean URLs
If you want to give your blog prettier URLs, you can enable "Clean URLs" in the administration console. Chyrp Lite supports clean URLs on the Apache, Caddy 2, Lighttpd, and Nginx web servers.
Before enabling clean URLs, download a Zip archive containing the necessary rewrite files using the link on the Route Settings page of the administration console. Unzip the files and then install the relevant rewrite support for your web server before you enable clean URLs:
If you are using Apache, mod_rewrite and .htaccess capability is required for clean URLs. The configuration file named _htaccess contains the directives necessary to support clean URLs when Chyrp Lite is running on the Apache web server. Copy the file into your installation directory with the name .htaccess (replace underscore with period).
The configuration snippet named caddyfile contains the directives necessary to support clean URLs when Chyrp Lite is running on the Caddy 2 web server. You must add this file to your Caddy configuration, either by copying and pasting the contents or by using the import
directive:
example.com {
#...
import filesystem/path/to/caddyfile
#...
}
The configuration snippet named lighttpd.conf contains the directives necessary to support clean URLs when Chyrp Lite is running on the Lighttpd web server. You must add this file to your Lighttpd configuration, by copying and pasting the contents.
The configuration snippet named nginx.conf contains the directives necessary to support clean URLs when Chyrp Lite is running on the Nginx web server. You must add this file to your Nginx configuration, inside the server
directive, either by copying and pasting the contents or by using the include
directive:
server {
#...
include filesystem/path/to/include.conf;
#...
}
It is not necessary to delete the configuration snippets if you decide to disable clean URLs.
This is the wiki for Chyrp Lite: An ultra-lightweight blogging engine, written in PHP.
- About Permissions
- Tour of a Theme
- Twig Reference
- Twig Variables
- Object Attributes
- Routes and Controllers
- Making Your First Module
- Debug and Tester Modes
- About Errors
- Introduction to Helpers
- Introduction to Translations
- Introduction to Triggers
- Anatomy of info.php Files
- Anatomy of a Feather
- Anatomy of a Module
- Anatomy of a Theme
- Anatomy of a Post
- Localizing Extensions
- Adding Ajax Functionality
- Working with JavaScript
- Working with Model
- Working with Config