Question: I'm trying to match only the `/blog?page=1` (only with `page=1`) and I have written the regex for it that is `/blog\?page=1` 

but it is also matching with `/blog?page=11`. Is this possible only to match it with `/blog\?page=1` ?

Answer: 
In the below lines of code:

```
var returnURL="";
using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
{
    httpStatusCode = httpWebResponse.StatusCode;
     if (httpStatusCode == HttpStatusCode.Found)
     {
        returnURL= httpWebResponse.Headers["Location"].ToString();
     }
}

Response.Redirect(returnURL);

```

The `returnURL` variable may be empty if the `httpStatusCode` is not equal to `HttpStatusCode.Found`. You might want to pass a different valid URL for other status codes.
Use 

```
System.Threading.Thread.Sleep(2000);

```

before

```
Response.Redirect(returnURL);

```