Recent Topics

1 Nov 18, 2010 21:38    

My b2evolution Version: 3.3.3

Hello all,

I'm wondering if anyone can help me with a URL redirect questions.

My main blog is at rossputin.com

I've set up a second blog which is called by rossputin.com/blog/backbone.php

I own the URL backboneradio.net which I have redirected to call rossputin.com/blog/backbone.php/

Right now the blog base URL as set in the blog settings is:
http://rossputin.com/blog/backbone.php/

And it works fine.

But I'd like the user to see backboneradio.net in the browser rather than the rossputin.com stuff.

However, when I set base URL to http://backboneradio.net/ I get an error:
404 Not Found
b2evolution cannot resolve the requested URL.

I have also gotten an error in Firefox that says something like the server is using a redirect that will never complete.

So, can anyone tell me what the proper settings would be so that the URLs of the backbone blog start with backbone.net/ instead of all the rossputin.com stuff, and so that going to backboneradio.net also works?

Thanks in advance for any help!

2 Nov 18, 2010 22:00

Are those websites hosted on the same physical server?
If they are, you have two choices

1. Set root directory for backboneradio.net into b2evo directory, let's say /home/user/public_html/blog/
That's all you need todo.

2. Create a file index.php in backboneradio.net root dir, say /home/user2/public_html/index.php with the following code

<?php
$blog = 555;
$timestamp_min = '';
$timestamp_max = 'now';

require_once '/home/user/public_html/blog/conf/_config.php';
require $inc_path.'_blog_main.inc.php';
?>

In both options you will need to set absolute blog url in settings. Note that cookies can't be shared between domains, and you will alway be logged out on addon domain.

3 Nov 18, 2010 22:02

thanks, Sam.

The always being logged out thing would actually be a problem, so if that can't be avoided then I'll just leave things as they are.

Best,
Ross


Form is loading...