Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Change Site Address Rate Topic   - - - - -

 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 37 posts

Posted 27 October 2017 - 02:39 PM #1

How do I get the beta site I created on the subdomain to the name of the main domain?

 

site is here

www.xxxx.com/betasite

 

I want you to be here.

www.xxxx.com

 

where do I need to change



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 418 posts

Posted 27 October 2017 - 04:42 PM #2

How do I get the beta site I created on the subdomain to the name of the main domain?

 

site is here

www.xxxx.com/betasite

 

I want you to be here.

www.xxxx.com

 

where do I need to change

 

1. move all files from the subfolder 'betasite' to the root: '/'

2. edit the lines 67-72 in your 'config.local.php' file like this:

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.xxxx.com';
$config['http_path'] = '';
// Host and directory where software is installed on secure server
$config['https_host'] = 'www.xxxx.com';
$config['https_path'] = '';

CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 9,994 posts

Posted 27 October 2017 - 05:01 PM #3

Or if you want to preserve your current root site:

1) Move (or copy) your betasite directory to a folder at the same level as your public_html (Ie.. public_html2).

2) Move public_html to old_site

3) Move public_html2 to public_html

4) Have hosting set/verify ownerships/permissions of this directory if needed

5) Change the config.local.php as described above in #2

 

Note on #4.  Most hostings use suPHP as the PHP method within Apache.  If so, then the document root (public_html) needs to be owned by your cpanel user and have group 'nobody' and the permissions should be 750.  But this varies by hosting.  Check with them BEFORE you make any changes.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 30 October 2017 - 05:43 AM #4

Do not forget to change store-front URLs on the Administration -> Stores page


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 37 posts

Posted 06 November 2017 - 02:57 PM #5

 

1. move all files from the subfolder 'betasite' to the root: '/'

2. edit the lines 67-72 in your 'config.local.php' file like this:

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.xxxx.com';
$config['http_path'] = '';
// Host and directory where software is installed on secure server
$config['https_host'] = 'www.xxxx.com';
$config['https_path'] = '';

 

xxx.com/admin.php

ERR_TOO_MANY_REDIRECTS:

 

Am I getting an error?



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 418 posts

Posted 06 November 2017 - 03:14 PM #6

xxx.com/admin.php

ERR_TOO_MANY_REDIRECTS:

 

Am I getting an error?

 

Yes, it is an error. It seems that the settings in 'config.local.php', '.htaccess' file or in your CS-Cart administrator site settings are wrong. It's hard to say what it is without to check your configuration settings.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 37 posts

Posted 06 November 2017 - 03:31 PM #7

Yes, it is an error. It seems that the settings in 'config.local.php', '.htaccess' file or in your CS-Cart administrator site settings are wrong. It's hard to say what it is without to check your configuration settings.

seems to be working. I guess I need to wait a bit.

 

but does not see SSL in the pay section?



 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 37 posts

Posted 06 November 2017 - 03:33 PM #8

https://www.beyaznev...om/en/checkout/

 

I have ssl but do not see cs-cart?



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 418 posts

Posted 06 November 2017 - 05:47 PM #9

https://www.beyaznev...om/en/checkout/

 

I have ssl but do not see cs-cart?

 

What do you mean with "not see cs-cart"? The ssl seems to work properly.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 37 posts

Posted 07 November 2017 - 07:08 AM #10

What do you mean with "not see cs-cart"? The ssl seems to work properly.

on my site:

Is not the ssl icon green?

mQcUWy.jpg

 

must be:

hpthT7.jpg



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 418 posts

Posted 07 November 2017 - 08:44 AM #11

on my site:

Is not the ssl icon green?

mQcUWy.jpg

 

must be:

hpthT7.jpg

 

Here it seems to be ok

 

Clipboard01.jpg


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 9,994 posts

Posted 07 November 2017 - 08:15 PM #12

Your SSL certificate has nothing to do with CS-cart.  Suggest you contact your hosting to resolve any issues if you can't figure it out from clicking the lock-symbol and reviewing the certificate.  Note that it could be a difference between what you've configured your ssl to recognize and what you're told cs-cart to use for https_host in config.local.php.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.