PhOeNiX07
PhOeNiX07

Reputation: 11

How To Hide The page Names and directories In URL?

I am Developing a site in ASP .NET.. so by running or accessing my site the URL comes by revealing on what directory and name of the page

I've seen some sites by hiding such contents like

(www.website.com/# )

so nothing can be seen

how to implement it in my site???

Thanks in Advance!

Upvotes: 0

Views: 177

Answers (1)

Andreas
Andreas

Reputation: 1081

Websites with urls ending with /# are Single Page Applications. All application code is retrieved by a single page load. Actually, the hash mark ensures that no request is made to the server after the initial. This allows all routing to happen client side. Data is often fetched from web services by making ajax calls.

But implementing this for an existing site can be a very big task. What you are after is simply just routing. you can read about it here

It allows you to tell your webserver, that if a request comes to /cuteanimals, it should look for the page in /pictures/animals/cute/index.aspx

Upvotes: 1

Related Questions