Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Make url invisible in browser

Posted on 2014-02-19
4
Medium Priority
?
729 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
3 Comments
 
LVL 34

Assisted Solution

by:Big Monty
Big Monty earned 1000 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 1000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

876 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