News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Double URL error

Started by Firefhtr9, July 28, 2014, 07:10:05 PM

Previous topic - Next topic

Firefhtr9

Hello,
    I created a second store on a subdomain and according to my host company, it seems to be directing to the URL twice for some reason. The host company said that something needs to be changed within the Abonte AbanteCart admin area, but he didn't know what. I have the store directed to the subdomain only once, so I'm not sure how to fix it.

Here is what my host company said...
"Interesting, it looks like everything's now linking tohttp://dealerstore.elementarmor.com/dealerstore.elementarmor.com (the subdomain listed twice). It may be necessary to change another setting in AbanteCart. The assets are accessible when the second instance of the subdomain in the URL is omitted."

Do you have any idea how to fix it? If you go to the site (dealerstore.elementarmor.com), you will see that the material is present, but all buggy. Thanks for your help and I hope to hear from you soon.

-Scott

llegrand

When you say created a second store on a subdomain did you intend to do this as a multistore or a completely separate store?

If as a multistore -  did you upload abantecarte files to the second domain?  This is not the correct process for multistore.

Please provide more details of what you are trying to do, multistore or a completely standalone second store. And what you have done so far in your second store setup.




Firefhtr9

Thanks for such quick responses. It is intended to be a multistore. I sell car care products and I wanted to make a store for my dealers/distributors to order directly from.
I haven't done too much with it yet. I created the subdomain and then created the second store from within the first store's admin area. Under the new store's "Store URL", I put the subdomain followed by the / as required. I did not install the software to the subdomain. I can access and add products to the subdomain store and all of that is working fine. It just isn't loading the second store correctly (no images, just kind of buggy looking). My web host company said that it has the Store URL twice for some reason. I've triple checked the settings from the admin area and I don't see what the problem is.

llegrand

First - in your subdomain have you directed your document root to the main store?  Here's what I am talking about
e.g  mysite.com/store   set up a subdomain called stuff - you MUST set the document root of the subdomain to be mysite.com/store.

So in Cpanel under subdomains you would see
subdomain.Rootdomain      Document Root
stuff.mysite.com                  mysite.com/store

Next - as I understand your intent it is for dealers/ distributors to order from you as a different pricing point -  did you consider using the wholesale function of the cart?  It might be easier to administer - it would depend on how
you offer merchandise to them -

The cart comes configured with a wholesale customer group

Lee


flyn

If the subdomain is only a subfolder than in the admin you would put that folder name after /

e.g. /carcare

Take also into account though that you need to modify the .htaccess file also. If you dont do it in both places you will have problems.

Forum Rules Code of conduct
AbanteCart.com 2010 -