Recent Topics

1 Apr 20, 2007 22:41    

My b2evolution Version: 1.8.x

I've been working with mod_rewrite and finally figured out a work around to get what I'm looking for my categories. Originally the url looked like:
http://www.executivefraud.com/Fraud_Blog.php?cat=35
now I want it to look like:
http://www.executivefraud.com/Fraud_Blog/Accounting_Scandal.php

The problem I'm having is modifying the stub file to access the blog properly. I realize that I need to modify three lines:

require_once dirname(__FILE__).'/conf/_config.php';
require_once $inc_path.'_main.inc.php';
require $inc_path.'_blog_main.inc.php';

Any thoughts how to get from the subdomain Fraud_Blog back to the root then to these files? I appreciate your help

3 Apr 22, 2007 03:33

I thought at first it was the same when I was searching for this problem but I think the stub files used there are in the root. So when he calls the blog files it is going into the subdomains without having to go back to the root if that makes sense.

The stub files I'm using are in /Fraud_Blog/stub.php

So as I would understand I would need to go back one time out of Fraud blog and then go to /conf/ and /inc/

I tried the solution suggested by Yabba and didn't have any luck and I think its related to the location. I feel like if I moved the stubs to the root it wouldn't be a problem but I would like to have them in a subdomain to keep the directory cleaner.

Any thoughts?


Form is loading...