Jump to content

Copy shop to 2nd domain


Recommended Posts

Is it possible to 'copy' the webshop from one domain to another? So the configurations etc. will remain the same?

Has anyone ever tried this and if so, did it worked? If so, how? :) it didnt work for me yet..

I hope someone can help me with this..

Thanks in advance.

Link to comment
Share on other sites

alright it worked!

i also had to put in a new query for the login and pass for the admin..

but i backupped the original database and updated it into the new database.. some things where as i have them on another domain.. but many things are not.. not even the language

original how it should be: www.shopvanalles.nl/web
2nd domain for testing: www.get-media.nl/web

have you got an idea how to fix this so it will be identical?

Link to comment
Share on other sites

What is not identical? They look the same to me.

If the DB and files are copied over, the only thing to worry about is that file permissions, and the DB settings are correct.

A little checklist I keep after setting up a copy:

# disable friendly URLs on development system, Regenerate thumbnails, maybe change the theme is needed, switch paypal to sandbox mode
Back Office >> Preferences
Back Office >> Preferences >> Image >> Regenerate thumbnails
Back Office >> Preferences >> Apparence >> Teme >> Vl
Back Office >> Payment >> Paypal > Sand box mode

# Maybe change emails alerts:
Back Office >> Modules >> Mail alerts
Back Office >> Employees >> Contacts
Back Office >> Preferences >> Contact >> Shop Email

# Add TEST to the shop name if needed:
Back Office >> Preferences >> Contact >> Shop name


Check file permissions
cd /var/www/shop1 # assume we install in this dir
chown -R boran * . # assume we work as "boran", apache runs as group "www-data"
chgrp -R www-data .
chmod -R g+rx * .htaccess
chmod 755 .
chmod -R g+rwx img mails modules themes/prestashop/lang translations upload download
chmod g+w config upload download tools/smarty/compile/ sitemap.xml config/settings.inc.php
chmod -R a+rwx img # don't know why but regenerate would not work otherwise

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...