Advertisement:

Author Topic: Hello Please i like to know how i can migrate my site to new folder  (Read 520 times)

aacilconcepts

  • Newbie
  • *
  • Posts: 8
Hello. i have a functioning osclass website. However, i need to migrate the entire site to a new folder i.e (OLD FOLDER) www.website.com, (NEW PROPOSED FOLDER) www.website.com/classified
Please can i get the steps i need to take to successfully migrate my website from one folder to a new folder?
Thanks a lot.
« Last Edit: January 12, 2018, 04:35:35 am by aacilconcepts »

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #1 on: January 12, 2018, 10:15:30 am »
In config.php change this
Code: [Select]
define('REL_WEB_URL', '/classified/');

define('WEB_PATH', 'http://www.website.com/classified/');

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #2 on: January 12, 2018, 06:23:34 pm »
First You also need to move ; /oc-admin/ >  /oc-includes/ and / oc-content/  folders and of course you need change config.PHP as calinbehtuk@ adviced

Aficionado

  • Guest
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #3 on: January 12, 2018, 06:26:18 pm »
First You also need to move ; /oc-admin/ >  /oc-includes/ and / oc-content/  folders


What do you mean ?

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #4 on: January 12, 2018, 07:33:08 pm »
Unless move those files from www.mysite.com to www.mysite.com/classfied folder, will only changing config.php file as calinbehtuk adviced  OK?

I mentioned that osclass files also need to move into mentioned folder I suppose...Only changing config.php infos will not run....

İs it not correct?

aacilconcepts

  • Newbie
  • *
  • Posts: 8
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #5 on: January 13, 2018, 02:13:59 am »
Thank you very much guys. i am going to try this out.
Thanks alot

Aficionado

  • Guest
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #6 on: January 13, 2018, 02:18:08 am »
Unless move those files from www.mysite.com to www.mysite.com/classfied folder, will only changing config.php file as calinbehtuk adviced  OK?

I mentioned that osclass files also need to move into mentioned folder I suppose...Only changing config.php infos will not run....

İs it not correct?

Only what calinbehtuk posted is needed.


mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #7 on: January 13, 2018, 03:57:13 pm »
I see, than no need to move Osclass folders given below;

/oc-admin/
/oc-includes/
/oc-content/

Thank you for making clear

Aficionado

  • Guest
Re: Hello Please i like to know how i can migrate my site to new folder
« Reply #8 on: January 13, 2018, 04:07:59 pm »
@mrtsoftware

What a waste of internet space and time. Move what to where ?

The Question was crystal clear. And the Answer also. Please do not confuse new people here.