Page 1 of 1
How can add blog section with pages?
Posted: Fri Feb 16, 2018 9:42 am
by elpak
How can add blog section with some pages? I'm with default theme
Re: How can add blog section with pages?
Posted: Fri Feb 16, 2018 12:08 pm
by Edi
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.
- static-content.png (8.81 KiB) Viewed 5641 times
Re: How can add blog section with pages?
Posted: Sun Feb 18, 2018 11:55 am
by elpak
How post new content in blog like this site.com/blog/ and site.com/my-new-post-for-something. I want to make same as g3ar .gr/blog
Re: How can add blog section with pages?
Posted: Sun Feb 18, 2018 2:32 pm
by Edi
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:
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>
Re: How can add blog section with pages?
Posted: Mon Feb 19, 2018 10:09 am
by elpak
Thank you Edi
Re: How can add blog section with pages?
Posted: Mon Feb 19, 2018 1:29 pm
by elpak
site.com/blog
gives me page not found, I add your code in .htaccess but nothing happened, do you suggest where is the problem?
Re: How can add blog section with pages?
Posted: Mon Feb 19, 2018 2:00 pm
by Edi
The link is site.com/blog/ with a trailing slash.