Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Already installed in root/zencart/ folder but want to view/access from root folder

    Hi,

    I have installed in /zencart/ folder and it works fine if you go
    http://www.mysite.com.au/zencart


    but I want public to see it from http://www.mysite.com.au/ leaving installation in the same existing folder /zencart

    How?.. can you please explain commands (change htaccess file) or file changes in detail . Which method would be better in regards to SEO

    Thanks
    Downunder QLD

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Quote Originally Posted by oavs View Post
    Hi,

    I have installed in /zencart/ folder and it works fine if you go
    http://www.mysite.com.au/zencart


    but I want public to see it from http://www.mysite.com.au/ leaving installation in the same existing folder /zencart

    How?.. can you please explain commands (change htaccess file) or file changes in detail . Which method would be better in regards to SEO

    Thanks
    Change is made in cPanel. Expectation is that it is part of the domain name section, either a parked domain or something similar to assign your domainname to the subdirectory under your public_html directory.

    Don't forget to change just the applicable information in the two configure.php files.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Isn't possible to make changes to the index.php file and then move it to the http://www.mysite.com.au/index.php ?

    So that http://www.mysite.com.au/index.php will show what is stored in http://www.mysite.com.au/zencart / folder and show the site as normal?

    I just need help here what should I be doing? I don't want just a redirect index.php ( http://www.mysite.com.au/index.php ? ) to http://www.mysite.com.au/zencart /

    I want zencart index file in http://www.mysite.com.au/index.php to load http://www.mysite.com.au/zencart /

    I am not sure that I am clear.

    In a nutshell I want zencart in a folder called 'zencart' on my host account.
    Downunder QLD

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Quote Originally Posted by oavs View Post
    Isn't possible to make changes to the index.php file and then move it to the http://www.mysite.com.au/index.php ?

    So that http://www.mysite.com.au/index.php will show what is stored in http://www.mysite.com.au/zencart / folder and show the site as normal?

    I just need help here what should I be doing? I don't want just a redirect index.php ( http://www.mysite.com.au/index.php ? ) to http://www.mysite.com.au/zencart /

    I want zencart index file in http://www.mysite.com.au/index.php to load http://www.mysite.com.au/zencart /

    I am not sure that I am clear.

    In a nutshell I want zencart in a folder called 'zencart' on my host account.
    Do you have any intention of having a website displayed if some goes to: www.mysite.com.au where the address bar shows www.mysite.com.au ? If yes, is it expected that the content presented is ZC?
    Or are you saying that no matter what is entered the url that the user will see always displays to the guest with the folder zencart?

    Okay, how about this: What is the reason that zencart must be in a folder? And explain the importance of the customer or site guest knowing that it is installed in a folder.
    .
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    See. I'm rereading the original post and what has been suggested already fits the solution. Ifnot mistaken, from your side you want to always have a zencart in a folder, but from the customer's side there is no importance to where it is stored as long as it is possible to get to the ZC site. So enter domain name control in the cpanel. Thisisnt a index.php redirect thing, this is the host identifying from where on their fileserver the site www.mysite.com.au is loaded. Customer types www.mysite.com.au, server says: hey I know where that is. It is located on the server that has this zencart directory. And voila the site appears using and showing the address of www.mysite.com.au and yet the site is stored in a sub-directory.

    Even with the above "discussion" my questions in the previous post still remain to be answered.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,874
    Plugin Contributions
    96

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Like mc12345678's previous post, the easiest (and least intrusive) method is to use your host's cPanel to point your site's root to the /zencart folder. Just make sure to update your /includes/configure.php to change the DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG to / instead of /zencart/ and you should be good-to-go.

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Also, it's always useful if you provide some sort of explanation as to why you want to do this kind of non-standard thing. I can't think of a rational reason to have Zencart in a subdirectory but point the main URL to the installation there without using a redirect.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Quote Originally Posted by stevesh View Post
    Also, it's always useful if you provide some sort of explanation as to why you want to do this kind of non-standard thing. I can't think of a rational reason to have Zencart in a subdirectory but point the main URL to the installation there without using a redirect.
    This has been discussed before as a way to over simplify upgrading (pointing the uri to a subdirectory instead of to the root of the possible location. The question as to why the OP is wanting this action is to see if there is some alternate reason identified such as a concern that previous links or rankings may be affected, etc... If this is a brand new site where those things haven't been established, then no further action is required. If they have been established then the suggestion would be to offer redirects from the old path to this new one, but carry on as has been described above. Of course if there is somme other reason, it would be suggested to discuss it.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Quote Originally Posted by mc12345678 View Post
    This has been discussed before as a way to over simplify upgrading (pointing the uri to a subdirectory instead of to the root of the possible location. The question as to why the OP is wanting this action is to see if there is some alternate reason identified such as a concern that previous links or rankings may be affected, etc... If this is a brand new site where those things haven't been established, then no further action is required. If they have been established then the suggestion would be to offer redirects from the old path to this new one, but carry on as has been described above. Of course if there is somme other reason, it would be suggested to discuss it.
    Yup, I remember that discussion, but don't remember being much impressed by the argument.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Already installed in root/zencart/ folder but want to view/access from root fol

    Quote Originally Posted by stevesh View Post
    Yup, I remember that discussion, but don't remember being much impressed by the argument.
    Can respect that response. It is a little of a different way to handle things, but does seem tomake sense and still fit I think all of the various installation instructions withouthaving to pick and choose. Atleast if one looks past any mention of files "typically" being installed in the public_html directory. (Still true, but down one layer)

    Not entirely sure of the down side to mapping the uri to the subdirectory as long as one doesn't go crazy with other random settings that could cause some sort of negative effect. But, would still begood to hear back about the above requests. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Download folder in Web Root - preventing direct access to files
    By nigelt74 in forum Basic Configuration
    Replies: 3
    Last Post: 4 Apr 2015, 10:56 AM
  2. v150 Move from folder to root
    By bluefish1960 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Feb 2012, 12:24 PM
  3. Replies: 3
    Last Post: 13 Dec 2010, 05:28 PM
  4. Problem moving folder from sub-root to root
    By andycowboy in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Jul 2009, 02:15 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