PDA

View Full Version : changed of forum location


delds
10-03-2015, 09:41 PM
vb 5.1.9

I am moving the forums to a new location, same serever so database is not being moved

going from

www.ez-forums.com

to

www.selfhelpwithmore.com/ez-forums/

There should be no re-install / upgrade routine required, just a re-upload of files to new location

Now my questions are...

.htaccess file

since there is already one in the root directory of site, can a 2nd one be in the ez-forums directory as vb5 has one, anything need to be modified in it.

what else needs to be changed / updated?

Lynne
10-04-2015, 02:41 PM
Since your files will be in the /ez-forums directory, you will need to change this line in your .htaccess file:

#RewriteBase /

to this line:

RewriteBase /ez-forums/

Also, make sure you change the URL in AdminCP > Settings > Options > Site Name/URL/etc BEFORE making the database backup that you will be using at the new URL.

delds
10-04-2015, 06:03 PM
Thank you, it is the same server so the config should be the same. The database does not move. but will change the settings before. I will leave the vb5 ,htaccess in the ez-forums directory with the change edit you indicated,

--------------- Added 1444020845 at 1444020845 ---------------

did what you said and did the transition. One issue is the site logo does not show and I cannot change it, tried to upload new logo, and it still does not appear

--------------- Added 1444021569 at 1444021569 ---------------

also after logging in and then clicking on a forum I am no longer logged in

--------------- Added 1444022320 at 1444022320 ---------------

The logging in issue may be a catching directive issue in the .htaccess file on the root, still checking, but still have the issue with the site logo

--------------- Added 1444024785 at 1444024785 ---------------

got around the logo issue by editing the title image path in the Style Variable Editor

Lynne
10-05-2015, 06:40 PM
Check AdminCP > Settings > Options > Cookie Settings - what is set for the Cookie Domain? If you allow users to login to your site via both http://www.yoursite.com and just http://yoursite.com, then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems.