Project (Site) Administration
This section details activities related to project administration in CrafterCMS. The content is oriented towards CrafterCMS administration primarily through Crafter Studio.
Most configuration files can be accessed through Crafter Studio through the Sidebar -> -> Configuration. but can also be modified by accessing the configuration files directly. Please note that it is recommended that changes to configuration files be done through the Crafter Studio UI.
What is a Project/Site?
A project or a site is a collection of related pages/components and assets.
For the project repository, the project structure looks like this:
{REPOSITORY_ROOT}/sites/PROJECTNAME/sandbox/
config
engine
studio
administration
content-types
data-sources
dependency
workflow
scripts
classes
components
pages
rest
site
components
taxonomy
website
static-assets
css
fonts
images
js
templates
system
web
Credentials may be required in some project configurations. For more information on how to manage/encode your secrets such as AWS credentials, please see Managing Secrets.
Delivery
In this section, we discuss managing your project, security, etc. in a delivery environment.
URL Rewrites and Vanity URLs
URL rewriting turns hard to remember, long and complicated URLs into easier to remember, user-friendly and search engine friendly URLs. Simple URL rewrite rules per project can be done through Crafter Engine.
CrafterCMS comes with the Tuckey URLRewrite filter, a Java Web Filter with functionality like Apache’s mod_rewrite, that lets you setup rewrite rules for your project.
To add a URL rewrite rule, in Studio, open the Sidebar then click on . Click on Configuration then select Engine URL Rewrite Configuration (XML Style).
Here’s an example URL rewrite rule for a project created using the Website Editorial blueprint where requests to /articles/2020/12/top-books-for-young-women will be redirected to /articles/2021/1/men-styles-for-winter
<?xml version="1.0" encoding="utf-8"?>
<urlrewrite>
<rule>
<from>/articles/2020/12/top-books-for-young-women</from>
<to type="redirect">/articles/2021/1/men-styles-for-winter</to>
</rule>
</urlrewrite>
After saving the configuration, remember to publish the configuration file just saved (urlrewrite.xml
file). To publish the configuration file, from the Sidebar, click on Dashboard. In the My Recent Activity dashlet, check the box next to the urlrewrite.xml
file, and click Publish from the context nav to publish.

For more information on the UrlRewriteFilter, see http://tuckey.org/urlrewrite/
Security
There are various ways for securing access to restricted content in your CrafterCMS project in a delivery environment. See here for more information.
Composable
Blueprints
CrafterCMS supports the ability to extend the functionality of the platform through the use of plugins and blueprints. Projects can be created out of blueprints which can be built-in, pulled from the Marketplace, or custom built. Learn more about blueprints in the article Blueprints.
Plugins
Plugins are extensions that can be installed into a project to add functionality. These can extend the functionality of Crafter Studio for added authoring capabilities, or extend the functionality of the project delivery itself by providing features to your project/site. Learn more about plugins in the article Plugins.
Project Tools
contains project administration tools such as Configurations, Plugin Management, Encryption Tool, etc.
The following contains more information on administration tools