Hello, I've recently configured boost and boost crawler. Caching works fine and smooth however I can't say same thing about crawler. During cron it saves to different directory than boost.
Normally boost uses cache/normal/www.domain.com but crawler saves to cache/normal/domain.com. How and where should I change settings to have same directory in both cases?

I will be grateful for your help.

Comments

Anonymous’s picture

Status: Active » Closed (works as designed)

Check your settings.php it is probably pointing to the domain with the www. Failing that you need to check you main .htaccess file to make sure that you have uncommented the section where example.com points to www.example.com, this is not a boost issue.

m3rcu’s picture

Thank you for your answer. To be clear I use domain with www. In settings.php $base_url have value with www. I've checked my .htaccess. I had commented section you've mentioned. I uncommented that and configured but crawler still doesn't use directory with www.domain.com and now domain.com is also empty.

Anonymous’s picture

When you type in www.example.com does it go to example.com or vice versa ? It should only go to one. You will have to check your DNS settings it may be that everything is shoved through to example.com or your domain settings in apache may only have a virtual host on www.example.com or duplication. Whatever the cause, your site is not multi domain, cron is being triggered by something visiting example.com and boost should also place everything in the one domain folder dependent on your visitors. It may be as simple as using cpanel or it may be going back to wherever the domain name was bought. One thing though, get it wrong, and the core drupal rules can send your visitors into an infinite loop e.g. DNS says example.com rewrite rules say www.example.com goes back to DNS which points to example.com.

m3rcu’s picture

When I type example.com it goes to www.example.com. I've got drupal configured with www.example.com. As I said before, Boost use www.example.com when crawler example.com. I will try with DNS but first I need to read about it.