Recent Topics

1 Sep 02, 2016 04:28    

I tried out several blogs to see which one I liked the best. I like the b2evolution the best, so now I need to change the base url I set it up on.

Currently I have this:
https://feast-for-freedom.com/blog3/

And I want to change it to:
https://feast-for-freedom.com/blog/

I've searched through everything, and all the responses have been very old, so I figured the method has probably changed.

Thora

2 Sep 02, 2016 17:05

v 6.7.6
collections > settings >URL's might help

see also http://b2evolution.net/man/base-url

You can make your own folder /myblog/ with index.php in it and direct to that

My example is that I have a subdomain elf i.e. elf.calstock.org.uk
I made a folder called elf in the root of b2 and place an index.php file in it as follows:
http://forums.b2evolution.net/topic-12423
$blog = 5 as it was the fifth blog I created

<?php

$blog = 5;
# You could *force* a specific skin here with this setting: (otherwise, default will be used)
# $skin = 'custom';

# This setting retricts posts to those published, thus hiding drafts.
# You should not have to change this.
$show_statuses = array();

# Additionnaly, you can set other values (see URL params in the manual)...
# $order = 'ASC'; // This for example would display the blog in chronological order...

/**
 * That's it, now let b2evolution do the rest! :)
 * Note: if you put this file in a subdirectory, you will need to adjust the path below, for example:
 * require_once dirname(__FILE__).'/../conf/_config.php';
 */
require_once dirname(__FILE__).'/../conf/_config.php';

require $inc_path.'_blog_main.inc.php';
?>

Still I have left the URL with the .php ending so elf.calstock.org.uk brings up elf.calstock.org.uk/elf.php

Hope that not too confusing?

4 Sep 03, 2016 05:54

Thank you amoun and fplanque.


Form is loading...