Yes yes, I know about opencart multisite, but I wanted a completely separate database for seamless synchronization with my accounting package.
Now almost all of the guides on the net tell you about editing config.php and /admin/config.php, and this is quite right, particularly for moving your opencart store to another directory or to another domain/website. But what isnt mentioned online, is this:
YOU NEED TO CHANGE THE DIRECTORY IN YOUR .htaccess file!!!!
To do this, simply go to your new store directory, and grab the .htaccess file, and make sure the following line is there:
RewriteBase /yourNewDirectory/store
Please note that there is no trailing / and there is one right before yourNewDirectory
Also note that this guide will help with sorting out the problem where all links on your new store website resolve to the new opencart store, and not point to the old one.
If you require any assistance, don’t hesitate to comment or ask a question and I’ll get back to you.
Cheerio!