robbie269:
The only reason I thought it would be best would be to have the new site in say /shop_test/ and then it is easy to move it to the live store by simply changing the current live site directory to /shop_old/ and the new /shop_test/ to /shop/ (and changing the config files). No need to copy the new files to the root. Am I missing something? I currently have the redirect:
RewriteCond %{HTTP_HOST} ^MYDOMAIN.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.MYDOMAIN.com.au$
RewriteRule ^/?$ "http://www.MYDOMAINl.com.au/store/" [R=301,L]
> Is this bad? I just don't know....
How to approach this question...
I took a look at the various instruction available in the FAQs. I saw the guidance to which you were referring that identified that it is probably easiest to simply rename directories. Another method refers to placing the store in maintenance mmode and copying over the files associated with the new site and to delete those files that nno longer exist for that version of the store.
So there are in a sense two ways to look at things. An easy way to perform the upgrade and the way to operate the store.
Ideally though, the uri for the store would actually point directly to the sub-directory (again there is a potential that the the root directory of the host which would be one directory above the site would contain an htaccess file that could cause trouble for the site.). This methodi believe would require at least two uris, one that points to the host's public_html, the other that is used for the store that points to the sub-directory. By pointing meaning that when www .mystore .com is entered, the store shows with that address in the browser, no sub-directory included. This is different thn your current setup, which always shows "shop" as part of the path in the browser and at no time is it possible to host a site at the root of your host's file structure.
Generally speaking, the instructions available in the FAQ are written with the thought of providing a successful result for anyone that uses it. In the case of the instruction referenced, all server side actions are identified as an example, not necessarily something that must be done. On the same note, it's easy to run a store without adding any functionality vailable from the plugins section or template changes, and there are those that go that way. So is it "wrong"? I'd say that it can be a matter of opinion,mostly because I do not have any empirical data to suggest it is. I do see a lot of the others that provide support on this site as recommending that the store be in the root directory and thaat a redirect like above not be used.
So, may ask how I have done things? Unfortunately, the organization with which I work can be strongly polarized by emotion. We didn't even begin to consider a sales site until our base site had been online for almost a year. At that point, we were happy to get something up, so yes we did place our store in a sub-directory, because a lot of work had gone into the base site... Now that those emotions have died down, politically it is a good idea for us to transition our store site to be our base site. To keep the information available, we are working the base site information into our ZC site, and then the base site will be replaced with our store. It *is* a bit of a slow process/not wanting to shock our customers mostly because there is a lot of thought going into placement and redesign, but it certainly is worth the replacement. In the end our customers will be able to find the information that we provide as well as to be able to provide the donations that we need.