Solved

Make url invisible in browser

Posted on 2014-02-19
4
586 Views
Last Modified: 2014-04-03
How can a page url be made invisible in browser like follows:

http://mycomany.com/login/

instead of:

http://mycomany.com/login/myform.aspx
0
Comment
Question by:thuhue
4 Comments
 
LVL 32

Assisted Solution

by:Big Monty
Big Monty earned 250 total points
ID: 39870466
You'll want to use a technique called URL Rewriting. This is where the webserver receives a request for a url (complete with query string variables and all) and translates it to a more readable "prettier" url. A lot of sites use this technique for search engine optimization (seo), other sites use it to hide sensitive data from the end user.

The way that it works is you get some kind of module added to your IIS (if you're using IIS7 or above it's already built in), and then you create rules using regular expressions that'll translate the data in the way you want it.

Here's a great article explaining all of the fine details on getting it to work:

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39872311
Try this... make a file that has
HTML
HEAD
<meta HTTP-EQUIV="REFRESH" content="0; url=http://mycomany.com/login/myform.aspx ">
/HEAD
/HTML

Open in new window

in it, and save that file as http://mycomany.com/login/index.html
0
 
LVL 26

Accepted Solution

by:
Alan Warren earned 250 total points
ID: 39963226
Hi thuhue,

It would work if you renamed your page myform.aspx to default.aspx.
You would then be able to navigate to http://mycomany.com/login/ and the default.aspx page would load without actually displaying the page name in the browser nav pane.

Respectfully yours,
Alan
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

920 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

12 Experts available now in Live!

Get 1:1 Help Now