How can add blog section with pages?
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
By default Bludit is configured as blog. This means new content is shown as posts (status Published at Advanced).
You can add additional pages to the blog as static content. For this you can set the status Static at Advanced.
To show a menu of the static content in the sidebar you have to activate the plugin Static pages.
You can add additional pages to the blog as static content. For this you can set the status Static at Advanced.
To show a menu of the static content in the sidebar you have to activate the plugin Static pages.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
This can be done as follows:
1) Add a new content "Blog" (with the friendly URL "blog").
2) Set at "Settings" > "Advanced" > "URL filters" for "Blog" the slug "/blog/" (this is set by default).
3) Add the following rule to the file .htaccess in the root directory of your installation:
With this the file .htaccess will be:
1) Add a new content "Blog" (with the friendly URL "blog").
2) Set at "Settings" > "Advanced" > "URL filters" for "Blog" the slug "/blog/" (this is set by default).
3) Add the following rule to the file .htaccess in the root directory of your installation:
Code: Select all
RewriteRule blog blog/ [L,R=301]
Code: Select all
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
# Enable rewrite rules
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
RewriteRule blog blog/ [L,R=301]
</IfModule>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets