Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1
    Join Date
    Apr 2007
    Location
    UK
    Posts
    95
    Plugin Contributions
    0

    Default Domain name question

    Currently to get to my store I need to add /shop to the end of my domain name.
    However I would like it so that via my domain nam only, I can access the store.
    In other words I want my store front to be the home page.
    How do I do that?

    Thanks in advance

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

    Default Re: Domain name question

    Flex, in order to do this, you need to move all the contents from the folder "shop" into the main directory, "www", "pub", "public", whichever it may be. you will, then, need to edit the admin/includes/configure.php and includes/configure.php to reflect this change. eg; remove the "shop" from the path, in both of these files.

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

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

    Default Re: Domain name question

    OK, there seems to be a lot of places where it says shop in the configure file.Do you know exactly which part I have to delete the word 'shop' from?

    Thanks!

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

    Default Re: Domain name question

    Oh, yea. All of them. As your site will no longer be in that folder, ANY reference to that particular folder will result in an error being shown, instead of your site.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

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

    Default Re: Domain name question

    Edit: except for this one, unless you want to change your database.

    define('DB_DATABASE', 'shop');

    It may say something else, depending on what you named your database, but you DON'T want to change this entry on either file. The rest you can change.
    Sorry. Forgot about that one.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Apr 2007
    Location
    Whitehouse, Texas
    Posts
    131
    Plugin Contributions
    0

    Default Re: Domain name question

    Well there is an easier way, you can do a permanent redirect on the default index page.

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

    Default Re: Domain name question

    Yea, you could, but.............that's kinda cheesy, ain't it? Using a redirection script scares some people off, as they don't trust a place that redirects their traffic, plus you're adding another 5-6 seconds load time, when the general population won't wait that long. By the time it gets redirected, the shop loads up.....they're gone!
    Now, that my just be my opinion, but I don't think so. I think you'll find a lot of people, in and out, of this forum, that agrees with me on this issue.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Domain name question

    ... and unless you do a bunch of URL rewriting you still see the subdirectory in the browser address bar when you do a redirect.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Re: Domain name question

    I agree that the re-direct is kind of cheesy but if you use PHP as opposed to a meta-refresh the change seems almost transparent, and it doesn't add the 5-6 seconds either. Well, at least not as far as I can tell.

    <?php
    header ('Location: /store');
    ?>

    Is what I have used in the past.
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

  10. #10
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Re: Domain name question

    Quote Originally Posted by flex22 View Post
    OK, there seems to be a lot of places where it says shop in the configure file.Do you know exactly which part I have to delete the word 'shop' from?

    Thanks!
    If you go this route using the 'Find and Replace' might make your life easier.
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

 

 
Page 1 of 4 123 ... 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