REDIRECT PROBLEMS from old to new domain

cjmall21
Visitor
2 0 1

I'm trying to redirect my old domain cjmall.org to cjmall.store and it doesn't seem to be working. It's registered with namecheap and I don't want to loose the clients that keep coming and the old website is offline. 

Replies 3 (3)

beauxbreaux
Shopify Partner
183 13 32

You will want to contact namecheap to get more information on why it might not be working. We don't know your settings so it is a bit hard for us to figure out what is wrong. In the meantime, if you have access to your code, go to your theme.liquid file and right above the closing </head> tag you can add this:

<script> window.location.href = 'https://cjmall.store' </script>

 

Wait just realized you said the old site is offline. Scratch this message because this is not going to work if the old site is offline. 

Beaux Barker
Developer
beauxbreaux
Shopify Partner
183 13 32

If you don't plan on having that site live it will have to be through NameCheap.

You have probably already followed these instructions but this is their how to page:
https://www.namecheap.com/support/knowledgebase/article.aspx/385/2237/how-to-redirect-a-url-for-a-do...

Remember it does take about 30 minutes for the changes to take effect. The TTL settings control the cache of the site. 

 

Beaux Barker
Developer

cjmall21
Visitor
2 0 1

Thanks guys, one of the support staff helped me out with it. It redirects perfectly.