1 (edited by Syffer 2008-04-21 19:15)

Topic: Adress change error

Hi everyone!

I'm the newly-appointed webmaster for a friend's website, and they asked me to change the adress of their forum. Looking at the documentation here I thought that I had to change the value in the administration panel under "options" > "base URL" and change the o_base_url value in the punbb_config table in the database.

I did, but I think something went wrong, because the forum is not found when I reload in the new adress. I went back to the original setting, but could someone please help me change the forum adress?

2

Re: Adress change error

Delete the php files in the cache dir once you have updated the setting.

Re: Adress change error

Just modifying the value won't work, you have to move the files too.

4

Re: Adress change error

elbekko wrote:

Just modifying the value won't work, you have to move the files too.

That helps too. big_smile

5 (edited by Syffer 2008-04-21 22:26)

Re: Adress change error

Move them where? If I have to move the whole forum won't I have to reinstall everything?

The thing is, the adress is still in the same domain name:

I'm going from "forum.****.com" to "****.com/forum". Do I still have to move everything in that case?

Re: Adress change error

If your site is in http://example.com/forum/ and you want to move it to http://example.com, you need to move the files down one level. PunBB doesn't move itself, the base URL should be simply a reflection of where it is in the site.

Re: Adress change error

Ok so all I have to do is move it down into a subfolder called "forum", and refactor every link that calls a file in it?

Re: Adress change error

All the links are relative, all you need to do is move the files and change the base URL.

9 (edited by Syffer 2008-04-21 23:42)

Re: Adress change error

Ok cool, Thank you!