Don't know if the upgrade is causing this problem or if there is another reason: i have a setup as described below, after upgrade (with potentially having deleted a hack in a modified file) it is not working anymore. When i want access the second collection (http://kerosinsteuer.wald.org/news/), i get an 'Error 404: NOT FOUND!'
Question 1: are there changes between this two versions that explain the failure?
Question 2: how do i solve the problem?
@mgsolipa wrote earlier:
@ramadama your different blogs approach is correct. Just keep the sub-domain collection URL pointing to its root: http://sub-domain.example.com/
. For the second collection you can use a stub (http://b2evolution.net/man/stub-file) file, so try this:
1. Create a folder
info
in the root directory of your site.
- Copy & paste
index.php
and .htaccess
to it.
Open info/index.php
and do the following:
- Modify the first statement to correctly find the
config.php
main file. i.e.: change it from: require_once dirname(FILE).'/conf/_config.php'; to require_once dirname(FILE).'/../conf/_config.php';
- Add the ID of the collection you're pointing to. You can find a line with the following text:
//A blog has been requested... Let's set a few default params:
$blog = 99; // Replace 99 by the ID of your own collection
- Set the URL Relative to baseurl or Absolute URL. In any case, the final URL should be something like:
http://sub-domain.example.com/info/
That might do the trick. Please let us know.
Regards!
To my knowledge, there is no change that would explain that between 6.7.4 and 6.7.7.
The 404 page is from you web-host, not from b2evolution. It means that the problem is before b2evolution gets a chance to execute. This looks like an htaccess file issue.
Verify that you did not accidentally damage/modify your
.htaccess
file during upgrade.