The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Creating index page that will direct to two different sites
discking
post Jan 7 2021, 07:08 AM
Post #1





Group: Members
Posts: 7
Joined: 7-January 21
Member No.: 27,714



I'm trying to create a workaround for an issue with an ecommerce package.

I have an Abantecart store at www.elvisstuff.co.uk The store is located in a sub folder. So I have created an index.html page that redirects to this sub folder whenever a customer uses the www.elvisstuff.co.uk URL.

Abantecart has a feature whereby I can create multiple stores with just one back office. However, despite numerous attempts, I can't get it to work as it should. I have sought help of the Abantecart forums and even got a specialist to look at it and he couldn't help either. (I suspect it might be a hosting issue but can't be sure)

So I'm trying to create a workaround.

The new store uses the URL www.andrewsstuff.co.uk and works perfectly fine as long as the customer prefaces the URL with HTTPS:// However I don't expect all customers will do this. Without the preface the site defaults to the elvisstuff site.

Can I/How do I create one index.html file that will direct customers to one site if they type www.elvisstuff.co.uk and another site if they type www.andrewsstuff.co.uk ?

The code I am currently using to direct to elvisstuff is:


<title>www.elvissstuff.co.uk</title>
<font size="2" face="Arial, Helvetica"><meta
HTTP-EQUIV="REFRESH" content="0;
url=https://www.elvissstuff.co.uk/shop/index.php"></font>

Any help is greatly appreciated.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
discking
post Jan 8 2021, 07:04 AM
Post #2





Group: Members
Posts: 7
Joined: 7-January 21
Member No.: 27,714



I've managed to achieve what I wanted to do without using html. Thank you, pandy for your input. Your help is appreciated.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 08:55 AM