Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010
    Posts
    196
    Plugin Contributions
    0

    red flag domain name: shop.com vs www.shop.com

    Hi guys,

    I am finally going online next week and have one question reagrding shop.com and www.shop.com. As I understand, both will direct ot the same page,but when I will buy SSL Certificate, I want to buy just for 1 domain name,so what to do in this case? Is domain name with www more common to use for this purpose? Or what would u advice me to do?

    TIA

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: domain name: shop.com vs www.shop.com

    What I did was buy my SSL certificate for www.shop.com and then modify/create the file named .htaccess in the root directory of my shop to transform any accesses made by just shop.com into www.shop.com.

    Code:
    #-------
    RewriteEngine On
    
    #
    # Add the www if it's not present
    #
    #RewriteCond %{HTTP_HOST} !^www\.shop\.com$ [NC]
    #RewriteRule ^(.*)$ http://www.shop.com/$1 [L,R=301]
    Remember to update your /includes/configure.php and youradmin/includes/configure.php to identify your shop as the www.shop.com form for your Zen-Cart to use:

    Code:
      define('HTTP_SERVER', 'http://www.shop.com');
      define('HTTPS_SERVER', 'https://www.shop.com');

  3. #3
    Join Date
    Mar 2010
    Posts
    196
    Plugin Contributions
    0

    Default Re: domain name: shop.com vs www.shop.com

    thanks for sharing it with me, lat9...Does it work like redirect?

    I have just looke at SSL Cert provider and they say:

    Automatically Secures WWW & Your Root Domain
    All QuickSSLŽ Basic SSL Certificates include the fully qualified domain name listed in the Common Name (CN) field in the Subject Alternative Name (SAN) fields as well as the root domain. The root domain will be included when the CN is for www.domain.com or *.domain.com and the fully qualified domain name consists of three levels.
    For example, if we receive an order for www.domain.com, both www.domain.com and mydomain.com will be included as values in the SAN fields.

    I guess it meand that both would be covered by SSL?

    But still it seems like if I do not do redirect from shop.com to www.shop.com then it will be totally different sites?

 

 

Similar Threads

  1. Changing from domain.com/shop to domain.com
    By imagecrafting in forum General Questions
    Replies: 3
    Last Post: 25 Aug 2013, 10:11 AM
  2. Replies: 3
    Last Post: 11 Dec 2010, 08:58 AM
  3. Replies: 7
    Last Post: 8 Dec 2010, 12:53 PM
  4. My Domain Name has .com./shop
    By trisha1581 in forum General Questions
    Replies: 2
    Last Post: 1 Feb 2010, 01:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR