Author Topic: index page setup  (Read 2246 times)

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1503
  • Karma: +396/-3
    • View Profile
index page setup
« 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



Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4440
  • Karma: +207/-0
    • View Profile
Re: index page setup
« Reply #1 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
“Chuck Norris is so amazing.”
― Mother Teresa

 

Powered by SMFPacks Social Login Mod