2 blueyed Dec 03, 2006 19:26

thanks for the hint. working great so far.
is there any way to get rid of the index.php in every link?
so result should be http://test.domain.com/ instead of http://test.domain.com/index.php
Thanks again
Yes.. use an empty stub.
And if it works out, it would be great if you would add it to the wiki documentation.
worked great and just added this to the wiki. Please have a look at it as my english is not the best ;)
Looks fine. Thank you.. :)
hmm okay - seems like there's still a problem.
Yesterday i tried that with a testinstallation of b2e 1.9.1 - today i tried to set this up on my future production environment with of course the latest stable.
Now i get an error when calling a subdomain-blog:
Blog::get(baseurl)/baseurlroot - assertion failed.
The $baseurl in _basic_config.php is set to 'http://www.domain.com/' (my domain of course). Is this not yet working in the latest stable but in 1.9.x ?
Edit: my fault - forgot the trailing slash on the absolute URL - working now. Added a note to the wiki ;)
okay - one more problem.
The "All" Blog links to all categories - which is fine somehow, but there's a problem with that.
The link to the category is
mainblog.domain.com/?cat=35
instead of
subblog.domain.com/?cat=35
The link seems to be done relatively which works of course but would be a serious google problem (duplicate content). Is this just a skin issue which can be fixed?
Best,
Frank
The following patch should fix it (replacing one line).
Line numbers refer to v-1-9, but the context is the same in v-1-8:
--- blogs/plugins/_categories.plugin.php 4 Nov 2006 19:55:11 -0000 1.24.2.2
+++ blogs/plugins/_categories.plugin.php 5 Dec 2006 12:40:30 -0000
@@ -283,7 +283,7 @@
}
else
{
- $r .= url_add_param( get_bloginfo('blogurl'), 'cat='.$cat_ID );
+ $r .= url_add_param( blog_list_iteminfo('blogurl', false), 'cat='.$cat_ID );
}
$r .= '">'.format_to_output($cat['cat_name'], 'htmlbody').'</a> <span class="notes">('.$cat['cat_postcount'].')</span>';
i'm using 1.9 so that's fine.
Thanks will give it a try shortly :)
ok great - works fine.
Is there also already a way to have nice seo-URLs for the categories?
sub.domain.com/category/my_category_name
or something like that. Wordpress offers a nice free URL-structuring method. Something like that on b2e would be nice in the future ;)
This is planned/already implemented for the next major release after 1.9.
Yes, you can do so: http://manual.b2evolution.net/MultipleDomains