Closed atomicbird closed 11 years ago
Some experimenting shows that changing the home setting in site/config/config.php
to something other than blog
(e.g. docs
) makes category links work, though of course it changes the site home page. (Maybe this is obvious to people with more Kirby experience...). I'm not sure why this is (apparently) not the case at http://baseblog.sashtown.de
I'm working with a redirect in the .htaccess
RedirectMatch 301 ^/blog/(.*)$ /$1
to avoid those uncool blog/
- parts in the URLs of blog posts. This makes sense, when building a Kirby site with a blog on the home page. Unfortunately it doesn't work on local environments like XAMPP or MAMP. But it'll work fine on a production sever as you can see.
Another option (and surely the better one in case of local testing) is to drop the blog/
- parts within the category links of the blog (and search) templates. I'm gonna fix that asap.
Thanks, that takes care of it.
I installed Kirby following its instructions, and then added Baseblog by replacing Kirby's
assets
,content
, andsite
directories with Baseblog's. I haven't made any other changes to the Kirby code.If I click on one of the category links in Baseblog's sample content directory, I get redirected back to the site home page (HTTP 302 and a
Location:
header). For example:This is with Baseblog commit 5616757 and Kirby commit a242815, both current as of today. I see that http://baseblog.sashtown.de doesn't have this problem-- maybe it's using an older version of Kirby?