Solved

Hide URL in the URL bar (web develop by ASP)

Posted on 2006-07-12
8
664 Views
Last Modified: 2013-11-19
Hi everyone,

The question is, what is the best way to hide url
Ex: 'www.mysite.com/default.asp?a=XX&id=1' so that all the visitor sees is www.mysite.com/shop in the URL bar? .

I develop web by ASP.

It's urgent. Please help me
Thanks
0
Comment
Question by:ndqee
8 Comments
 
LVL 2

Accepted Solution

by:
Fushi earned 63 total points
ID: 17089303
Consider this link:

http://www.computing.net/webdevel/wwwboard/forum/1684.html

It is done using frames

Here is another example with launching a new window:

http://answers.google.com/answers/threadview?id=301249

I think it can also be done on hosting account but you would need to ask your hosting provider

Cheers!
0
 
LVL 15

Expert Comment

by:deepaknet
ID: 17089833
With ASP.NET, you have URLRewriter techniques.
0
 
LVL 3

Assisted Solution

by:esdxr26
esdxr26 earned 62 total points
ID: 17090121
Place this code into the 'shop' folder and name it index.htm

When people type www.mysite.com/shop they will open the page in a hidden frameset.

<head><title>Website Title</title></head>

<frameset rows='100%, *' frameborder="0" framespacing="0" border="0">

<frame src="http://www.mysite.com/default.asp?a=XX&id=1" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>

</frameset>

<noframes>

<h2>Your browser does not support frames.  We recommend upgrading your
browser.</h2><br><br>
<center>Click <a href="http://www.mysite.com/default.asp?a=XX&id=1">here</a> to enter the site.</center>

</noframes></html>
0
 
LVL 25

Expert Comment

by:SStory
ID: 17094361
The only other way I can think of is hidden form fields for your values--instead of query strings.
0
 
LVL 5

Expert Comment

by:vipero
ID: 17106285
I think esdxr26 got it right with the solution. This method, also called "URL cloaking", is widely known and documented on Google. Also check http://www.google.it/search?q=url+cloak 
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
increase words that display in widget 6 74
How to automatically insert items to sell into Ebay.com 2 45
Select only the top record in a left join 13 34
Help with query 3 23
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

813 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

13 Experts available now in Live!

Get 1:1 Help Now