Post by marekslahor » Thu Jul 30, 2015 5:37 pm

Hi folks,

I've searched forums but didn't find answers :(

Is there an easy way how to move OC 2.0.3.1 installation from root to subfolder? ???

Thanks a million,
Marek

Newbie

Posts

Joined
Thu Jul 30, 2015 5:34 pm

Post by IP_CAM » Sat Aug 01, 2015 3:08 am

1. Create your newshopsub Subfolder

2. Move entire SHOP CONTENT, including ALL ROOT FIles, like index.php, config.php, .htaccess, etc.,
into this Sub.

3. Download

Code: Select all

/newshopsub/config.php
/newshopsub/admin/config.php
/newshopsub/.htaccess
4. rework in your .htaccess file:

Code: Select all

RewriteBase / 
TO:
RewriteBase /newshopsub/
5. rework your BOTH config.php files:
REWRITE your Both Config.php files, COMPLETELY, every Line, following the below Shop ROOT
Few-Liner Sample, the Admin config.php looks similar, but not exactly the same!!! (Sample is OC v.1.5.6.5!)

Code: Select all

FROM:
define('HTTP_SERVER', 'http://www.bigmax.ch/');
define('HTTP_IMAGE', 'http://www.bigmax.ch/image/');
define('HTTP_ADMIN', 'http://www.bigmax.ch/admin/');
define('DIR_APPLICATION', '/home/jacobch/www/bigmax/catalog/');
define('DIR_SYSTEM', '/home/jacobch/www/bigmax/system/');
TO:
define('HTTP_SERVER', 'http://www.bigmax.ch/newshopsub/');
define('HTTP_IMAGE', 'http://www.bigmax.ch/newshopsub/image/');
define('HTTP_ADMIN', 'http://www.bigmax.ch/newshopsub/admin/');
define('DIR_APPLICATION', '/home/jacobch/www/bigmax/newshopsub/catalog/');
define('DIR_SYSTEM', '/home/jacobch/www/bigmax/newshopsub/system/');
and upload 'em again, into their correct place.

6. RE-INSTALL/INITIALIZE, what needs to, like the VqMod Setup Routine, and possibly others,
again, FIRST!

7. And, if you have not placed any hard-coded Links, anywhere in the Software, aditionally,
for what reason ever, it should work.

8. Good Luck ;)
Ernie
hitline.info/shop

I am no longer active at this Forum.
Please don't send Personal Messages, contact: jti@jacob.ch
---
Github OC Downloads: https://github.com/IP-CAM
2'000+ FREE OC Extensions from the World's largest Github OC Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by marekslahor » Thu Jun 09, 2016 3:51 pm

WoW, now that's what I call VERY satisfactory reply. Excellent description of every step. THANKS A MILLION!! :P

Newbie

Posts

Joined
Thu Jul 30, 2015 5:34 pm
Who is online

Users browsing this forum: No registered users and 16 guests