Re: Moving ZENCART folder
You'll need to use your FTP software to move the files up a level to the public_html (or whatever the webspace foldername is ... htdocs, httpdocs, public_html, etc) folder.
Then you do the file edits as mentioned in the FAQ you quoted or the Wiki docs:
http://www.zen-cart.com/wiki/index.p...Change_Folders
http://www.zen-cart.com/wiki/index.p...Switch_Servers
Re: Moving ZENCART folder
Doc,
when editing the files, what do I replace catalog with?
for example, for: DIR_WS_CATALOG', '/catalog/' ... what do I put in considering i want the cart on the main page of the website>?
Re: Moving ZENCART folder
Quote:
DIR_WS_CATALOG', '/catalog/'
becomes
DIR_WS_CATALOG', '/'
Vger
Re: Moving ZENCART folder
TurtleDove,
Another option you can do that will have the same effect would be creating a Apache redirect.
Example:
"RedirectMatch permanent ^/$ http://yourdomain.com/catalog/index.php"
You can put this in the bottom on your .htaccess file without the quotes. Basically what this commands says is that when someone enters your domain name in their web broswer they will be redirected to zencart's index.php file.
Re: Moving ZENCART folder
If you do that and the site gets busy then you may hit the maximum number of redirects allowed on that server and have the site fall over because of it.
Moving to the root is the best option.
Vger
Quote:
Originally Posted by jfully
TurtleDove,
Another option you can do that will have the same effect would be creating a Apache redirect.
Example:
"RedirectMatch permanent ^/$ http://yourdomain.com/catalog/index.php"
You can put this in the bottom on your .htaccess file without the quotes. Basically what this commands says is that when someone enters your domain name in their web broswer they will be redirected to zencart's index.php file.
Re: Moving ZENCART folder
That is a good point Vger, moving zencart to the root is definitely the best way to go.
Re: Moving ZENCART folder
The other thing that can be done is to create a nice landing page in html.
Call it index.html and place it in your root directory.
When you click it it takes you to tyour index.php in the subfolder.
LIKE THIS
:wink2:
Re: Moving ZENCART folder
That has to be one of the worst pieces of advice you could follow.
When you run an e-commerce website, the objective of which is to sell, you place as few pages as possible between the customer and checkout confirmation as possible. "Splash" pages like that just add one more page that the customer has to go through. If they click to go to your site then it's your site they want to go to and not a Splash page.
Putting an index.html page as the landing page on a dynamic php based site also pretty much stops search engine spidering in its tracks. That, plus the fact that this page is an "Untitled Document" and with no Meta Tags probably explains why both the Splash page and website have no Google Page Ranking at all. And as Google updated their page rankings just 3 days ago then unless this site is under 3 days old it means that Google doesn't think much of the Splash page or website.
Vger
Quote:
Originally Posted by
blind1
The other thing that can be done is to create a nice landing page in html.
Call it index.html and place it in your root directory.
When you click it it takes you to tyour index.php in the subfolder.
LIKE THIS
:wink2:
Re: Moving ZENCART folder
Well we will be changing that option then :yuck:
Yes the page is one day old and put there as a temporary fix until the cart is moved.
Thanks for the advice:yes: