Jump to content



Latest News: (loading..)

move website to other folder

move website

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#-19   koen1983

koen1983
  • Members
  • 4 posts

Posted 30 March 2012 - 02:46 PM

Hi,

i had a existing website and i added a folder on the ftp /new, i installed the new osCommerce webshop in this folder. Now when everything is installed and edited i want to move it from /new to just /

does anyone know how i do this best?

backup database, install al over again and overwrite some files ??

thank you

#-18   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,819 posts

Posted 30 March 2012 - 03:24 PM

@koen1983

Using your hosting account file manager, rename the folder.  Then, edit the two configure.php files and replace any instance of the word 'new' with the word 'just'.


That's it !


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#-17   MrPhil

MrPhil
  • Members
  • 4,194 posts

Posted 30 March 2012 - 04:13 PM

/ already exists, so you can't rename /new to /. Besides, you should keep your shop in its own subtree so you can later add other applications (blog, etc.) and a landing page. Just rename /new to /shop (and update configure.php files) and use URL rewriting to silently pass visitors to / to /shop (unless you already have or plan a landing page).

#-16   koen1983

koen1983
  • Members
  • 4 posts

Posted 03 April 2012 - 09:33 AM

ok thank you guys, i'm gonna try this now !