Page 1 of 1

Publishing a new store from temporary address to definitive

Posted: Tue Jul 05, 2016 3:02 am
by angelorigo
Hi

I am about to publish my first Opencart 2.2.0 store.

Today the URL is a temporary URL, so what are the steps to publish from temporary to the definitive ?

Do i first edit config.php (from root and admin dirs ) HTTP_SERVER and HTTP_CATALOG constants , wich points to the temporary URL, replacing this information with the definitive URL?

And them them i edit the DNS information to point to the new URL ?

I ask this in order to minimize the time the website is unpublished.

Thank you in advance

Re: Publishing a new store from temporary address to definit

Posted: Tue Jul 05, 2016 9:07 am
by IP_CAM
that with the both config.php files is ok, but also check on the
// DIR Constants, i.E.:

Code: Select all

define('DIR_APPLICATION', '/home/jacob/www/bigmax/shop/catalog/');
and just don't forget to, eventually,
re-link the Rewrite Engine path in the .htaccess file as well, i.E.:

Code: Select all

# SEO URL Settings
RewriteEngine On
RewriteBase /shop/
Everything else should be done by help of your Hoster, I guess. ;)
Ernie