Solved

How do I mask a url?

Posted on 2013-12-18
4
372 Views
Last Modified: 2013-12-24
We have a few domains that we redirect to our homepage.  When someone enters one of the domains in their browser (ex www.redirect1.com) it redirects to our web page (www.ourwebpage.com) and shows the redirected url as the name of the page.  We would like the redirected urls all show the actual name of the page instead (www.ourwebpage.com).  Is this something I need to do with our domain registrar or is it a coding thing for the web page?

Thanks!
0
Comment
Question by:jmerulla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 39726689
Hi.

If I understand correctly, it sounds like you currently point your different domains to same IP address.  Therefore, the domains mask the fact that you are on the same web site.  Therefore, you need to make a change to the webpages to check if the current URL matches the one you want to display.  If it does not, the site should perform a redirect.  Another way to do this is to configure each domain to its own website.  For the domains you want to redirect, set the redirect option in your web server.

I hope that helps.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39726730
It sounds like you are using godaddy's redirection and masking.  The way that works is it creates an iFrame where the new domain is www.ourwebpage.com that has a frame with www.redirect1.com's content.

If you have a link to www.redirect1.com/page3.html but you always see www.ourwebpage.com, this is the most likely case.

What you need to to instead is redirect the domain on your server with a 301 redirect.  Are you using windows or linux?  Is your hosting with godaddy? or where?
0
 
LVL 2

Author Comment

by:jmerulla
ID: 39727312
Hi,

We have our actual website (www.ourwebpage.com) and have other domains redirect to it via ip address through our domain registrar.  So when you enter www.redirect.com, it goes to the webpage but does not show www.ourwebpage.com in the url it shows www.redirect.com.  Management wants the url that is entered to be the page that shows up after the redirection.  The web page is hosted by HostMySite.com, not GoDaddy if that helps.  Do I need to update info with my domain registrar?  Does the hosting company need to do the fix on the backend?  Does the designed of the page need to update the code?

Thanks!
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39727383
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Allow a tab area under the contents 1 26
Add a little space on either side of a table. 12 25
Mail Exchanger (MX) Record 5 42
allow link tag to be submit like form 14 26
Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 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