Solved

Make url invisible in browser

Posted on 2014-02-19
4
559 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.

772 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

10 Experts available now in Live!

Get 1:1 Help Now