How did you get your subdomain to work?
Printable View
I am trying to setup a directory like this:
http://www.morrisgiftshop.biz/marchforbabies
here is my file of www.morrisgiftshop.biz_config.php:
<?php
$template_dir = "Cherry Zen 1.7";
define('SITE_NAME','morrisgiftshop');
define('HTTP_SERVER', 'http://www.morrisgiftshop.biz');
define('HTTPS_SERVER', 'https://www.morrisgiftshop.biz');
define('CATEGORIES_ROOT','0'); //root categories is 1 for this site
?>
What do I need to do to and make it work right.
a new issue has cropped up and I would like to be able to resolve it. If anyone has any ideas please let me know.
The issue is with the automatic insertion of the categories into the meta keywords and meta description on the home page. The wanted keywords are entered into
/includes/languages/english/customtemplate/meta_tags.php for the // Home Page Only: tags, but the categories still get inserted.
Are there admin settings I'm over looking to stop this? I looked.
My next thought is Apparently the multi-site mod affects the meta tags.
This is an unwanted feature. I haven't come across an easy way to uninstall the multi-site mod. The store is now being separated into separate carts with the original cart being left as the only 'multi-site' to avoid losing the rest of the work that has been done in there.
There is the file \includes\modules\meta_tags.php, installed as part of the multi-site mod with various settings in there.
Is there a way to turn off the automatic override of the metas so the categories don't show up in the homepage keywords meta and description meta?
ideasgirl you mentioned that you have a multi-site running with ssl with no problems.
are you running on apache and are you using some kind of multiple domain ssl or individual ssl's?
IM STUMPED.....
I DO NOT WANT SUBDOMAINS!!!!!
Is there any way for me to have a different url but same Host? I dont think im making any sense! lol I'm not even understanding myself.... but here is an example of what I'm after with using This module
:: EXAMPLE ::
site1: http://www.mysite.com/store1
site2: http://www.mysite.com/store2
site3: http://www.mysite.com/store3
site4: http://www.mysite.com/store4
and every time you go to one of those URLs it will take you to the predetermined store ...
any guidance is much appreciated! thanks!
I made a hack which allows subfolders to work with the multisite mod it is currently working on my site but i have made so many changes that maybe I have missed something.
Use at your own risk http://www.zen-cart.com/forum/showth...site+subdomain
and remember to backuo first
Roylen
How can I setup my subfolder as
http://marchforbabies.morrisgiftshop.biz
or
http://www.morrisgiftshop.biz/marchforbabies
in the config file?
Me personally...I would follow the link he posted in the message above (post# 1136). Then...I would download it and READ the instructions 2 or 3 times and the find the forum for this mod. Then I would read that forum starting with page 1. All of you answers are there. Please do not fill the forum up with asking questions that have been answered because you apparently did not read.
@all,
Hello,
running 1.3.8a (12112007)
The multisite module seems to be the one that will meet the needs of this client:
Briefly -
One online store with 3 basic areas:
A) Books which can be discounted to members at 10% and shipping costs calculated based on number of books.
B) Craft items which can be discounted to members at 20% and should be shipped based on price.
C) Food items which are again discounted to members at 15% and are shipped based on weight.
The members get a discount, non-members obviously don't. People should be able to have items from all three stores in the cart at one time.
First of all, do you think that multisite mod will take care of these needs? Next:
Searching for an answer about how to tackle this and came upon this module, and installed it, but is not working. Something in the config files is missing or I have misunderstood something very basic. Am not completely uninitiated at hacking base code, but am not a php whiz by any stretch of the imagination. I can follow directions, if they are clear.
The problem seems to be for me at least that there is very little help, or very difficult to find searching through the posts about the very basic setup of the subdomains/folders, etc.
The config_sites folder contains two example files, one named "2fastshoes.com_config.php" and another "www.example.com_config.php"
I am wondering, do we need 2 files for each domain, in the case we are accepting calls from both http://www.shop.mydomain.com and http://shop.mydomain.com (without www)? And, should both the files contain exactly the same thing?
Next question: exactly what needs to go in there for it to work at all? Unfortunately, I don't know exactly how to formulate my questions, because I don't know what I have done wrong.
I followed the directions as best I could, replaced all the to-replace files, added all the to-add files, put the extra line (include...) in the main config and added 3 new templates (apple_zen_A, apple_zen_B -changing all the folder names of course, so they don't overwrite each other etc.), then made 3 new domains in the control panel of the server called:
books.mydomain.com
food.mydomain.com
crafts.mydomain.com
(Added the order_site column to the db table etc. and did all the other steps, too.)
Then (and this is what is not covered anywhere I can find) put a 301 redirect (using .htaccess - apache mod_rewrite) in the root folder of the above sites, sending the domain calls to the zen app located at:
mydomain.com/folder/zenappfolder/
Now. I am assuming it has to work like this, but the multisite mod is not calling the new templates and there are no products showing in the categories, even though the html comments were added to all 165 cats/subcats descriptions. (maybe will try it with double -- instead of single - in the comment, but not sure why that should make any difference). Obviously, the app is not doing its job, so something has gone awry. What I am getting is the zen app in the base folder with the old standard template, but without any products showing up.
Have spent some hours searching this forum and not sure what to try next. I can't afford to sit and read all 114 pages at this point. If this works (if someone can help), will try to document this in an easy way that beginners might understand and post it here, so that people don't have to wonder, because as it is, the page at medea website does not seem to offer this basic pre-setup info, which is essential to some of us. Magnus Wester made an attempt (in 2007) at making a "this mod for dummies" help file, but even that did not answer these questions for me and have not seen since then if anyone has solved this in a simple way. Please point me straight if I have overlooked the obvious. Searching with keywords has not helped here.
I think I must be missing something basic about the config file. So, here is an example.
The above goes in two files, one called "www.books.mydomain.com_config.php" and one called "books.mydomain.com_config.php".Code:<?php
define('SITE_NAME','BOOKS');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "apple_zen_B";
define('HTTP_SERVER', 'http://www.mydomain.com');
define('HTTPS_SERVER', 'https://books.mydomain.com');
define('CATEGORIES_ROOT','1'); //root categories is 1 for this site
?>
Did the same for 2 more domains (food and crafts). Total of six config files in my sites_config folder. Have not yet tackled how to approach the shipping mods and discounts yet, that has to still be sorted out, once the basic setup works.
Very grateful if anyone has any help for us.
Thanks in advance
Gargi
Have since found out that the Zen app is not allowing a change of template AT ALL at this time. Have tried to change to the newly added and to other templates. No-go. So, am not sure what has gone wrong.
Next step, perhaps a new install of 1.3.7 (someone here said they got it to work) and updating that with multisite mod to see if it works any better... or? maybe trying 1.3.8.a again on a fresh folder.
G