Keep the same url

Topics: Developer Forum, Project Management Forum, User Forum
Nov 13, 2009 at 2:46 PM

I'm using aspx pages. For every request i want to keep the same url. For example:   ------------------------>   ------------------------>


what type of code could i use for this?


Nov 13, 2009 at 3:04 PM

I don't understand what you're asking.

If you use the words "Redirect" and "rewrite" then I'll be able to understand better.  Instead of saying "I want to keep the same URL",  tell me what you want in terms of redirect and rewrite.

"I want to rewrite xxxx to yyyy."

"I want to redirect zzzz to mmmmm."


If you want to rewrite listado.aspx and listadoMGS.aspx (and every other URL) to    ( which is really "/" (the empy URL path), then every request into your server will get the same URL, the same content. Is that what you want?

in that case, use this:

RewriteRule   ^/.*$     /   [L]