URL masking using htaccess

Posted on 2014-10-01
Last Modified: 2014-10-03
Hi Everyone

I have a domain - - that redirects to
The redirection works fine but I would like to remain in the address bar so clients don't know its a Bigcartel website.

Can someone please tell me what I need to add to the htaccess file to get this masking working


Michael Tiemann
Question by:tiemannitservices
  • 2
  • 2
LVL 16

Accepted Solution

Lucas Bishop earned 500 total points
ID: 40356150
This will require more than htaccess to fully mask your domain over the top of the Big Cartel store.

You'll want to setup a "custom domain" inside of Big Cartel and update the DNS records for to point at your Big Cartel store.

First, inside of your Big Cartel admin:
Go to Store > Settings > Domains, add

Next, you'll need to update some DNS settings.
You'll do this via your registrar or your hosting provider, depending on where you are managing your DNS settings.
It looks like your name server is at -- so wherever you manage that record, is where you'll make the change.

You will want to add in a CNAME record:
Alias: www

Next, you'll want to setup a 301 redirect in the htaccess file to send people from the root domain to www:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^sennajean\$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

Open in new window

That should just about do it.

Author Comment

ID: 40356334
Hi Lucas

Thanks for the info. That has helped
I have done that and now and stay in the address bar when the Bigcartel page shows but as soon as you click on one of the links like About Us or Contact, for example, the address bar reverts to or

How can I mask that as well?

Michael Tiemann
LVL 16

Expert Comment

by:Lucas Bishop
ID: 40358691
Hi Michael,

When I click on the links you mentioned, I see the correct url in the address bar:

I'd try clearing the cache in your browser. Either that or you've already figured it out.


Author Comment

ID: 40358923
Hi Lucas

Thanks for your help.  I have already figured it out. Your comment helped though so I shall give you the acceptance

Michael Tiemann

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now