Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    help question How to setup store to run from a directory other than public_html?

    What I am asking is how do you setup a store to run from a directory other than /public_html/ AND without the directory name showing in the store domain.

    Thank you!

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

    Default Re: How to setup store to run from a directory other than public_html?

    You would need to load the store in the sub-directory and do a 301 redirect to point the URL to the sub-directory.

    Additionally, make sure the SSL and 301 only go to one location (either www. or non-www.). That prevents duplication.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: How to setup store to run from a directory other than public_html?

    I haven't exactly tried to follow the path of information, but I know that my host allows sub-domains to be identified and even in identifying the primary domain path location to pick where in the file structure a domain points so for example my primary domain may point to /usr/info/public_html/primary/hereissite/
    And a sub-domain may point to:
    /usr/info/public_html/secondary/hereissite/

    Such that I have some additional "space" to work with below public_html and above the site's location. Customers do not see that folder structure and yet the store is loaded into a folder deeper than public_html.

    Some hosts though will not allow that type of load structure if there is only one domain associated with the account. That requires a second domain to be associated and then that second domain becomes affected by settings made to manage the first domain because of the load sequence of files such as the .htaccess files.

    It may be best to talk to your host about how to accomplish the desired action on their system.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. How can i hide my store order From Other admin..
    By jennydutch in forum Customization from the Admin
    Replies: 7
    Last Post: 18 Apr 2014, 11:07 AM
  2. Display EZ-Pages from a page other than index.php?
    By alin in forum General Questions
    Replies: 5
    Last Post: 8 Sep 2011, 04:30 AM
  3. Replies: 6
    Last Post: 3 Apr 2009, 01:20 PM
  4. Suggestions on how store owner can run promotions?
    By artcoder in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Dec 2007, 05:20 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