Welcome to WebmasterWorld Guest from 35.172.195.49

Forum Moderators: ocean10000

Message Too Old, No Replies

ISAPI Rewrite issues with ASP

redirecting an asp page with active form elements

     
6:16 pm on Jan 24, 2008 (gmt 0)

New User

10+ Year Member

joined:Jan 24, 2008
posts: 2
votes: 0


One of my clients wants to have his default.aspx page hidden to the world. I can certainly use isapi_rewrite to redirect [thesite.com...] to [thesite.com...] but when I do that I break all the active form elements on the page such as the search box and others.

The reason is that these elements obviously post back to the default.aspx page and if I have the rewrite rule activated then it can't resolve. Any ideas?

10:56 am on Jan 25, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 24, 2005
posts:965
votes: 0


I'd go back to step 1. Why does the client want default.aspx hidden from "the world"?
6:35 pm on Jan 28, 2008 (gmt 0)

New User

10+ Year Member

joined:Jan 24, 2008
posts: 2
votes: 0


I agree that it is strange. I've tried to convince him that he doesn't need to do it but he thinks it is somehow hurting him with SEO. In any case, it's now my job to do what the client wants - any way to get it done? If the answer is "no" then that's fine too - I can just tell him that it can't be done and close the case :)
9:53 pm on Jan 28, 2008 (gmt 0)

New User

10+ Year Member

joined:May 17, 2005
posts:37
votes: 0


Using RewriteCond can you skip the RewriteRule if the request is coming in using the POST method instead of the GET method?

I haven't tried this, but it might work.