eCommerce construction > Installation and Configuration

another try on multistore setup

(1/5) > >>

llegrand:
I am trying the multistore setup again-  I have re-read all the post I can find,  all the documentation on it.  And tried my very best to follow the directions, at least as I understand them.   I did not have success this time either.

Here in detail is what I have done today.

 Shop.mydomain.net   is the master (default) store
Demo. mydomain.net  (multistore#1) 
This is found – DNS is established Store Status set to ON
Store Name – Demo Store
Name Alias – left blank
Store URL  http://demo. mydomain.net/
Copy settings – used default selection . Got a Success message.
In cPanel added this :
demo.mystore.net/ redirects to http://shop.mydomain.net/
And it does exactly that - redirect to shop.mydomain.net.  Not what I want to see.
The .htaccess that was created during the process says this:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^demo\. mydomain \.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.demo\. mydomain \.net$
RewriteRule ^/?$ "http\:\/\/shop\. mydomain \.net\/" [R=301,L]
So what do I change, and where to get the Demo Store to show up?
Please be precise - in where I need to make a change?  And what the change needs to be?
My sense says it's the redirect - but I followed the isntructions as I understood them.  Or perhaps the .htaccess needs some correction or addition. 
Thanks for helping.  I know there are several others out there that need better instructions as I have gotten PMs as to rather I have succeeded.
Lee

 

abantecart:
You do not need to do any redirects in .htaccess
This will cause issues.

I think this was explained earlier in some posts about steps to set up multistore:

1. Point all needed  domains/subdomains DNS to same apache server.
2. Configure Apache virtual host to access same abantecart directory for all domains you configure for multistore.
3. Setup stores in admin of AbanteCart

These are the steps.

llegrand:
Well,  I didn't write anything into the htaccess file.  That was what as added when I set up the multistore.

So do I just remove all those entries in the htaccess file?

Prior to executing the CreateStore action in the master cart -  there were NO files in the demo directory.
the .htaccess file as created and contents were as a result of the CreateStore request within the system.
There were no changes made by me to that file.

I deleted the store.  I double checked that the demo folder had no files.
The redirects are as shown in the attachment.
I executed the Create Store again.

I have exactly the same results.  Including the .htaccess file with the same rewrite.  These are being added and written by the process of CreateStore. 

This is version 1.1.7 and I have not made any changes to the code. 

So do I just remove all those redirects?  If so you've an issue with how CreateStore sets up.

Thanks for hanging in here until there is success.
Lee


llegrand:
Still trying to get this to work.

I deleted the .htaccess file within the demo store (the added store),  which doesn't work as that is written by the system with I put the redirect in.  If I delete that file,  the redirect is removed.

I still have demo store redirecting to the location of the master store.   These are all on the same domain,  both setup as subdomains.  Both have the same DNS settings.

Demo store shows up in the store lists, as it should.

BUT when I use the url.  demo.mydomain.com   it goes to shop.mydomain.com   (which is what the redirect tells it to do per my understanding of the instructions)

I want the Demo store  (multistore)  to show the demo store url.  Is this some function of cURL or something like that?


This should be a must easier process -  Please keep at it here until it is demonstrated to work.

DavidLIR:
Abantecart, I am following this thread in order to set this up as well.

I believe the question that needs classified is step #2
Configure Apache virtual host to access same abantecart directory for all domains you configure for multi store....can you explain step 2 in detail?  I believe this is the point that is the problem.

Thank you,
Great help as always
David

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod