1 geo Aug 01, 2010 20:11
3 tilqicom Aug 02, 2010 08:43
geo wrote:
My b2evolution Version: Not Entered
I moved blog1.php to root and renamed it index.php, I changed the dirname(__FILE__). in it to '/evolution/blogs/conf/_config.php'
and why did you do that ? Whatever you were trying to do, the above is possibly not the right way to do it.. You should roll back your changes and tell us what you need
4 geo Aug 02, 2010 22:06
I wanted the blog to be at the root of my site, not at www.mysite.com/evolution/blog/. Right now it's working, I can login to backoffice but everytime I view my blog it logs me out.
I'm thinking it's something simple to fix, perhapse a line in the login.php
5 iceblock Aug 03, 2010 03:37
You need to configure your domain to point to '/path/to/evlution/blogs'.
6 geo Aug 03, 2010 03:42
I did that but then when you go to the site it will show the whole path, I don't want the path to show.
7 bushleaguecritic Aug 03, 2010 04:15
First, you need to reverse the changes you already made, as tilqicom has suggested to you.
If you want your blog to be at the root of your site, the easiest solution is to actually move your blog to the root of your site... not just one file. Pack up the whole kit and kaboodle (all the folders and all the files in your 'blog' folder) and move them to the root of your webserver.
Then edit your '/conf/_basic_conf.php' file and change the $baseurl variable to the appropriate url.
8 geo Aug 03, 2010 06:11
Yes I can just copy everything from the blog folder and move it to root...it will break all the pictures in my blog but ok that i can fix.
but then what happens if I want to have another blog under a subdomain? I was just going to make a folder, point the subdomain to it and put the blog file in there. Do I need to put another copy of b2evolution in there instead?
As of now my blog works fine, backoffice works fine except it kicked me out when I go to view my blog so I keep having to relogin to do changes.
I had a brief look at the login.php and I think it's only going to take a few lines of code to fix this...it's something to do with the redirect after your login authenticates. I was just too lazy and looking for a quick fix, I'll take a better look tomorrow.
9 geo Aug 04, 2010 06:54
well setting the blog base url in admin to either default blog or explicit param worked.
10 xuesiyi Aug 09, 2010 11:56
/*spam removed*/
let me clarify it lets me login to backoffice just fine, but if I just click login it will take me back to the blog without the admin functions at the top. Also if I make some change in backoffice and want to view the blog, it will log me out.