AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: llegrand on December 17, 2013, 04:06:55 PM

Title: index page setup
Post by: llegrand on December 17, 2013, 04:06:55 PM
In a conversation with another Abantecart user a question arose that exceed my knowledge level to execute  - so all you code mavens how can we do this?

Facts:  abantecart files are all setup under subdirectory /store
Domain redirect is currently set from maindomain.com to maindomain.com/store 
And all works well.

How can one place the index page under the maindomain.com  and leave all the files within /store?

Objective is to have customer type in maindomain.com  and arrive at the Home page of the cart rather than an additional splash page or see the url change to maindomain.com/store.

Thanks
Lee


Title: Re: index page setup
Post by: Basara on December 18, 2013, 01:10:01 AM
In a conversation with another Abantecart user a question arose that exceed my knowledge level to execute  - so all you code mavens how can we do this?

Facts:  abantecart files are all setup under subdirectory /store
Domain redirect is currently set from maindomain.com to maindomain.com/store 
And all works well.

How can one place the index page under the maindomain.com  and leave all the files within /store?

Objective is to have customer type in maindomain.com  and arrive at the Home page of the cart rather than an additional splash page or see the url change to maindomain.com/store.

Thanks
Lee

Hello. You can set up auto redirect from maindomain.com to maindomain.com/store or any other page with .htacess
something like this:
Code: [Select]
RewriteEngine On
Redirect /old-index.html http://www.mynewwebsite.com/foldername/new-index.html
or
Code: [Select]
RewriteEngine On
Redirect / http://www.mynewwebsite.com/foldername/new-index.html