Recent Topics

1 Nov 07, 2010 18:07    

My b2evolution Version: 3.3.3

Hi,

I changed my B2 installation's root directory from a subdomain to a subdirectory (i.e., http://B2directory.website.org/ to http://website.org/B2directory/).
Next I changed my "_basic_config" $baseurl to reflect the new path.

PROBLEM:
Now the page loads (unstyled) with a 404 error "b2evolution cannot resolve the requested URL." and the b2evolution link points to the OLD URL.

Q: Do i need to modify additional config files? Also i can no longer LOGIN because the login directive window tries to open a file with the original subdomain URL which is now merely a sub-folder.

THANK YOU for your help!!!
b2 :oops:

2 Nov 07, 2010 18:51

Did you forget to change the URL settings in the backoffice to reflect the changes you've made?

Either that, or your .htaccess file is doing redirects and needs to be updated after your changes.

3 Nov 07, 2010 20:05

Thank you BLC,

I can't LOGIN because when i enter my usr/pwd it tries to open the OLD URL location subdomain and fails -- is there another way to login?

HTACCESS doesn't look like it's redirecting.

THX!

4 Nov 07, 2010 22:37

Next I changed my "_basic_config" $baseurl to reflect the new path.

Make sure you included the ending "/" on the url in the _basic_config.php file.

You should be able to go directly to the admin page: http://website.org/B2directory/admin.php. If not, see if it will let you access it via the old url: http://B2directory.website.org/admin.php.

If not... you may need to switch back to the old configuration; change the url in the backoffice first... then change the url in the _basic_config.php file.

It may be possible to do thru SQL, but I don't know if that setting is a "one table/one field" kind of thing or not.

5 Nov 07, 2010 22:56

Thank you BLC,

- I did have the trailing slash/
- I cannot login because i already had changed the "B2directory" from a subDOMAIN to a plain old folder.

SO... i cannot LOGIN because when i enter my login user/passwrod it tries to go to the old SUBDOMAIN. If i try to make it a subdomain again in C-Panel it will overwrite the existing "B2directory" which contains all the files.

Thanks tho -- take care

6 Nov 08, 2010 16:26

If it tries to go to the old sub domain then your baseurl is wrong

¥

7 Nov 08, 2010 17:52

thanks YABBA
-- but could you please tell me what is wrong about this?
$baseurl = 'http://omclinic.org/bewell/';

(please hover over the 404 link to see it still reads the subdomain URL)


Form is loading...