Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default root or subdirectory?

    On a website that only hosts zencart without other content, what's better, installing zencart in the root, or in a /store/ subdirectory?

    I currently have it in the root, but it's a pain to test an upgrade or mod and switch over to the new version when ready. I have to upload the new version twice - once to test, and once again in the root to go live. I have a lot of media files, so it takes hours, and doing it twice takes all day. The advantage I see with a subdirectory is ease of testing upgrades/mods and switching over very quickly by simply renaming the folders and swapping the configure.php files. It also would let me switch back to the old one quickly if something goes wrong.

    What are the disadvantages of having a subdir? A shorter URL length for user-friendly purposes doesn't seem to make sense, because the zc URLs to product pages are already so long that nobody is going to be trying to remember them and typing them out, and they already often get broken in emails due to the length.

    If I change it to /store/, I might do something to invisibly redirect the root to /store/ so that the URL remains shorter. Is there any disadvantage to doing that? Any special considerations given that my store is currently in the root and I don't want to lose traffic?
    Last edited by fakeDecoy; 24 Apr 2011 at 06:42 PM.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 4 Sep 2014, 01:55 PM
  2. v153 Root or subdirectory?
    By robbie269 in forum Basic Configuration
    Replies: 27
    Last Post: 17 Aug 2014, 12:16 AM
  3. subdirectory to root
    By stitchnkitty in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 31 Dec 2009, 07:13 PM
  4. Replies: 1
    Last Post: 10 Jun 2007, 09:20 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