Solved

URL masking using htaccess

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

I have a domain - sennajean.com.au - that redirects to sennajeandesigns.bigcartel.com
The redirection works fine but I would like sennajean.com.au 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

Thanks

Regards
Michael Tiemann
0
Comment
Question by:tiemannitservices
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Lucas Bishop earned 500 total points
Comment Utility
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 sennajean.com.au to point at your Big Cartel store.

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

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 tiemannhostingservices.com -- so wherever you manage that record, is where you'll make the change.

You will want to add in a CNAME record:
Alias: www
Type: CNAME
URL: sennajeandesigns.bigcartel.com

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\.com.au$ [NC]
RewriteRule ^(.*)$ http://www.sennajean.com.au/$1 [R=301,L]

Open in new window


That should just about do it.
0
 

Author Comment

by:tiemannitservices
Comment Utility
Hi Lucas

Thanks for the info. That has helped
I have done that and now www.sennajean.com.au and sennajean.com.au 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 sennajeandesign.bigcartel.com/about or sennajeandesign.bigcartel.com/contact

How can I mask that as well?

Regards
Michael Tiemann
0
 
LVL 16

Expert Comment

by:Lucas Bishop
Comment Utility
Hi Michael,

When I click on the links you mentioned, I see the correct url in the address bar:
http://www.sennajean.com.au/about
http://www.sennajean.com.au/contact

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

-L
0
 

Author Comment

by:tiemannitservices
Comment Utility
Hi Lucas

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

Regards
Michael Tiemann
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

18 Experts available now in Live!

Get 1:1 Help Now