Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40
  1. #11
    Join Date
    Apr 2007
    Location
    Whitehouse, Texas
    Posts
    131
    Plugin Contributions
    0

    Default Re: Domain name question

    Actually it isn't cheesy at all. I use an index.php page instead of a index.html page:

    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.got-its.com/zencart/" );
    ?>
    <HTML>
    <HEAD>
    <TITLE>Your Title</TITLE>
    </HEAD>
    <BODY>
    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.got-its.com/zencart/" );
    ?>

    Google loves it as I use their HTML method of verification and I didnt have to move my file structure around or alter my config files.

    The only difference the consumer sees is the addition of a subdirectory on their address bar.

    Of course having your store in your root folder is ideal but those of us that already have a crapload of stuff there for other things it is not always feasible, that and the fact that I try not to alter the config files if I dont have to.

  2. #12
    Join Date
    Apr 2007
    Location
    UK
    Posts
    95
    Plugin Contributions
    0

    Default Re: Domain name question

    ok so what would I put in this part to replace shop:

    define('DIR_WS_ADMIN', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    I can delete shop from some areas and just eave admin, but what about the places where it only says 'shop'? ie: after CATALOG.

    Thanks!

  3. #13
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Re: Domain name question

    Quote Originally Posted by flex22 View Post
    ok so what would I put in this part to replace shop:

    define('DIR_WS_ADMIN', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    I can delete shop from some areas and just eave admin, but what about the places where it only says 'shop'? ie: after CATALOG.

    Thanks!
    If I'm understanding you correctly . . . you would change

    define('DIR_WS_ADMIN', '/shop/admin/');

    to

    define('DIR_WS_ADMIN', '/admin/');

    Make sense?
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

  4. #14
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Domain name question

    That's exactly right. You don't need to replace "shop".......just get rid of it.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #15
    Join Date
    Apr 2007
    Location
    UK
    Posts
    95
    Plugin Contributions
    0

    Default Re: Domain name question

    I need to be sure before I f%$£ anything else up.Zen cart seems like a harder slog than I had envisioned so far.Who knows, maybe it'll get lighter

  6. #16
    Join Date
    Apr 2007
    Location
    UK
    Posts
    95
    Plugin Contributions
    0

    Default Re: Domain name question

    So where it says:

    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    Just get rid of 'shop' and leave nothing then???

  7. #17
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Domain name question

    No, you delete either /shop or shop/, leaving you in this case with just /.

  8. #18
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Domain name question

    Correct. That way, it just points to the "root" of your host site, and not to "shop". which after the move, won't exist.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  9. #19
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Domain name question

    Yes, gj is right (as usual).....you've got to have the "/" there. I was just confirming the deletion of the word "shop". I should have been more clear on that.....sorry.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #20
    Join Date
    Apr 2007
    Location
    UK
    Posts
    95
    Plugin Contributions
    0

    Default Re: Domain name question

    Thanks for clearing that up guys.I'll get onto it and report back.

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 9
    Last Post: 3 Jun 2009, 03:21 PM
  2. change of name and domain question
    By kitcorsa in forum General Questions
    Replies: 5
    Last Post: 1 Sep 2008, 12:59 PM
  3. Setting Up Local Domain Name - quick question
    By crystal-vysion in forum Installing on a Windows Server
    Replies: 5
    Last Post: 26 Mar 2007, 11:17 AM
  4. Transfer Site to new domain, and changeing domain name
    By dng in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Mar 2007, 12:28 AM

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